Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to move netbsd to another drive?



>>> man dd
>> That doesn't always work.  I got an unmountable, unreadable file system
>> when$

Assuming the new filesystem is formatted and mountable and you just want
to migrate, why not use pax as described in the RAID guide:

16.3.7. Migrating System to RAID[s/RAID/new file system/]

# mount /dev/raid0a /mnt
# df -h /mnt
Filesystem        Size       Used      Avail %Cap Mounted on
/dev/raid0a       8.9G       2.0K       8.5G   0% /mnt
# cd /; pax -v -X -rw -pe . /mnt
[NOTE - does not cross mount points - need to repeat in each mount directory]
[...snip...]
The NetBSD install now exists on the RAID filesystem.




Home | Main Index | Thread Index | Old Index