Cassandra Pugh
2010-Oct-15 22:26 UTC
[zfs-discuss] how to replace failed vdev on non redundant pool?
Hello, I would like to know how to replace a failed vdev in a non redundant pool? I am using fiber attached disks, and cannot simply place the disk back into the machine, since it is virtual. I have the latest kernel from sept 2010 that includes all of the new ZFS upgrades. Please, can you help me? - Cassandra (609) 243-2413 Unix Administrator "From a little spark may burst a mighty flame." -Dante Alighieri -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20101015/11b86643/attachment.html>
Scott Meilicke
2010-Oct-15 22:40 UTC
[zfs-discuss] how to replace failed vdev on non redundant pool?
If the pool is non-redundant and your vdev has failed, you have lost your data. Just rebuild the pool, but consider a redundant configuration. On Oct 15, 2010, at 3:26 PM, Cassandra Pugh wrote:> Hello, > > I would like to know how to replace a failed vdev in a non redundant pool? > > I am using fiber attached disks, and cannot simply place the disk back into the machine, since it is virtual. > > I have the latest kernel from sept 2010 that includes all of the new ZFS upgrades. > > Please, can you help me? > - > Cassandra > (609) 243-2413 > Unix Administrator > > > "From a little spark may burst a mighty flame." > -Dante Alighieri > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discussScott Meilicke
Edward Ned Harvey
2010-Oct-16 02:06 UTC
[zfs-discuss] how to replace failed vdev on non redundant pool?
> From: zfs-discuss-bounces at opensolaris.org [mailto:zfs-discuss- > bounces at opensolaris.org] On Behalf Of Cassandra Pugh > > I would like to know how to replace a failed vdev in a non redundant > pool?Non redundant ... Failed ... What do you expect? This seems like a really simple answer... You can''t. Unless perhaps I''ve misunderstood the question, or the question wasn''t asked right or something...
Cassandra Pugh
2010-Oct-20 15:53 UTC
[zfs-discuss] how to replace failed vdev on non redundant pool?
well, I was expecting/hoping that this command would work as expected: zpool create testpool vdeva vdevb vdevc *zpool replace testpool vdevc vdevd.* # zpool status reports the disk is reslivered. On a (non-mirror or raid) test pool i just created, this command works. However, when the disk failed, all I/o was suspended, and I could not replace it as above. Even if I forced the command with -f. If this were a raidz pool, would the zpool replace command even work? - Cassandra (609) 243-2413 Unix Administrator "From a little spark may burst a mighty flame." -Dante Alighieri On Fri, Oct 15, 2010 at 10:06 PM, Edward Ned Harvey <shill at nedharvey.com>wrote:> > From: zfs-discuss-bounces at opensolaris.org [mailto:zfs-discuss- > > bounces at opensolaris.org] On Behalf Of Cassandra Pugh > > > > I would like to know how to replace a failed vdev in a non redundant > > pool? > > Non redundant ... Failed ... What do you expect? This seems like a really > simple answer... You can''t. Unless perhaps I''ve misunderstood the > question, or the question wasn''t asked right or something... > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20101020/ce8a280f/attachment-0001.html>
Stephan Budach
2010-Oct-20 16:02 UTC
[zfs-discuss] how to replace failed vdev on non redundant pool?
Am 20.10.10 17:53, schrieb Cassandra Pugh:> well, I was expecting/hoping that this command would work as expected: > > zpool create testpool vdeva vdevb vdevc > > *zpool replace testpool vdevc vdevd.* > > # zpool status reports the disk is reslivered.This obviously worked since the device you were about to replace was still accessible, which isn''t the case if a device inside a vdev fails and the vdev itself it not redundant.> > On a (non-mirror or raid) test pool i just created, this command works. > However, when the disk failed, all I/o was suspended, and I could not > replace it as above. > Even if I forced the command with -f. > > If this were a raidz pool, would the zpool replace command even work?Yes this would work in raidz pool, since you have a redundancy of 1, so one device may go offline, before the vdev fails. -- Stephan Budach Jung von Matt/it-services GmbH Glash?ttenstra?e 79 20357 Hamburg Tel: +49 40-4321-1353 Fax: +49 40-4321-1114 E-Mail: stephan.budach at jvm.de Internet: http://www.jvm.com Gesch?ftsf?hrer: Ulrich Pallas, Frank Wilhelm AG HH HRB 98380 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20101020/f2e4e489/attachment.html>