Re: How to move netbsd to another drive?
[email protected] Fri, 15 May 2020 13:56:29 -0000
| Newsgroups | gmane.os.netbsd.ports.x86-64,gmane.os.netbsd.ports.i386 |
|---|---|
| Message-ID | <[email protected]> |
>>> 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.