Victor Latushkin wrote:> On 28.08.08 15:06, Chris Gerhard wrote:
>> I have a USB disk with a pool on it called removable. On one laptop
>> zpool import removable works just fine but on another with the same
>> disk attached it tells me there is more than one matching pool:
>>
>> : sigma TS 6 $; pfexec zpool import removable
>> cannot import ''removable'': more than one matching
pool
>> import by numeric ID instead
>> : sigma TS 7 $; pfexec zpool import pool: removable
>> id: 16711095403932498465
>> state: ONLINE
>> status: The pool is formatted using an older on-disk version.
>> action: The pool can be imported using its name or numeric identifier,
>> though
>> some features will not be available without an explicit
''zpool
>> upgrade''.
>> config:
>>
>> removable ONLINE
>> c3t0d0 ONLINE
>>
>> pool: removable
>> id: 13348174994041916803
>> state: FAULTED
>> status: The pool metadata is corrupted.
>> action: The pool cannot be imported due to damaged devices or data.
>> see: http://www.sun.com/msg/ZFS-8000-72
>> config:
>>
>> removable FAULTED corrupted data
>> c3t0d0p0 ONLINE
>> : sigma TS 8 $;
>>
>> What I find curious is that this only happens on one system. Any ideas?
>
> What Solaris/ZFS versions are these systems running? it is a wild guess
> but may be there''s some stale label with newer version which is
> recognized by one system and not recognized by another?
>
Both are running snv_94. The system with the problem is nevada the
system without the problem is OpenSolaris.
> What does zdb -l say?
# zdb -l /dev/rdsk/c3t0d0p0
--------------------------------------------
LABEL 0
--------------------------------------------
failed to unpack label 0
--------------------------------------------
LABEL 1
--------------------------------------------
failed to unpack label 1
--------------------------------------------
LABEL 2
--------------------------------------------
version=1
name=''removable''
state=1
txg=18676
pool_guid=13348174994041916803
top_guid=17964267360868847787
guid=17964267360868847787
vdev_tree
type=''disk''
id=0
guid=17964267360868847787
path=''/vol/dev/dsk/c5t0d0/unknown_format''
whole_disk=0
metaslab_array=13
metaslab_shift=30
ashift=9
asize=164691705856
--------------------------------------------
LABEL 3
--------------------------------------------
version=1
name=''removable''
state=1
txg=18676
pool_guid=13348174994041916803
top_guid=17964267360868847787
guid=17964267360868847787
vdev_tree
type=''disk''
id=0
guid=17964267360868847787
path=''/vol/dev/dsk/c5t0d0/unknown_format''
whole_disk=0
metaslab_array=13
metaslab_shift=30
ashift=9
asize=164691705856
#
# zdb -l /dev/rdsk/c3t0d0
--------------------------------------------
LABEL 0
--------------------------------------------
failed to unpack label 0
--------------------------------------------
LABEL 1
--------------------------------------------
failed to unpack label 1
--------------------------------------------
LABEL 2
--------------------------------------------
version=1
name=''removable''
state=1
txg=18676
pool_guid=13348174994041916803
top_guid=17964267360868847787
guid=17964267360868847787
vdev_tree
type=''disk''
id=0
guid=17964267360868847787
path=''/vol/dev/dsk/c5t0d0/unknown_format''
whole_disk=0
metaslab_array=13
metaslab_shift=30
ashift=9
asize=164691705856
--------------------------------------------
LABEL 3
--------------------------------------------
version=1
name=''removable''
state=1
txg=18676
pool_guid=13348174994041916803
top_guid=17964267360868847787
guid=17964267360868847787
vdev_tree
type=''disk''
id=0
guid=17964267360868847787
path=''/vol/dev/dsk/c5t0d0/unknown_format''
whole_disk=0
metaslab_array=13
metaslab_shift=30
ashift=9
asize=164691705856
#
# zdb -l /dev/rdsk/c3t0d0s0
--------------------------------------------
LABEL 0
--------------------------------------------
version=10
name=''removable''
state=1
txg=75874
pool_guid=16711095403932498465
hostid=696785690
hostname=''sigma''
top_guid=18371933882888483558
guid=18371933882888483558
vdev_tree
type=''disk''
id=0
guid=18371933882888483558
path=''/dev/dsk/c3t0d0s0''
devid=''id1,sd at f1098ca8144ed3fb1000bfc6a0000/a''
phys_path=''/pci at 0,0/pci1028,11d at 1d,7/storage at 3/disk
at 0,0:a''
whole_disk=1
metaslab_array=14
metaslab_shift=30
ashift=9
asize=164683055104
is_log=0
DTL=18
--------------------------------------------
LABEL 1
--------------------------------------------
version=10
name=''removable''
state=1
txg=75874
pool_guid=16711095403932498465
hostid=696785690
hostname=''sigma''
top_guid=18371933882888483558
guid=18371933882888483558
vdev_tree
type=''disk''
id=0
guid=18371933882888483558
path=''/dev/dsk/c3t0d0s0''
devid=''id1,sd at f1098ca8144ed3fb1000bfc6a0000/a''
phys_path=''/pci at 0,0/pci1028,11d at 1d,7/storage at 3/disk
at 0,0:a''
whole_disk=1
metaslab_array=14
metaslab_shift=30
ashift=9
asize=164683055104
is_log=0
DTL=18
--------------------------------------------
LABEL 2
--------------------------------------------
version=10
name=''removable''
state=1
txg=75874
pool_guid=16711095403932498465
hostid=696785690
hostname=''sigma''
top_guid=18371933882888483558
guid=18371933882888483558
vdev_tree
type=''disk''
id=0
guid=18371933882888483558
path=''/dev/dsk/c3t0d0s0''
devid=''id1,sd at f1098ca8144ed3fb1000bfc6a0000/a''
phys_path=''/pci at 0,0/pci1028,11d at 1d,7/storage at 3/disk
at 0,0:a''
whole_disk=1
metaslab_array=14
metaslab_shift=30
ashift=9
asize=164683055104
is_log=0
DTL=18
--------------------------------------------
LABEL 3
--------------------------------------------
version=10
name=''removable''
state=1
txg=75874
pool_guid=16711095403932498465
hostid=696785690
hostname=''sigma''
top_guid=18371933882888483558
guid=18371933882888483558
vdev_tree
type=''disk''
id=0
guid=18371933882888483558
path=''/dev/dsk/c3t0d0s0''
devid=''id1,sd at f1098ca8144ed3fb1000bfc6a0000/a''
phys_path=''/pci at 0,0/pci1028,11d at 1d,7/storage at 3/disk
at 0,0:a''
whole_disk=1
metaslab_array=14
metaslab_shift=30
ashift=9
asize=164683055104
is_log=0
DTL=18
#
The disk has an EFI label.
--
Chris Gerhard. __o __o __o
Systems TSC Chief Technologist _`\<,`\<,`\<,_
Sun Microsystems Limited (*)/---/---/ (*)
Phone: +44 (0) 1252 426033 (ext 26033) http://blogs.sun.com/chrisg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3253 bytes
Desc: S/MIME Cryptographic Signature
URL:
<http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080828/acfca935/attachment.bin>