USB removable drive as dump device?
mike at ascendency.net
Tue Jan 17 19:00:02 PST 2006
I'm trying to use a USB removable drive as a dump device.
The device is recognized and working corectly:
Jan 17 18:12:55 eisenhower kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Jan 17 18:12:55 eisenhower kernel: da0: <Maxtor 6Y160P0 YAR4> Fixed Direct
Access SCSI-2 device
Jan 17 18:12:55 eisenhower kernel: da0: 40.000MB/s transfers
Jan 17 18:12:55 eisenhower kernel: da0: 156334MB (320173056 512 byte
sectors: 255H 63S/T 19929C)
These are the commands I used to create the device:
# dd if=/dev/zero of=/dev/da0 bs=1k count=1
# bsdlabel -Bw da0 auto
# bsdlabel -e da0
# newfs -d0 /dev/da0a
# mkdir -p /backup
# vi /etc/fstab # added an entry for /dev/da0a
# mount /backup
The device mounts correctly and I can write to /backup without problems.
The issue is when I try to dump to the device:
# dump 0uafL /dev/da0 /
DUMP: Date of this level 0 dump: Tue Jan 17 19:04:22 2006
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping snapshot of /dev/ar0s1a (/) to /dev/da0
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 79952 tape blocks.
DUMP: Cannot open output "/dev/da0".
DUMP: Do you want to retry the open?: ("yes" or "no") no
DUMP: The ENTIRE dump is aborted.
The same thing happens with:
# dump 0uafL /backup /
Email: mike at ascendency.net
PGP Key: 0xD1B9D18E
More information about the freebsd-questions