# df -e /dev/da0s1a 496M 414M 42M 91% / devfs 1.0K 1.0K 0B 100% /dev /dev/da0s1g 265G 26G 218G 11% /data /dev/da0s1e 496M 19M 437M 4% /tmp /dev/da0s1f 15G 3.5G 11G 25% /usr /dev/da0s1d 2.9G 52M 2.6G 2% /varsync content
# rsync -axHe 'ssh -p2222' 192.168.6.3:/usr /data/ # rsync -axHe 'ssh -p2222' 192.168.6.3:/usr /data/ # rsync -axHe 'ssh -p2222' 192.168.6.3:/var /data/ # rsync -axHe 'ssh -p2222' 192.168.6.3:/tmp /data/Tell the box to boot from alt partition...
# cat > /boot.config 0:da(0,g)/boot/loader -P
For good luck, fsck your /data partition before reboot:
# umount /data # fsck -y /data # reboot
# newfs /dev/da0s1a # newfs -U /dev/da0s1e # newfs -U /dev/da0s1f # newfs -U /dev/da0s1d # mount /mnt # mkdir /mnt/tmp # mkdir /mnt/var # mkdir /mnt/usr # mount /mnt/tmp # mount /mnt/var # mount /mnt/usr # df -h Filesystem Size Used Avail Capacity Mounted on /dev/da0s1g 265G 27G 218G 11% / devfs 1.0K 1.0K 0B 100% /dev /dev/da0s1a 496M 10K 456M 0% /mnt /dev/da0s1e 496M 4.0K 456M 0% /mnt/tmp /dev/da0s1d 2.9G 4.0K 2.7G 0% /mnt/var /dev/da0s1f 15G 4.0K 14G 0% /mnt/usr # rsync -axH --exclude='/mnt/' --exclude='/.snap/' / /mntAll you have left to do is fixup your /etc/fstab and reboot!