Karl Rossing
2014-04-21 17:16:41 UTC
I need some help importing a corrupted 151a7 pool.
151a7 is running inside a smartos kvm zone.
Any suggestions would be appreciated.
***@bcp-disk1:~# format </dev/null
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c4d0 <Unknown-Unknown-0001 cyl 7829 alt 2 hd 255 sec 63>
/***@0,0/pci-***@1,1/***@0/***@0,0
1. c4d1 <QEMU HAR-QM0000-0001-200.00GB>
/***@0,0/pci-***@1,1/***@0/***@1,0
Specify disk (enter its number):
***@bcp-disk1:~# zpool import -d /dev/dsk/c4d1 dpool
cannot open '/devices/***@0,0/pci-***@1,1/***@0/***@1,0:wd/': Not a
directory
cannot import 'dpool': no such pool available
***@bcp-disk1:~# ls -lath /devices/***@0,0/pci-***@1,1/***@0/***@1,0:wd
brw-r----- 1 root sys 244, 71 2014-04-21 16:27
/devices/***@0,0/pci-***@1,1/***@0/***@1,0:wd
***@bcp-disk1:~# ls -lath /devices/***@0,0/pci-***@1,1/***@0/***@0,0:wd
ls: cannot access /devices/***@0,0/pci-***@1,1/***@0/***@0,0:wd: No
such file or directory
***@bcp-disk1:~# zdb -l /dev/dsk/c4d1p0
--------------------------------------------
LABEL 0
--------------------------------------------
failed to unpack label 0
--------------------------------------------
LABEL 1
--------------------------------------------
failed to unpack label 1
--------------------------------------------
LABEL 2
--------------------------------------------
failed to unpack label 2
--------------------------------------------
LABEL 3
--------------------------------------------
failed to unpack label 3
***@bcp-disk1:~# zdb -l /dev/dsk/c4d1p1
cannot open '/dev/rdsk/c4d1p1': No such device or address
***@bcp-disk1:~# zdb -l /dev/dsk/c4d1p2
cannot open '/dev/rdsk/c4d1p2': No such device or address
***@bcp-disk1:~# zdb -l /dev/dsk/c4d1p3
cannot open '/dev/rdsk/c4d1p3': No such device or address
CONFIDENTIALITY NOTICE: This communication (including all attachments) is
confidential and is intended for the use of the named addressee(s) only and
may contain information that is private, confidential, privileged, and
exempt from disclosure under law. All rights to privilege are expressly
claimed and reserved and are not waived. Any use, dissemination,
distribution, copying or disclosure of this message and any attachments, in
whole or in part, by anyone other than the intended recipient(s) is strictly
prohibited. If you have received this communication in error, please notify
the sender immediately, delete this communication from all data storage
devices and destroy all hard copies.
151a7 is running inside a smartos kvm zone.
Any suggestions would be appreciated.
***@bcp-disk1:~# format </dev/null
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c4d0 <Unknown-Unknown-0001 cyl 7829 alt 2 hd 255 sec 63>
/***@0,0/pci-***@1,1/***@0/***@0,0
1. c4d1 <QEMU HAR-QM0000-0001-200.00GB>
/***@0,0/pci-***@1,1/***@0/***@1,0
Specify disk (enter its number):
***@bcp-disk1:~# zpool import -d /dev/dsk/c4d1 dpool
cannot open '/devices/***@0,0/pci-***@1,1/***@0/***@1,0:wd/': Not a
directory
cannot import 'dpool': no such pool available
***@bcp-disk1:~# ls -lath /devices/***@0,0/pci-***@1,1/***@0/***@1,0:wd
brw-r----- 1 root sys 244, 71 2014-04-21 16:27
/devices/***@0,0/pci-***@1,1/***@0/***@1,0:wd
***@bcp-disk1:~# ls -lath /devices/***@0,0/pci-***@1,1/***@0/***@0,0:wd
ls: cannot access /devices/***@0,0/pci-***@1,1/***@0/***@0,0:wd: No
such file or directory
***@bcp-disk1:~# zdb -l /dev/dsk/c4d1p0
--------------------------------------------
LABEL 0
--------------------------------------------
failed to unpack label 0
--------------------------------------------
LABEL 1
--------------------------------------------
failed to unpack label 1
--------------------------------------------
LABEL 2
--------------------------------------------
failed to unpack label 2
--------------------------------------------
LABEL 3
--------------------------------------------
failed to unpack label 3
***@bcp-disk1:~# zdb -l /dev/dsk/c4d1p1
cannot open '/dev/rdsk/c4d1p1': No such device or address
***@bcp-disk1:~# zdb -l /dev/dsk/c4d1p2
cannot open '/dev/rdsk/c4d1p2': No such device or address
***@bcp-disk1:~# zdb -l /dev/dsk/c4d1p3
cannot open '/dev/rdsk/c4d1p3': No such device or address
CONFIDENTIALITY NOTICE: This communication (including all attachments) is
confidential and is intended for the use of the named addressee(s) only and
may contain information that is private, confidential, privileged, and
exempt from disclosure under law. All rights to privilege are expressly
claimed and reserved and are not waived. Any use, dissemination,
distribution, copying or disclosure of this message and any attachments, in
whole or in part, by anyone other than the intended recipient(s) is strictly
prohibited. If you have received this communication in error, please notify
the sender immediately, delete this communication from all data storage
devices and destroy all hard copies.