From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078654411031.tru64-unix-managers.marc@archive.invalid> From: dthun () dwp ! ci ! la ! ca ! us Date: Fri, 23 Jan 1998 21:52:30 +0000 To: tru64-unix-managers Subject: Basicl Vdump/Vrestore question X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078654411031 Greetings Unix Guru's This is kinda verbose, sorry but figured better safe than sorry. I'm playing with vdump/vrestore and created the following in my root directory. root (dir)testvdump (subdir)subtest1 (file) test1file (subdir)subtest2 (file)test2file (subdir)subtest3 (file)test3file I thought I would test vrestore of entire tree from testvdump down, to my suprize testvdump is not available but everything under it appears to be?? Here is what I did: from root directory I dumped testvdump. Then I tried to restore testvdump and can't find it on the dump tape. All the ouputs and commands follow: btw I'm running Dec Unix v4.0b patch level (none) on an 8200, tape drives are TZ88's. ---------------------------------------------------------------- Tape status prior to dump ---------------------------------------------------------------- DEVIOGET ELEMENT CONTENTS ---------------- -------- category DEV_TAPE bus DEV_SCSI interface SCSI device TZ88 adpt_num 0 nexus_num 0 bus_num 7 ctlr_num 7 slave_num 83 dev_name tz unit_num 83 soft_count 0 hard_count 0 stat 1 DEV_BOM category_stat 1000000 DEV_81630_BPI DEVGETINFO ELEMENT CONTENTS ------------------ -------- media_status 0x1 BOM unit_status 0x1a1 Ready 2_FM_Close Rewind Compacting Buffered record_size 0 density (current) 81630 BPI density (on write) 0 BPI Filemark Cnt Record Cnt Class 1 - DLT (tk) MTIOCGET ELEMENT CONTENTS ---------------- -------- mt_type MT_ISSCSI mt_dsreg 0 mt_erreg 0 mt_resid 0 ---------------------------------------------------------------- Output from vdump command /sbin/vdump -Couvf /dev/rmt1h -D/testvdump ---------------------------------------------------------------- path : /testvdump dev/fset : /dev/rz18a type : ufs vdump: Date of last level 0 dump: the start of the epoch vdump: Dumping directories vdump: Dumping 63 bytes, 4 directories, 3 files vdump: Dumping regular files bd ./ bd ./subtest1/ bf ./subtest1/test1file, 21 bd ./subtest2/ bf ./subtest2/test2file, 21 bd ./subtest3/ bf ./subtest3/test3file, 21 vdump: Rewinding and unloading tape vdump: Status at Fri Jan 23 12:17:44 1998 vdump: Dumped 63 of 63 bytes; 100.0% completed vdump: Dumped 4 of 4 directories; 100.0% completed vdump: Dumped 3 of 3 files; 100.0% completed vdump: Dump completed at Fri Jan 23 12:17:44 1998 ---------------------------------------------------------------- vdumpdates file contents ---------------------------------------------------------------- /etc/vdumpdates /dev/rz18a 0 Fri Jan 23 12:17:19 1998 ---------------------------------------------------------------- error from vrestore cmd /sbin/vrestore -f /dev/rmt1h -x /testvdump ---------------------------------------------------------------- file not found; will not extract it vrestore: file extraction list is invalid vrestore: Date of the vdump save-set: Fri Jan 23 12:17:19 1998 vrestore: nothing will be restored ---------------------------------------------------------------- Output from vrestore list command /sbin/vrestore -lf /dev/rmt1h ---------------------------------------------------------------- vrestore: Date of the vdump save-set: Fri Jan 23 12:17:19 1998 BLOCK HEADER block size : 61440 flags : volume set : 1 volume sets: 1 volume num : 0 block num : 1 header CRC : 0x372c block CRC : 0x0000 xor blocks : 0 xor blk num: 0 id : Fri Jan 23 12:17:24 1998 version : 4.0 BLOCK HEADER block size : 61440 flags : volume set : 1 volume sets: 1 volume num : 0 block num : 2 header CRC : 0xdc2b block CRC : 0x0000 xor blocks : 0 xor blk num: 0 id : Fri Jan 23 12:17:24 1998 version : 4.0 RECORD HEADER (directory header) record type : 3 data offset : 0 record size : 90 flags : -- dir name : ./ dir inode : 17274 dir mode : 040755 dir owner : 0 dir group : 31 parent ino: 17274 RECORD HEADER (directory data) record type : 4 data offset : 0 record size : 216 flags : RECORD HEADER (directory header) record type : 3 data offset : 0 record size : 97 flags : -- dir name : subtest1/ dir inode : 17275 dir mode : 040755 dir owner : 0 dir group : 31 parent ino: 17274 RECORD HEADER (directory data) record type : 4 data offset : 0 record size : 128 flags : RECORD HEADER (directory header) record type : 3 data offset : 0 record size : 97 flags : -- dir name : subtest2/ dir inode : 17276 dir mode : 040755 dir owner : 0 dir group : 31 parent ino: 17274 RECORD HEADER (directory data) record type : 4 data offset : 0 record size : 128 flags : RECORD HEADER (directory header) record type : 3 data offset : 0 record size : 97 flags : -- dir name : subtest3/ dir inode : 17279 dir mode : 040755 dir owner : 0 dir group : 31 parent ino: 17274 RECORD HEADER (directory data) record type : 4 data offset : 0 record size : 128 flags : RECORD HEADER (filler) record type : 2 data offset : 0 record size : 60059 flags : BLOCK HEADER block size : 61440 flags : volume set : 1 volume sets: 1 volume num : 0 block num : 3 header CRC : 0xa077 block CRC : 0x0000 xor blocks : 0 xor blk num: 0 id : Fri Jan 23 12:17:24 1998 version : 4.0 RECORD HEADER (directory attributes) record type : 5 data offset : 0 record size : 90 flags : -- dir name : ./ dir inode : 17274 dir mode : 040755 dir owner : 0 dir group : 31 parent ino: 17274 RECORD HEADER (directory attributes) record type : 5 data offset : 0 record size : 97 flags : -- dir name : subtest1/ dir inode : 17275 dir mode : 040755 dir owner : 0 dir group : 31 parent ino: 17274 RECORD HEADER (file attributes) record type : 7 data offset : 0 record size : 98 flags : -- file name : test1file file inode: 17277 file mode : 0100644 file owner: 0 file group: 31 file links: 1 file size : 21 parent ino: 17275 RECORD HEADER (directory attributes) record type : 5 data offset : 0 record size : 97 flags : -- dir name : subtest2/ dir inode : 17276 dir mode : 040755 dir owner : 0 dir group : 31 parent ino: 17274 RECORD HEADER (file attributes) record type : 7 data offset : 0 record size : 98 flags : -- file name : test2file file inode: 17278 file mode : 0100644 file owner: 0 file group: 31 file links: 1 file size : 21 parent ino: 17276 RECORD HEADER (directory attributes) record type : 5 data offset : 0 record size : 97 flags : -- dir name : subtest3/ dir inode : 17279 dir mode : 040755 dir owner : 0 dir group : 31 parent ino: 17274 RECORD HEADER (file attributes) record type : 7 data offset : 0 record size : 98 flags : -- file name : test3file file inode: 17280 file mode : 0100644 file owner: 0 file group: 31 file links: 1 file size : 21 parent ino: 17279 RECORD HEADER (end of save-set) record type : 1 data offset : 0 record size : 0 flags : --------------------------------------------------------------------------- ----------------------- Restored /subtest3 worked fine with /sbin/vrestore -f /dev/rmt1h -x /subtest3 --------------------------------------------------------------------------- ----------------------