[rescue] OS for ZFS?
Scott Newell
newell+rescue at n5tnl.com
Wed Apr 3 19:34:41 CDT 2013
At 09:20 PM 3/31/2013, Cory Smelosky wrote:
>On 31 Mar 2013, at 21:35, Scott Newell wrote:
>>Googling around a bit, I wonder...maybe I could set up a small ufs
>>boot partition and have the root filesystem zfs?
>
>You might be able to with a bit of a hack. You would need to modify
>initscripts I think and then jump to the secondary rootfs.
Almost there! I followed the recipe from
<http://forums.freebsd.org/showthread.php?t=27728>http://forums.freebsd.org/showthread.php?t=27728
Which seems to work, mostly. But when I try and boot the zfs root
disk, it traps once, then boots the disk! (It boots the first time
with a standard non-zfs installation on my other drive.)
Here's the mount:
zroot on / (zfs, local, nfsv4acls)
devfs on /dev (devfs, local, multilabel)
zroot/data on /data (zfs, local, nfsv4acls)
zroot/tmp on /tmp (zfs, local, nfsv4acls)
zroot/usr on /usr (zfs, local, nfsv4acls)
zroot/var on /var (zfs, local, nfsv4acls)
And the boot:
Rebooting with command: boot disk1
Boot device: /pci at 1f,4000/scsi at 3/disk at 1,0 File and args:
Trap 3e
{0} ok boot disk1
Boot device: /pci at 1f,4000/scsi at 3/disk at 1,0 File and args:
>> FreeBSD/sparc64 boot block
Boot path: /pci at 1f,4000/scsi at 3/disk at 1,0:a
Boot loader: /boot/loader
Consoles: Open Firmware console
Booting with sun4u support.
FreeBSD/sparc64 bootstrap loader, Revision 1.0
(root at araz.cse.buffalo.edu, Mon Apr 9 23:14:08 UTC 2012)
bootpath="/pci at 1f,4000/scsi at 3/disk at 1,0:a"
Loading /boot/defaults/loader.conf
/boot/kernel/kernel data=0xa0b248+0x6e830 syms=[0x8+0xadc40+0x8+0xa05cc]
/boot/kernel/zfs.ko text=0x20ba50 data=0x5808+0x16eb0
syms=[0x8+0x168a8+0x8+0x11384]
Now the battery is dead in this box, so maybe that's part of the
problem. I'll move the disks, cpus, and ram over to a known good box
next week.
Thanks for all the advice!
--
newell N5TNL
More information about the rescue
mailing list