Hello, I have a zfs pool on 3 external disks, connected via usb. All 3 disks are fine and can be seen from rmformat. They all appear on the same nodes as they were before the restart (this problem started following a reboot). However, the zfs system is not recognizing them. Any clues? Thanks justin # rmformat Looking for devices... 1. Volmgt Node: /vol/dev/aliases/cdrom0 Logical Node: /dev/rdsk/c0t0d0s2 Physical Node: /pci at 0,0/pci108e,cb84 at 2/storage at 4/disk at 0,0 Connected Device: AMI Virtual CDROM 1.00 Device Type: CD Reader 2. Logical Node: /dev/rdsk/c1t0d0s2 Physical Node: /pci at 0,0/pci108e,cb84 at 2/storage at 5/disk at 0,0 Connected Device: AMI Virtual Floppy 1.00 Device Type: <Unknown> 3. Logical Node: /dev/rdsk/c1t0d0p0 Physical Node: /pci at 0,0/pci108e,cb84 at 2/storage at 5/disk at 0,0 Connected Device: AMI Virtual Floppy 1.00 Device Type: <Unknown> 4. Volmgt Node: /vol/dev/aliases/cdrom1 Logical Node: /dev/rdsk/c2t0d0s2 Physical Node: /pci at 0,0/pci-ide at 6/ide at 0/sd at 0,0 Connected Device: MATSHITA CD-RW CW-8124 DZ13 Device Type: DVD Reader 5. Logical Node: /dev/rdsk/c5t0d0s2 Physical Node: /pci at 0,0/pci108e,cb84 at 2,1/storage at 2/disk at 0,0 Connected Device: MAXTOR S TM3320820AS E Device Type: Removable 6. Logical Node: /dev/rdsk/c5t0d0p0 Physical Node: /pci at 0,0/pci108e,cb84 at 2,1/storage at 2/disk at 0,0 Connected Device: MAXTOR S TM3320820AS E Device Type: Removable 7. Logical Node: /dev/rdsk/c6t0d0s2 Physical Node: /pci at 0,0/pci108e,cb84 at 2,1/hub at 6/storage at 1/disk at 0,0 Connected Device: Hitachi HDT725032VLA360 A7EA Device Type: Removable 8. Logical Node: /dev/rdsk/c6t0d0p0 Physical Node: /pci at 0,0/pci108e,cb84 at 2,1/hub at 6/storage at 1/disk at 0,0 Connected Device: Hitachi HDT725032VLA360 A7EA Device Type: Removable 9. Logical Node: /dev/rdsk/c7t0d0s2 Physical Node: /pci at 0,0/pci108e,cb84 at 2,1/hub at 6/storage at 2/disk at 0,0 Connected Device: Hitachi HDT725032VLA360 A7EA Device Type: Removable 10. Logical Node: /dev/rdsk/c7t0d0p0 Physical Node: /pci at 0,0/pci108e,cb84 at 2,1/hub at 6/storage at 2/disk at 0,0 Connected Device: Hitachi HDT725032VLA360 A7EA Device Type: Removable # zpool status pool: external 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 external UNAVAIL 0 0 0 insufficient replicas raidz2 UNAVAIL 0 0 0 insufficient replicas c5t0d0s0 UNAVAIL 0 0 0 cannot open c6t0d0s0 UNAVAIL 0 0 0 cannot open c7t0d0s0 UNAVAIL 0 0 0 cannot open -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080229/b74ccb36/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3361 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080229/b74ccb36/attachment.bin>
On Fri, 29 Feb 2008, Justin Vassallo wrote:> # zpool status > pool: external > 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-D3What happened when you tried the ''zpool online'' command? Regards, markm
Fixed - what was needed is an export, followed by an import -f From: Justin Vassallo [mailto:justin.vassallo at entropay.com] Sent: 29 February 2008 15:13 To: zfs-discuss at opensolaris.org Subject: zfs pool unavailable! Hello, I have a zfs pool on 3 external disks, connected via usb. All 3 disks are fine and can be seen from rmformat. They all appear on the same nodes as they were before the restart (this problem started following a reboot). However, the zfs system is not recognizing them. Any clues? Thanks justin # rmformat Looking for devices... 1. Volmgt Node: /vol/dev/aliases/cdrom0 Logical Node: /dev/rdsk/c0t0d0s2 Physical Node: /pci at 0,0/pci108e,cb84 at 2/storage at 4/disk at 0,0 Connected Device: AMI Virtual CDROM 1.00 Device Type: CD Reader 2. Logical Node: /dev/rdsk/c1t0d0s2 Physical Node: /pci at 0,0/pci108e,cb84 at 2/storage at 5/disk at 0,0 Connected Device: AMI Virtual Floppy 1.00 Device Type: <Unknown> 3. Logical Node: /dev/rdsk/c1t0d0p0 Physical Node: /pci at 0,0/pci108e,cb84 at 2/storage at 5/disk at 0,0 Connected Device: AMI Virtual Floppy 1.00 Device Type: <Unknown> 4. Volmgt Node: /vol/dev/aliases/cdrom1 Logical Node: /dev/rdsk/c2t0d0s2 Physical Node: /pci at 0,0/pci-ide at 6/ide at 0/sd at 0,0 Connected Device: MATSHITA CD-RW CW-8124 DZ13 Device Type: DVD Reader 5. Logical Node: /dev/rdsk/c5t0d0s2 Physical Node: /pci at 0,0/pci108e,cb84 at 2,1/storage at 2/disk at 0,0 Connected Device: MAXTOR S TM3320820AS E Device Type: Removable 6. Logical Node: /dev/rdsk/c5t0d0p0 Physical Node: /pci at 0,0/pci108e,cb84 at 2,1/storage at 2/disk at 0,0 Connected Device: MAXTOR S TM3320820AS E Device Type: Removable 7. Logical Node: /dev/rdsk/c6t0d0s2 Physical Node: /pci at 0,0/pci108e,cb84 at 2,1/hub at 6/storage at 1/disk at 0,0 Connected Device: Hitachi HDT725032VLA360 A7EA Device Type: Removable 8. Logical Node: /dev/rdsk/c6t0d0p0 Physical Node: /pci at 0,0/pci108e,cb84 at 2,1/hub at 6/storage at 1/disk at 0,0 Connected Device: Hitachi HDT725032VLA360 A7EA Device Type: Removable 9. Logical Node: /dev/rdsk/c7t0d0s2 Physical Node: /pci at 0,0/pci108e,cb84 at 2,1/hub at 6/storage at 2/disk at 0,0 Connected Device: Hitachi HDT725032VLA360 A7EA Device Type: Removable 10. Logical Node: /dev/rdsk/c7t0d0p0 Physical Node: /pci at 0,0/pci108e,cb84 at 2,1/hub at 6/storage at 2/disk at 0,0 Connected Device: Hitachi HDT725032VLA360 A7EA Device Type: Removable # zpool status pool: external 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 external UNAVAIL 0 0 0 insufficient replicas raidz2 UNAVAIL 0 0 0 insufficient replicas c5t0d0s0 UNAVAIL 0 0 0 cannot open c6t0d0s0 UNAVAIL 0 0 0 cannot open c7t0d0s0 UNAVAIL 0 0 0 cannot open -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080229/85fd553b/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3361 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080229/85fd553b/attachment.bin>