Re: [zfs-discuss] Accidentally mixed-up disks in RAIDZ

2009-11-15 Thread Leandro Vanden Bosch
Solved!

This what I did: boot with the disks unplugged, I took a 'digest -a md5 
/etc/zfs/zpool.cache', then I did 'zpool export -f data', I got an error 
message saying that the pool didn't exist. I checked again the MD5 against the 
zpool.cache and it effectively changed (so, although the export appeared to 
fail, it actually did something). I turned off the machine, plugged the disks 
back in and then I performed a 'zpool import' without any issue.
All the properties retain their previous settings.

Thanks to all for your tips.

Regards,

Leandro.


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Accidentally mixed-up disks in RAIDZ

2009-11-09 Thread Leandro Vanden Bosch
No, Chris, I didn't export the pool becasue I didn't expect this to
happen. It's an excellent suggestion, so I'll try it when I get my
hands on the machine.

Thank you.

Leandro.




De: Chris Murray 
Para: Leandro Vanden Bosch 
Enviado: sábado, 7 de noviembre, 2009 19:13:33
Asunto: RE: [zfs-discuss] Accidentally mixed-up disks in RAIDZ

 
Did you export the pool before unplugging the drives? I've had
occasions in the past where ZFS does get mixed-up if the machine is powered up
with the drives of a currently imported pool, in the wrong order. The solution
in the end was to power up without the drives, export the pool, and then import.
 
Chris
 
From:zfs-discuss-boun...@opensolaris.org
[mailto:zfs-discuss-boun...@opensolaris.org] On Behalf Of Leandro Vanden
Bosch
Sent: 07 November 2009 20:28
To: Tim Cook
Cc: zfs-discuss@opensolaris.org
Subject: Re: [zfs-discuss] Accidentally mixed-up disks in RAIDZ
 
Thanks
Tim for your answer!

I'll try it in afew hours and post the outcome.

Regards,

Leandro.
 


 
De:Tim Cook 
Para: Leandro Vanden Bosch 
CC: zfs-discuss@opensolaris.org
Enviado: sábado, 7 de noviembre, 2009 16:40:55
Asunto: Re: [zfs-discuss] Accidentally mixed-up disks in RAIDZ



On Sat, Nov 7, 2009 at 1:38 PM, Leandro Vanden Bosch 
wrote:
Hello to you all,

Here's the situation:

While doing a case replacement in my home storage server I accidentally removed
the post-it with the disk number from my three 1TB disks before connecting them
back to the corresponding SATA connector. 
The issue now is that I don't know in which order they should be connected.

Do any of you know how can I _safely_ bring the zpool on-line?

I didn't plugged'em in yet becasue I'm afraid of losing some valueable personal
information.

Thanks in advance.

Leandro.
 


 


Of course, it doesn't matter which drive is plugged in where.  When you
import a pool, zfs scans the headers of each disk to verify if they're part of
a pool or not, and if they are, does the import.

--Tim
 
 
 


 

Encontra las
mejores recetas con Yahoo! Cocina. 
http://ar.mujer.yahoo.com/cocina/


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Accidentally mixed-up disks in RAIDZ

2009-11-07 Thread Orvar Korvar
I can confirm that Tim is right, I have done it myself.
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Accidentally mixed-up disks in RAIDZ

2009-11-07 Thread Leandro Vanden Bosch
Thanks Tim for your answer!

I'll try it in afew hours and post the outcome.

Regards,

Leandro.





De: Tim Cook 
Para: Leandro Vanden Bosch 
CC: zfs-discuss@opensolaris.org
Enviado: sábado, 7 de noviembre, 2009 16:40:55
Asunto: Re: [zfs-discuss] Accidentally mixed-up disks in RAIDZ




On Sat, Nov 7, 2009 at 1:38 PM, Leandro Vanden Bosch  
wrote:

Hello to you all,
>
>Here's the situation:
>
>While doing a case replacement in my home storage server I accidentally 
>removed the post-it with the disk number from my three 1TB disks before 
>connecting them back to the corresponding SATA connector. 
>>The issue now is that I don't know in which order they should be connected.
>
>Do any of you know how can I _safely_ bring the zpool on-line?
>
>I didn't plugged'em in yet becasue I'm afraid of losing some valueable 
>personal information.
>
>Thanks in advance.
>
>Leandro.
>
>>
>
>



Of course, it doesn't matter which drive is plugged in where.  When you import 
a pool, zfs scans the headers of each disk to verify if they're part of a pool 
or not, and if they are, does the import.

--Tim


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Accidentally mixed-up disks in RAIDZ

2009-11-07 Thread Tim Cook
On Sat, Nov 7, 2009 at 1:38 PM, Leandro Vanden Bosch
wrote:

> Hello to you all,
>
> Here's the situation:
>
> While doing a case replacement in my home storage server I accidentally
> removed the post-it with the disk number from my three 1TB disks before
> connecting them back to the corresponding SATA connector.
> The issue now is that I don't know in which order they should be connected.
>
> Do any of you know how can I _safely_ bring the zpool on-line?
>
> I didn't plugged'em in yet becasue I'm afraid of losing some valueable
> personal information.
>
> Thanks in advance.
>
> Leandro.
>
> --
>


Of course, it doesn't matter which drive is plugged in where.  When you
import a pool, zfs scans the headers of each disk to verify if they're part
of a pool or not, and if they are, does the import.

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


[zfs-discuss] Accidentally mixed-up disks in RAIDZ

2009-11-07 Thread Leandro Vanden Bosch
Hello to you all,

Here's the situation:

While doing a case replacement in my home storage server I accidentally removed 
the post-it with the disk number from my three 1TB disks before connecting them 
back to the corresponding SATA connector. 
The issue now is that I don't know in which order they should be connected.

Do any of you know how can I _safely_ bring the zpool on-line?

I didn't plugged'em in yet becasue I'm afraid of losing some valueable personal 
information.

Thanks in advance.

Leandro.



  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss