I'm running DU 4.0E and am noticing some weird things with vdump and/or
vrestore.
The following was tested on
AdvFS dump/AdvFS restore
UFS dump/UFS restore
AdvFS dump/UFS restore
UFS dump/AdvFS restore
The dump was created as follows. Note the same inode on ./backuptest/two/filelink and ./backuptest/one/file.
bash-2.01# find . -ls
4350 8 drwxr-xr-x 3 root system 8192 Oct 29 14:38 .
4294 8 drwxr-xr-x 4 root system 8192 Oct 29 12:39 ./backuptest
4323 8 drwxr-xr-x 2 root system 8192 Oct 29 12:39 ./backuptest/one
4304 1 -rw-r--r-- 2 root system 7 Oct 29 12:39 ./backuptest/one/file
4284 8 drwxr-xr-x 2 root system 8192 Oct 29 12:39 ./backuptest/two
4304 1 -rw-r--r-- 2 root system 7 Oct 29 12:39 ./backuptest/two/filelink
bash-2.01# /sbin/vdump -f dumped -D backuptest/
bash-2.01# mkdir restoretest
bash-2.01# cd restoretest/
---------problem #1
bash-2.01# /sbin/vrestore -i -f ../dumped
(/) add two
(/) extract
vrestore: error creating link ./two/filelink --> ./one/file; [2] No such file or directory
---------problem #2
(/) add two/filelink
(/) extract
bash-2.01# find . -ls
4376 8 drwxr-xr-x 4 root system 8192 Oct 29 14:43 .
4377 8 drwxr-xr-x 2 root system 8192 Oct 29 14:43 ./two
4374 8 drwxr-xr-x 2 root system 8192 Oct 29 14:43 ./one
4375 1 -rw-r--r-- 1 root system 7 Oct 29 12:39 ./one/file
Ricardo Muggli
Received on Fri Oct 29 1999 - 20:35:40 NZDT