Hi , I had a zfs pool which i exported before our SAN maintenance and powerpath upgrade but now after the powerpath upgrade and maintenance i ''m unable to import the pool it give following errors # zpool import pool: emcpool1 id: 5596268873059055768 state: UNAVAIL status: One or more devices are missing from the system. action: The pool cannot be imported. Attach the missing devices and try again. see: http://www.sun.com/msg/ZFS-8000-3C config: emcpool1 UNAVAIL insufficient replicas emcpower0c UNAVAIL cannot open # zpool import -f emcpool1 cannot import ''emcpool1'': invalid vdev configuration any idea what could be the reason for this ? -- This message posted from opensolaris.org
could it be possible that your path changed? just do "format" CTRL+D and look if emcpower0c is now located somewhere else. regards daniel Ketan <no-reply at opensolaris.org> writes:> Hi , I had a zfs pool which i exported before our SAN maintenance > and powerpath upgrade but now after the powerpath upgrade and > maintenance > i ''m unable to import the pool it give following errors > > # zpool import > pool: emcpool1 > id: 5596268873059055768 > state: UNAVAIL > status: One or more devices are missing from the system. > action: The pool cannot be imported. Attach the missing > devices and try again. > see: http://www.sun.com/msg/ZFS-8000-3Cconfig: > > emcpool1 UNAVAIL insufficient replicas > emcpower0c UNAVAIL cannot open > # zpool import -f emcpool1 > cannot import ''emcpool1'': invalid vdev configuration > > any idea what could be the reason for this ?-- disy Informationssysteme GmbH Daniel Priem Netzwerk- und Systemadministrator Tel: +49 721 1 600 6000, Fax: -605, E-Mail: daniel.priem at disy.net Entdecken Sie "L?sungen mit K?pfchen" auf unserer neuen Website: www.disy.net Firmensitz: Erbprinzenstr. 4-12, 76133 Karlsruhe Registergericht: Amtsgericht Mannheim, HRB 107964 Gesch?ftsf?hrer: Claus Hofmann ----------------------------- Environment . Reporting . GIS -----------------------------
no idea path changed or not .. but following is output from my format .. and nothing has changed AVAILABLE DISK SELECTIONS: 0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /pci at 0/pci at 0/pci at 2/scsi at 0/sd at 0,0 1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /pci at 0/pci at 0/pci at 2/scsi at 0/sd at 1,0 2. c3t5006016841E0A08Dd0 <DGC-RAID5-0326 cyl 65533 alt 2 hd 16 sec 890> /pci at 0/pci at 0/pci at 8/pci at 0/pci at 2/SUNW,qlc at 0/fp at 0,0/ssd at w5006016841e0a08d,0 3. c3t5006016041E0A08Dd0 <DGC-RAID5-0326 cyl 65533 alt 2 hd 16 sec 890> /pci at 0/pci at 0/pci at 8/pci at 0/pci at 2/SUNW,qlc at 0/fp at 0,0/ssd at w5006016041e0a08d,0 4. c3t5006016041E0A08Dd1 <DGC-RAID5-0326 cyl 51198 alt 2 hd 256 sec 16> /pci at 0/pci at 0/pci at 8/pci at 0/pci at 2/SUNW,qlc at 0/fp at 0,0/ssd at w5006016041e0a08d,1 5. c3t5006016841E0A08Dd1 <DGC-RAID5-0326 cyl 51198 alt 2 hd 256 sec 16> /pci at 0/pci at 0/pci at 8/pci at 0/pci at 2/SUNW,qlc at 0/fp at 0,0/ssd at w5006016841e0a08d,1 6. c5t5006016141E0A08Dd0 <DGC-RAID5-0326 cyl 65533 alt 2 hd 16 sec 890> /pci at 0/pci at 0/pci at 8/pci at 0/pci at a/SUNW,qlc at 0/fp at 0,0/ssd at w5006016141e0a08d,0 7. c5t5006016941E0A08Dd0 <DGC-RAID5-0326 cyl 65533 alt 2 hd 16 sec 890> /pci at 0/pci at 0/pci at 8/pci at 0/pci at a/SUNW,qlc at 0/fp at 0,0/ssd at w5006016941e0a08d,0 8. c5t5006016141E0A08Dd1 <DGC-RAID5-0326 cyl 51198 alt 2 hd 256 sec 16> /pci at 0/pci at 0/pci at 8/pci at 0/pci at a/SUNW,qlc at 0/fp at 0,0/ssd at w5006016141e0a08d,1 9. c5t5006016941E0A08Dd1 <DGC-RAID5-0326 cyl 51198 alt 2 hd 256 sec 16> /pci at 0/pci at 0/pci at 8/pci at 0/pci at a/SUNW,qlc at 0/fp at 0,0/ssd at w5006016941e0a08d,1 10. emcpower0a <DGC-RAID5-0326 cyl 65533 alt 2 hd 16 sec 890> /pseudo/emcp at 0 11. emcpower1a <DGC-RAID5-0326 cyl 51198 alt 2 hd 256 sec 16> /pseudo/emcp at 1 Specify disk (enter its number): Specify disk (enter its number): root at essapl020-u006 # -- This message posted from opensolaris.org
Ketan <no-reply at opensolaris.org> writes:> no idea path changed or not .. but following is output from my format .. and nothing has changed > > AVAILABLE DISK SELECTIONS: > 0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> > /pci at 0/pci at 0/pci at 2/scsi at 0/sd at 0,0 > 1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> > /pci at 0/pci at 0/pci at 2/scsi at 0/sd at 1,0 > 2. c3t5006016841E0A08Dd0 <DGC-RAID5-0326 cyl 65533 alt 2 hd 16 sec 890> > /pci at 0/pci at 0/pci at 8/pci at 0/pci at 2/SUNW,qlc at 0/fp at 0,0/ssd at w5006016841e0a08d,0 > 3. c3t5006016041E0A08Dd0 <DGC-RAID5-0326 cyl 65533 alt 2 hd 16 sec 890> > /pci at 0/pci at 0/pci at 8/pci at 0/pci at 2/SUNW,qlc at 0/fp at 0,0/ssd at w5006016041e0a08d,0 > 4. c3t5006016041E0A08Dd1 <DGC-RAID5-0326 cyl 51198 alt 2 hd 256 sec 16> > /pci at 0/pci at 0/pci at 8/pci at 0/pci at 2/SUNW,qlc at 0/fp at 0,0/ssd at w5006016041e0a08d,1 > 5. c3t5006016841E0A08Dd1 <DGC-RAID5-0326 cyl 51198 alt 2 hd 256 sec 16> > /pci at 0/pci at 0/pci at 8/pci at 0/pci at 2/SUNW,qlc at 0/fp at 0,0/ssd at w5006016841e0a08d,1 > 6. c5t5006016141E0A08Dd0 <DGC-RAID5-0326 cyl 65533 alt 2 hd 16 sec 890> > /pci at 0/pci at 0/pci at 8/pci at 0/pci at a/SUNW,qlc at 0/fp at 0,0/ssd at w5006016141e0a08d,0 > 7. c5t5006016941E0A08Dd0 <DGC-RAID5-0326 cyl 65533 alt 2 hd 16 sec 890> > /pci at 0/pci at 0/pci at 8/pci at 0/pci at a/SUNW,qlc at 0/fp at 0,0/ssd at w5006016941e0a08d,0 > 8. c5t5006016141E0A08Dd1 <DGC-RAID5-0326 cyl 51198 alt 2 hd 256 sec 16> > /pci at 0/pci at 0/pci at 8/pci at 0/pci at a/SUNW,qlc at 0/fp at 0,0/ssd at w5006016141e0a08d,1 > 9. c5t5006016941E0A08Dd1 <DGC-RAID5-0326 cyl 51198 alt 2 hd 256 sec 16> > /pci at 0/pci at 0/pci at 8/pci at 0/pci at a/SUNW,qlc at 0/fp at 0,0/ssd at w5006016941e0a08d,1 > 10. emcpower0a <DGC-RAID5-0326 cyl 65533 alt 2 hd 16 sec 890> > /pseudo/emcp at 0 > 11. emcpower1a <DGC-RAID5-0326 cyl 51198 alt 2 hd 256 sec 16> > /pseudo/emcp at 1 > Specify disk (enter its number): Specify disk (enter its number): > root at essapl020-u006 #reading your first post> status: One or more devices are missing from the system. > action: The pool cannot be imported. Attach the missing > devices and try again. > see: http://www.sun.com/msg/ZFS-8000-3Cconfig: > > emcpool1 UNAVAIL insufficient replicas > emcpower0c UNAVAIL cannot openone or more devices are really missing. check your connection to the emc again regards daniel
thats the problem this system has just 2 LUNs assigned and both are present as you can see from format output 10. emcpower0a <DGC-RAID5-0326 cyl 65533 alt 2 hd 16 sec 890> /pseudo/emcp at 0 11. emcpower1a <DGC-RAID5-0326 cyl 51198 alt 2 hd 256 sec 16> /pseudo/emcp at 1 -- This message posted from opensolaris.org
Ketan <no-reply at opensolaris.org> writes:> thats the problem this system has just 2 LUNs assigned and both are present as you can see from format output > > 10. emcpower0a <DGC-RAID5-0326 cyl 65533 alt 2 hd 16 sec 890> > /pseudo/emcp at 0 > 11. emcpower1a <DGC-RAID5-0326 cyl 51198 alt 2 hd 256 sec 16> > /pseudo/emcp at 1ahhh. so the path has changed. your old path was emcpower0c now you have emcpower0a and emcpower1a this config is somewhere cached. i am not sure, but IIRC you can clear the cache an then activate the pool. if somebode else here can jump in and point him to the right URL? regards daniel
zpool cache is in /etc/zfs/zpool.cache or it can be viewed as zdb -C but in my case its blank :-( -- This message posted from opensolaris.org
and regarding the path my other system has same and its working fine see the below output # zpool status pool: emcpool1 state: ONLINE status: The pool is formatted using an older on-disk format. The pool can still be used, but some features are unavailable. action: Upgrade the pool using ''zpool upgrade''. Once this is done, the pool will no longer be accessible on older software versions. scrub: none requested config: NAME STATE READ WRITE CKSUM emcpool1 ONLINE 0 0 0 emcpower0c ONLINE 0 0 0 errors: No known data errors 10. emcpower0a <DGC-RAID5-0326 cyl 65533 alt 2 hd 16 sec 890> /pseudo/emcp at 0 11. emcpower1a <DGC-RAID 5-0326-300.00GB> /pseudo/emcp at 1 Specify disk (enter its number): Specify disk (enter its number): root at essapl020-u008 # -- This message posted from opensolaris.org
Thanx to all for the efforts but i was able to import the zpool after disabling first HBA cards do not know the reason for this but now the pool is imported and there was not disk lost :-) -- This message posted from opensolaris.org