Alex,
alex stun wrote:
> Hello,
> I have a zpool consisting of several mirrored vdevs. I was in the middle of
> adding another mirrored vdev today, but found out one of the new drives is
> bad. I will be receiving the replacement drive in a few days. In the mean
> time, I need the additional storage on my zpool.
>
> Is the command to add a single drive to a mirrored zpool:
> zpool add -f tank drive1?
>
> Does the -f command cause any issues?
> I realize that there will be no redundancy on that drive for a few days, and I
> can live with that as long as the rest of my zpool remains intact.
>
> Thanks
> --
> This message posted from opensolaris.org
> _______________________________________________
> zfs-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>
This is exactly what you'll need to do. Without the -f zpool will stop and
warn you that you have a "mismatch" in reliability. So, to get the space:
zpool add -f <poolname> <single-disk>
Then later,
zpool attach <poolname> <newdisk> <single-disk>
HTH
Craig
--
Craig Cory
Senior Instructor :: ExitCertified
: Oracle/Sun Certified System Administrator
: Oracle/Sun Certified Network Administrator
: Oracle/Sun Certified Security Administrator
: Symantec/Veritas Certified Instructor
: RedHat Certified Systems Administrator
+-------------------------------------------------------------------------+
ExitCertified :: Excellence in IT Certified Education
Certified training with Oracle, Sun Microsystems, Apple, Symantec, IBM,
Red Hat, MySQL, Hitachi Storage, SpringSource and VMWare.
1.800.803.EXIT (3948) | www.ExitCertified.com
+-------------------------------------------------------------------------+
_______________________________________________
zfs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss