Re: [zfs-discuss] how to replace failed vdev on non redundant pool?

2010-10-20 Thread 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.

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 sh...@nedharvey.comwrote:

  From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
  boun...@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...


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


Re: [zfs-discuss] how to replace failed vdev on non redundant pool?

2010-10-20 Thread Stephan Budach

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.bud...@jvm.de
Internet: http://www.jvm.com

Geschäftsführer: Ulrich Pallas, Frank Wilhelm
AG HH HRB 98380

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


[zfs-discuss] how to replace failed vdev on non redundant pool?

2010-10-15 Thread Cassandra Pugh
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@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] how to replace failed vdev on non redundant pool?

2010-10-15 Thread Scott Meilicke
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@opensolaris.org
 http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Scott Meilicke



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


Re: [zfs-discuss] how to replace failed vdev on non redundant pool?

2010-10-15 Thread Edward Ned Harvey
 From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
 boun...@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...

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