Operating System - HP-UX
1844977 Members
1788 Online
110233 Solutions
New Discussion

Re: Problem with restore command

 
Javier Juarez
Frequent Advisor

Problem with restore command

Hi!
I need restore 3 tapes making on a Digital Server (DG/UX) I think that was made with the dump command, So, when I use the restore command to recover their content, I got the next message:
# restore r
Tape block size (512) is not a multiple of dump block size (1024)
#
Any tip??

Thanks.
2 REPLIES 2
Rodney Hills
Honored Contributor

Re: Problem with restore command

The -b option specifies the block size.

Do a "man restore" for more detail.

Rod Hills
There be dragons...
Javier Juarez
Frequent Advisor

Re: Problem with restore command

Hi Rod!
- which integer sould I use with b argument?
- I tried with some, but I got the same message.
- I am using a HP-UX server to restore the tapes
- any key or argument seems works!!
- I can read and restore the first tape (1/3)with the cpio -itv < /dev/rmt/0m , there is a single file named level.backup_13702 which content is :
# more /tmp/level.backup_10372

dump2 -0 -u -i
-M video
-f /dev/rmt/0n

# system kbytes used avail capacity mounted on
/dev/dsk/root 1024000 728967 196426 79% /
/dev/dsk/disco4 6000000 3972051 1450077 73% /disco4
/dev/dsk/disco4-2p 12290996 5923165 5183998 53% /disco4-2p
/dev/dsk/gers 5139661 4270160 848662 83% /gers
/dev/dsk/dev_dbs 409600 310308 99292 76% /gers/dev/dbs
/dev/dsk/usr 266240 158360 82778 66% /usr
/dev/dsk/usr_opt_X11 15000 3218 10340 24% /usr/opt/X11
/dev/dsk/usr_opt_sdk 50600 23612 22297 51% /usr/opt/sdk

Help me please!!