1753822 Members
8927 Online
108805 Solutions
New Discussion юеВ

tar

 
Asim_5
Frequent Advisor

tar

Hi

I am going to take a backup on true64 Unix and i have one TLZ06 with the system. how i come to know the device name configured by the operating system.
secondly when i give command
#tar tvf /devices/tape/tape2

get this message

tar : [offset 0]: No space left on device.

so is this device name is correct

/devices/tape/tape2

Regards
3 REPLIES 3
Mobeen_1
Esteemed Contributor

Re: tar

You can check the device name using lsdev command and the error message is saying that there is not enough space left on your tape2. Make sure that the tape is rewinded and is not write-protect

regards
Mobeen
Michael Schulte zur Sur
Honored Contributor

Re: tar

Hi,

check with
hwmgr -show scsi
that the device is ok
It looks to me, that the tape is bad.
Are you sure, that this is a TLZ06?
That would make it quite old.

greetings,

Michael
Shaikh Imran
Honored Contributor

Re: tar

Hi,
Try any one of these:
1) Device name Device Special
tape0c /dev/tape/tape0c File

Description:Default density rewind tape
(with compression)


2) tape0_d0 /dev/ntape/tape0_d0

Description:
Nonrewind tape device 0.
The _d0 suffix specifies
the density

3)
tar cvf /dev/tape/tape0_d0

where /dev/tape/tape0_d0 = default Tape Device
Device names are located in the /dev directory under /tape, /ntape, directories.

Regards
I'll sleep when i am dead.