Don't know why zfs cannot open device? itsm-mpk-2# zpool import pool: canary id: 9275088414963579563 state: ONLINE action: The pool can be imported using its name or numeric identifier. The pool may be active on on another system, but can be imported using the '-f' flag. config:
canary ONLINE c1t0d0s3 ONLINE itsm-mpk-2# zpool import canary cannot import 'canary': pool may be in use from other system use '-f' to import anyway itsm-mpk-2# zpool import -f canary cannot import 'canary': pool exists itsm-mpk-2# zdb -L /dev/dsk/c1t0d0s3 zdb: can't open /dev/dsk/c1t0d0s3: error 22 itsm-mpk-2# itsm-mpk-2# ls -l /dev/dsk/c1t0d0s3 lrwxrwxrwx 1 root root 65 Apr 4 14:46 /dev/dsk/c1t0d0s3 -> ../../devices/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED],2/LSILogic,[EMAIL PROTECTED]/[EMAIL PROTECTED],0:d itsm-mpk-2# ls -l ../../devices/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED],2/LSILogic,[EMAIL PROTECTED]/[EMAIL PROTECTED],0:d brw-r----- 1 root sys 32, 11 Jul 24 11:47 ../../devices/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED],2/LSILogic,[EMAIL PROTECTED]/[EMAIL PROTECTED],0:d Eric Schrock wrote On 07/24/06 13:32,: > This suggests that both vn_open('/dev/dsk/c1t0d0s3') and > ldi_open_by_devid('.....') are failing for this device. Are you sure > that this device exists and is readable? What does 'zdb -L > /dev/dsk/c1t0d0s3' show? > > You can try a 'zpool export' and 'zpool import' to see if it finds the > device, but ZFS should be able to handle this type of devid change. > > - Eric > > On Mon, Jul 24, 2006 at 01:26:44PM -0700, Karen Chau wrote: > >>We deleted the mirror in the HW RAID, now zfs thinks device is not >>available. we're using the same device name, c1t0d0. How do we recover?? >> >>RAID INFO before: >># raidctl >>RAID Volume RAID RAID Disk >>Volume Type Status Disk Status >>------------------------------------------------------ >>c1t0d0 IM OK c1t0d0 OK >> c1t1d0 OK >> >>RAID INFO after: >># raidctl >>No RAID volumes found >> >>itsm-mpk-2# zpool status -x >> pool: canary >> state: FAULTED >>status: One or more devices could not be opened. There are insufficient >> replicas for the pool to continue functioning. >>action: Attach the missing device and online it using 'zpool online'. >> see: http://www.sun.com/msg/ZFS-8000-D3 >> scrub: none requested >>config: >> >> NAME STATE READ WRITE CKSUM >> canary UNAVAIL 0 0 0 insufficient replicas >> c1t0d0s3 UNAVAIL 0 0 0 cannot open >> >> >>Thanks, >>karen >> >>-- >>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>NOTICE: This email message is for the sole use of the intended recipient(s) >>and may contain confidential and privileged information. Any unauthorized >>review, use, disclosure or distribution is prohibited. If you are not the >>intended recipient, please contact the sender by reply email and destroy all >>copies of the original message. >>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >>_______________________________________________ >>zfs-discuss mailing list >>zfs-discuss@opensolaris.org >>http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > > > -- > Eric Schrock, Solaris Kernel Development http://blogs.sun.com/eschrock > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss