Operating System - HP-UX
1848594 Members
6511 Online
104033 Solutions
New Discussion

Re: Reviewing make_recovery log and tape contents

 
Manuales
Super Advisor

Reviewing make_recovery log and tape contents

Hi !!
could you tell me what is the meanning of bocksize in next output and what is "directory checksum error"

root@hostname # tar tvf /dev/rmt/0mn
Tar: blocksize = 4
directory checksum error

how do i know how i must redirect the device in tar commnad? /dev/rmt/0m?? /dev/rmt/0mn?

how can i know what is device file to tape?

sometimes i can read the tape but anothers not
what could be?

thanks, Manuales.
2 REPLIES 2
Pete Randall
Outstanding Contributor

Re: Reviewing make_recovery log and tape contents

You need to skip over the boot header file before you can list the contents of the tape:

mt -t /dev/rmt/0m rew
mt -t /dev/rmt/0mn fsf 1
tar -tvf /dev/rmt/0mn


Pete

Pete
Tonya Underwood
Regular Advisor

Re: Reviewing make_recovery log and tape contents

root@hostname # tar tvf /dev/rmt/0mn
Tar: blocksize = 4
directory checksum error

This could be a bad tape or it could be that this tape was used in a non-HP server... wrong blocksize.

If you
# tar -cvf /dev/rmt/0m /sbin
and then
# tar -tvf /dev/rmt/0m

Does it work?

If not, use a different tape. If it does, it was a blocksize issue.