Hi, I''m trying to get Solaris 10U6 on a old V240 with two new Seagate disks using zfs as the root filesystem, but failed with this status: ---------------------------------------------------------------------- # zpool status pool: rpool state: DEGRADED status: One or more devices could not be used because the label is missing or invalid. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Replace the device using ''zpool replace''. see: http://www.sun.com/msg/ZFS-8000-4J scrub: none requested config: NAME STATE READ WRITE CKSUM rpool DEGRADED 0 0 0 mirror DEGRADED 0 0 0 3665986270438154650 FAULTED 0 0 0 was /dev/dsk/c0t0d0s0 c0t1d0s0 ONLINE 0 0 0 errors: No known data errors ---------------------------------------------------------------------- I think the reason are nonunique devids for both drives ---------------------------------------------------------------------- # zdb -l /dev/dsk/c0t0d0s0 | egrep devid | head -1 devid=''id1,sd at n5000000000000000/a'' # zdb -l /dev/dsk/c0t1d0s0 | egrep devid | head -1 devid=''id1,sd at n5000000000000000/a'' ---------------------------------------------------------------------- How is this ''devid'' generated and who makes sure these devids will getting unique? And will Update 7 or OpenSolaris help? Any help is appreciated. Willi P.S. here some more informations about the drives: Disk 0: SN: 3LM63XBW Model: ST3300655LC Firmware: 0003 LOT No: A-01-0925-3 Disk 1: SN: 3LM62RDB Model: ST3300655LC Firmware: 0003 LOT No: A-01-0925-3
James C. McPherson
2009-May-26 12:59 UTC
[zfs-discuss] nonunique devids with Solaris 10 zfs
On Tue, 26 May 2009 10:19:06 +0200 Willi Burmeister <wib at cs.uni-kiel.de> wrote:> Hi, > > I''m trying to get Solaris 10U6 on a old V240 with two new Seagate disks > using zfs as the root filesystem, but failed with this status: > > ---------------------------------------------------------------------- > # zpool status > pool: rpool > state: DEGRADED > status: One or more devices could not be used because the label is missing or > invalid. Sufficient replicas exist for the pool to continue > functioning in a degraded state. > action: Replace the device using ''zpool replace''. > see: http://www.sun.com/msg/ZFS-8000-4J > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > rpool DEGRADED 0 0 0 > mirror DEGRADED 0 0 0 > 3665986270438154650 FAULTED 0 0 0 was /dev/dsk/c0t0d0s0 > c0t1d0s0 ONLINE 0 0 0 > > errors: No known data errors > ---------------------------------------------------------------------- > > I think the reason are nonunique devids for both drives > > ---------------------------------------------------------------------- > # zdb -l /dev/dsk/c0t0d0s0 | egrep devid | head -1 > devid=''id1,sd at n5000000000000000/a'' > > # zdb -l /dev/dsk/c0t1d0s0 | egrep devid | head -1 > devid=''id1,sd at n5000000000000000/a'' > ---------------------------------------------------------------------- > > How is this ''devid'' generated and who makes sure these devids will > getting unique? And will Update 7 or OpenSolaris help?Yes, that''ll be the most likely cause of the problem. The devid is generated from the SCSI INQUIRY Page83 data if that''s available, or Page80 if not, or faked in some cases. You can read more about devids in my presentation on them http://www.jmcp.homeunix.com/~jmcp/WhatIsAGuid.pdf> P.S. here some more informations about the drives: > > Disk 0: > SN: 3LM63XBW > Model: ST3300655LC > Firmware: 0003 > LOT No: A-01-0925-3 > > Disk 1: > SN: 3LM62RDB > Model: ST3300655LC > Firmware: 0003 > LOT No: A-01-0925-3I would have hoped that new Seagate disks would be providing a correct response to the Page83 inquiry. James C. McPherson -- Senior Kernel Software Engineer, Solaris Sun Microsystems http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog Kernel Conference Australia - http://au.sun.com/sunnews/events/2009/kernel