dump doesn't work on mdconfig mounts

Eric Anderson anderson at freebsd.org
Tue May 8 11:14:53 UTC 2007


On 05/08/07 05:54, Miroslav Lachman wrote:
> 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


Is /vol0/jail/alpha in your /etc/fstab?



> # 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
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"



More information about the freebsd-fs mailing list