zfs and gpt partition

Miroslav Lachman 000.fbsd at quip.cz
Wed Sep 24 19:38:57 UTC 2008


Vitaly Dodonov wrote:
> On Wed, Sep 24, 2008 at 6:20 PM, Adam McDougall <mcdouga9 at egr.msu.edu>wrote:
> 
> 
>>Vitaly Dodonov wrote:
>>
>>
>>> I have problem with zfs on gpt partition in RELENG_7
>>>
>>>when zfs use whole drive or classic slices, all work well in any ata port,
>>>but changing device name with created on it gpt -t zfs partition broke zfs
>>>volume
>>>state - FAULTED
>>> ad8 UNAVAIL 0 0 0 corrupted data
>>>
>>>restore possible only with returning drive to it original port, where
>>>volume
>>>was created
>>>
>>>
>>>
>>
>>Please try looking at 'zpool export' and 'zpool import', it will probably
>>correct the error if you export then import the pool.
>>
> 
> 
> yes, export/import working, but without gpt i don't need these operations,
> drives don't drop from pool on device name change

glabel is next thing you can try - give a label to the device and create 
zpool on top of labels, not on adX etc. (I didn't try it, do it on your 
own risk) ;)

Miroslav Lachman


More information about the freebsd-fs mailing list