Hello,

I ran into the following issue when configuring a system with ZFS for root.
The restriction is that it can only be either a single disk or a mirror pool for root.
Trying to set bootfs on a zpool that does not satisfy the above criteria fails, so this is good.

However when adding a mirror set to the zpool like zpool add  rootpool mirror disk3 disk 4 is not blocked.
Once this command is executed you are toast as you cannot remove the extra mirror.
Executing zpool set bootfs now fails.

If this is general zfs behavior , would it not be better for zpool to check if bootfs is set and refuse any zpool add command that compromises the boot restrictions of the pool bootfs is set for.

-- 
Regards Peter Brouwer,
Sun Microsystems Linlithgow
Principal Storage Architect, ABCP DRII Consultant
Office:    +44 (0) 1506 672767
Mobile:    +44 (0) 7720 598226
Skype :    flyingdutchman_,flyingdutchman_l


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to