1827767 Members
2752 Online
109969 Solutions
New Discussion

Tape Cartidge

 
aique
Frequent Advisor

Tape Cartidge

Hi, can anybody tell me that how can i see the contents of a tape cartidge in Tru64 unix?
2 REPLIES 2
Michael Schulte zur Sur
Honored Contributor

Re: Tape Cartidge

Hi,

that depends on the way, it has been written on.
vrestore -tv for tapes written with vdump
tar tv for tapes written with tar
A general way would be
dd if="tapedevice" count=100
This shows what is on tape regardless of format but does not show, if the format is consistent.

greetings,

Michael
Ivan Ferreira
Honored Contributor

Re: Tape Cartidge

As Michael said, it depends of the command used to save the data, vdump, tar, cpio, dd, etc. Normally, vdump or tar will be used. Also, depends of the operating system version, check your version with the following command:

sizer -v

If you version is 4, the tape device should be:

/dev/rmt0h

If the version is 5, the tape device should be

/dev/tape/tape0c

If version 5, you can verify the tape device name using:

hwmgr v d
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?