1833729 Members
2664 Online
110063 Solutions
New Discussion

TAR BACKUP ERROR 28

 
SOLVED
Go to solution
Raul Andrade_1
Frequent Advisor

TAR BACKUP ERROR 28

HI EVERYBODY IM TRYING A BACKUP
uioco1 10/11/05-07:48:23 Empieza backup OnLine Please enter the level of archive to be performed (0, 1, or 2) 0
Please mount tape 1 on /dev/rmt/1m and press Return to continue ...
10 percent done.
20 percent done.
Archive failed - function write to tape failed code -1 errno 28

Program over.
uioco1 10/11/05-10:08:29 Termina backup OnLine
uioco1 Tue Oct 11 10:08:29 SAT 2005: Bkp_online had finished
uioco1 Tue Oct 11 10:08:36 SAT 2005: Bkp_online had finished
uioco1 Tue Oct 11 10:08:42 SAT 2005: Bkp_online had finished
uioco1 Tue Oct 11 10:08:48 SAT 2005: Bkp_online had finished
uioco1 Tue Oct 11 10:08:54 SAT 2005: Bkp_online had finished
uioco1 Tue Oct 11 10:09:00 SAT 2005: Bkp_online had finished
uioco1 Tue Oct 11 10:09:06 SAT 2005: Bkp_online had finished
uioco1 Tue Oct 11 10:09:12 SAT 2005: Bkp_online had finished
uioco1 Tue Oct 11 10:09:18 SAT 2005: Bkp_online had finished
uioco1 Tue Oct 11 10:09:25 SAT 2005: Bkp_online had finished

4 REPLIES 4
James R. Ferguson
Acclaimed Contributor
Solution

Re: TAR BACKUP ERROR 28

Raul:

Errno #28 is 'ENOSPC' --- No space left on device.

Well-behanved code will report 'errno' with the numeric value or the corresponding mnemonic name.

See '/usr/include/sys/errno.h' for a complete listing.

Regards!

...JRF...
Raul Andrade_1
Frequent Advisor

Re: TAR BACKUP ERROR 28

thanks james
How see the size in a folder or the left size ?
Steve Lewis
Honored Contributor

Re: TAR BACKUP ERROR 28

That output shows all the signs of being an Informix Online backup (ontape or previously called tbtape). It is not tar but IBM Infomix proprietary format. The errno is as JRF indicated.

That being the case you need to change the parameter TAPESIZE in your $ONCONFIG (if my memory serves me it was called tbconfig.xxxx in v5) to make the TAPESIZE smaller.

In older versions you had to guess how much data you could fit onto a tape - including hardware compression, which could vary depending on the type of data in your database.

Now in Informix version 9.40 and 10.00 you can set TAPESIZE to 0 and it will fit in as much as it can to fill the tape up before asking for a second tape.

My guess is that people previously had kept increasing the tape size, until it got too big.

If you want your backup to fit onto just one tape then you need a bigger tape drive, or consider other options altogether.


Raul Andrade_1
Frequent Advisor

Re: TAR BACKUP ERROR 28

thanks to all.
Previously it was installed a DDS3 and now a DDS2 tape. There is configured any parameter in informix to work with 2 tapes??.