Hi,

I'm rather new to FreeBSD and I'm having trouble with ZFS and gmirror. I've used this guide to install FreeBSD 7 on ZFS:
http://www.ish.com.au/solutions/articles/freebsdzfs
This goes flawless, however, the /bootdir is still just /dev/ad01sa (in my case), so if that disk breaks, I still can't boot from ad1. So I thought I could just make a gmirror containing /dev/ad0s1a and ad1s1a and use that for /bootdir. This however does not work.
What I did is:
- gmirror load
- gmirror label -v -b round-robin gm0 /dev/ad1s1a
- newfs /dev/mirror/gm0
- mount /dev/mirror/gm0 /mnt/tmp
- dump -L -0 -f- /bootdir | (cd /mnt/tmp && restore -r -v -f-)
- edit /etc/fstab and /mnt/root/etc/fstab: change all references to ad0s1a by /dev/mirror/gm0
- echo 'geom_mirror_load="YES"' >> /boot/loader.conf
- echo 'geom_mirror_load="YES"' >> /mnt/tmp/boot/loader.conf
- reboot
However: I can see the bootprocess starting first ZFS followed by a message saying it's waiting for GEOM gmirror to start, which it does after a little while and then I get a prompt where I can manually tell the system where the root filesystem is. And if I tell it zfs:system/ root it does not work (my zpool is named system). Anyone know what I'm doing wrong and what's the best way to do this? Thanks in advance!


PS: please CC me in any reply, as I'm not subscribed to this list. Thanks!

Regards,
--
Guus Houtzager                            Email: [EMAIL PROTECTED]
          ++?????++ Out of Cheese error. Redo from start.
               -- Terry Pratchett, Interesting Times



_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to