dump doesn't work on mdconfig mounts

Miroslav Lachman 000.fbsd at quip.cz
Tue May 8 11:11:55 UTC 2007


Hi,

when dump is used on an mdconfig mount it doesn't work:

# dump -0aLf - /vol0/jail/alpha | ( cd /vol0/jail/beta ; restore -ruf - )
   DUMP: WARNING: Cannot use -L on an unmounted filesystem.
dump: /vol0/jail/alpha: unknown file system
Tape is not a dump tape


# mount | grep alpha
/dev/md0c on /vol0/jail/alpha (ufs, local, soft-updates)
devfs on /vol0/jail/alpha/dev (devfs, local)

# df -h | grep alpha
/dev/md0c      9.7G    381M    8.5G     4%    /vol0/jail/alpha
devfs          1.0K    1.0K      0B   100%    /vol0/jail/alpha/dev


If I test it with /dev/md0c instead of /vol0/jail/alpha, it works fine.


# dump -0aLf - /dev/md0c | ( cd /vol0/jail/beta; restore -ruf - )
   DUMP: Date of this level 0 dump: Tue May  8 11:13:13 2007
   DUMP: Date of last level 0 dump: the epoch
   DUMP: Dumping snapshot of /dev/md0c to standard output
   DUMP: mapping (Pass I) [regular files]
   DUMP: mapping (Pass II) [directories]
   DUMP: estimated 445288 tape blocks.
   DUMP: dumping (Pass III) [directories]
   DUMP: dumping (Pass IV) [regular files]
expected next file 47281, got 7
   DUMP: 34.19% done, finished in 0:09 at Tue May  8 11:27:54 2007
   DUMP: DUMP: 468312 tape blocks
   DUMP: finished in 410 seconds, throughput 1142 KBytes/sec
   DUMP: DUMP IS DONE

(very slow but it works)

Is it expected, that dump says "unknown file system" or is it a bug? Is 
there any PR for it?

FreeBSD 6.2-RELEASE-p4

Miroslav Lachman


More information about the freebsd-fs mailing list