This seems like a bit of a restriction ... is this intended ? # cat /etc/release Solaris Express Community Edition snv_125 SPARC Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 05 October 2009 # uname -a SunOS neptune 5.11 snv_125 sun4u sparc SUNW,Sun-Fire-880 # zpool status pool: neptune_rpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM neptune_rpool ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 c1t0d0s0 ONLINE 0 0 0 c1t3d0s0 ONLINE 0 0 0 errors: No known data errors Now I want to add two more mirrors to that pool because the V880 has more drives to offer, that are not used at the moment. So I''d like to add in a mirror of c1t1d0 and c1t4d0 : # zpool add -f neptune_rpool c1t1d0 cannot label ''c1t1d0'': EFI labeled devices are not supported on root pools. OKay .. I can live with that. # prtvtoc -h /dev/rdsk/c1t0d0s0 | fmthard -s - /dev/rdsk/c1t1d0s0 fmthard: New volume table of contents now in place. # prtvtoc -h /dev/rdsk/c1t0d0s0 | fmthard -s - /dev/rdsk/c1t4d0s0 fmthard: New volume table of contents now in place. # zpool add -f neptune_rpool c1t1d0s0 cannot add to ''neptune_rpool'': root pool can not have multiple vdevs or separate logs So essentially there is no way to grow that zpool. Is this the case? -- Dennis
Fajar A. Nugraha
2009-Oct-27 09:47 UTC
[zfs-discuss] root pool can not have multiple vdevs ?
On Tue, Oct 27, 2009 at 4:39 PM, Dennis Clarke <dclarke at blastwave.org> wrote:> So essentially there is no way to grow that zpool. Is this the case?There''s the option of getting a bigger disk and do a send - receive. I''m guessing the restriction is necessary for simplicity sake to allow bootloaders work with zfs root. -- Fajar
Casper.Dik at Sun.COM
2009-Oct-27 10:03 UTC
[zfs-discuss] root pool can not have multiple vdevs ?
>On Tue, Oct 27, 2009 at 4:39 PM, Dennis Clarke <dclarke at blastwave.org> wrote: >> So essentially there is no way to grow that zpool. Is this the case? > >There''s the option of getting a bigger disk and do a send - receive. >I''m guessing the restriction is necessary for simplicity sake to allow >bootloaders work with zfs root.You can grow your slice (I have done that) but that does require space after your slice. Casper