NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
vndcompress and wedges
Hello.
I’m trying to make a copy of a disk I have before I newfs it to start from a clean slate.
The machine in question boots (but has an issue w /lost+found that fsck cannot fix). The 1tb ssd is setup w 3 wedges: 1st for efi, 2nd for NetBSD/ffs, 3rd for swap.
I boot w a NetBSD 9 install iso (USB key), and I can mount the internal disk /dev/dk1 and see the familiar contents. I have an external USB disk that I’m using to store an image to.
With the dk1 unmounted, I ran:
# </dev/rdk1 progress -l 939413388k vndcompress -c -k 256 -l 939413388k /dev/stdin /mnt/home/bch/myimg.imz
...which ran (for a long time) apparently without error.
I associate the img w and vnd device:
# vndconfig -z vnd0 /mnt/home/bch/myimg.imz
Then try mounting (vnd0a or vnd0d) and get “incorrect superblock” errors. What am I doing incorrectly? disklabel reports ‘a’ as fstype 4.2BSD and ‘d’ as unused, which is similar to what I read here:
Help?
Home |
Main Index |
Thread Index |
Old Index