On Sun, May 31, 2009 at 4:29 PM, dick hoogendijk <[email protected]> wrote:
> "Fajar A. Nugraha" <[email protected]> wrote:
>> Isn't "beadm rename" today simply a "zfs rename" and edit to
>> grub.conf?
>
> Dont know. I want my BE to be OK afterwards. That's all ;-)

It's reliable, last time I check, both "beadm" way and "zfs rename" way :)
The only catch seems to be that the BE you're going to rename can't be
the active BE (current or on the next reboot). If it's the active BE,
a simple "beadm activate" (and possibly reboot) to another BE is
enough. You don't even have to edit /etc/vfstab.

If I remember correctly early versions of zfs boot needs
/etc/zfs/zpool.cache to be on boot archive, and the zfs name on
/etc/vfstab. Those might be what gave you problem when they're
mismatched with the current setup. Current code determines zfs name
from the zpool property or grub (on x86) argument "bootfs", so it
shouldn't be a problem.

This is simply my observations though, not an authoritative answer.

-- 
Fajar
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to