On Wed, October 27, 2010 15:07, Roy Sigurd Karlsbakk wrote:
> ----- Original Message -----
>> Ok, so I did it again... I moved my disks around without doing export
>> first.
>> I promise - after this I will always export before messing with the
>> disks. :-)
>>
>> Anyway - the problem. I decided to rearrange the disks due to cable
>> lengths and case layout. I disconnected the disks and moved them
>> around. When I reconnected the cables and powered on, I got the
>> situation below.
>>
>> My pools are all mirrored pools. Due to different brands and sizes I
>> tried to match the mirror mismatches, but no go. Got the same error as
>> below.
>
> This is rather alarming. I was under the impression that ZFS tagged each
> disk and used those tags for internal rearrangement. I have tested this
> with virtualbox, and there it worked well, but perhaps I have missed
> something?

The errors aren't "cannot find" but appear to be something about corruption.

ZFS caches the /dev/dsk entries to speed up importing (since it doesn't
have to 'taste' all the LUNs). If you've moved things behind ZFS' back
(i.e., not exporting/importing), then the cache file may be out of date.
One option is to delete "/etc/zfs/zpool.cache".

If there is issues with "corruption" because you pulled disks behind ZFS'
back, and thus there were issues with things not being flushed to disk,
then it may be more serious.

If the OP is using >ZFSv19 (?), they may try a "zpool import -F" to
recover the pool to a known good state (the last few TXGs are thrown
away):

  -F
    Recovery mode for a non-importable pool. Attempt to return the pool to
    an importable state by discarding the last few transactions. Not all
    damaged pools can be recovered by using this option. If successful, the
    data from the discarded transactions is irretrievably lost. This option
    is ignored if the pool is importable or already imported.

http://docs.sun.com/app/docs/doc/819-2240/zpool-1m



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

Reply via email to