[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zfs-discuss
Subject:    Re: [zfs-discuss] Unexpected error adding a cache device to existing pool
From:       Ian Collins <ian () ianshome ! com>
Date:       2012-05-14 11:02:19
Message-ID: 4FB0E63B.6020407 () ianshome ! com
[Download RAW message or body]

On 05/14/12 10:32 PM, Carson Gaspar wrote:
> On 5/14/12 2:02 AM, Ian Collins wrote:
>> Adding the log was OK:
>>
>> zpool add -f export log mirror c10t3d0s0 c10t4d0s0
>>
>> But adding the cache fails:
>>
>> zpool add -f export cache c10t3d0s1 c10t4d0s1
>> invalid vdev specification
>> the following errors must be manually repaired:
>> /dev/dsk/c10t3d0s2 is part of active ZFS pool export. Please see zpool(1M).
>> /dev/dsk/c10t3d0s1 overlaps with /dev/dsk/c10t3d0s2
> The only solution I know of is to get rid of the whole-disk slice s2
> from the disk label. I ended up using prtvtoc to dump the table, editing
> it by hand, and feeding it to fmthard.
>
> You could also try making s0 start at cylinder 1 instead of zero, so
> zpool doesn't see a magic number on s2, but I don't know if that will be
> enough.
>

Thank you for the suggestions Carson.

Making s0 start at cylinder 1 did the trick.  I'm sure I didn't have to 
do that when I originally built the pool, but that was back on Solaris 
11 Express.

-- 
Ian.

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic