Hi all,
I am running 4.3 on an ALIX board, with filesystems laid out as
Filesystem Size Used Avail Capacity Mounted on
/dev/wd0a 120M 49.1M 64.5M 43% /
/dev/sd0a 3.9G 3.1G 623M 84% /usr
/dev/sd0d 1005M 28.0K 955M 0% /tmp
/dev/sd0e 126M 81.6M 37.8M 68% /var
/dev/sd0f 126M 14.1M 105M 12% /var/log
/dev/sd0g 251M 5.5M 233M 2% /var/mail
/dev/sd0h 251M 119M 119M 50% /var/mysql
/dev/sd0i 9.8G 4.3G 5.1G 46% /var/www
/dev/sd0j 19.7G 16.5G 2.2G 88% /home
/dev/sd0k 37.9G 21.1G 14.9G 59% /backup
The wd0 is a CF card, holding the root filesystem.
The sd0 is a USB disk, holding everything else.
Now I got me a bigger disk, and I want to transfer everything
that sd0 holds to this new disk, leaving wd0 as the root.
(The reason I don't simply transfer only /home to the new disk
is that the disk is powered via USB, and having two such disks
in this ALIX board requires external power, which I want to avoid.
One disk is fine.)
What I did is reboot into single with the both disks plugged in,
the new one recognized as sd1; fdisk and disklabel on sd1, replicating
what sd0 has, except for bigger /home; then dump all filesystems into
/backup as
-rw------- 1 root wheel 17684930560 Jun 21 23:19 dump.home
-rw------- 1 root wheel 52029440 Jun 21 21:11 dump.root
-rw------- 1 root wheel 91412480 Jun 21 21:12 dump.var
-rw------- 1 root wheel 14581760 Jun 21 21:12 dump.var.log
-rw------- 1 root wheel 5806080 Jun 21 21:12 dump.var.mail
-rw------- 1 root wheel 124487680 Jun 21 21:13 dump.var.mysql
-rw------- 1 root wheel 4570511360 Jun 21 21:38 dump.var.www
and then the obligatory newfs on /dev/sd1X, cd into it, and restore.
Everything went fine.
Then I rebooted with only the new disk plugged in, which gets
recognized fine as sd0 (now), the system boots ok, and I get
log in.
BUT every command now gives
floating point exception (core dumped)
Any ideas? Is there something else I need to do?
Please note that the system does not boot from
the new disk.
Thanks
Jan