On Sun, 28 Dec 2008 11:48:10 +1000 "James C. McPherson" <james.mcpher...@sun.com> wrote:
> On Wed, 24 Dec 2008 09:57:01 -0800 (PST) > Michael McKnight <michael_mcknigh...@yahoo.com> wrote: > > > Hi folks, > > > > A little more info. When I run iostat -En, the drive is reported > > correctly: > > > > # iostat -En > > cmdk0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 > > Model: ST31500341AS Revision: Serial No: 9VS Size: > > 1500.30GB <1500295200768 bytes> Media Error: 0 Device Not Ready: 0 No > > Device: 0 Recoverable: 0 Illegal Request: 0 > > > > But notice how it is listed as cmdk0 rather than cXtXdX -- how do I get it > > to register the device files for the drive? If I can get that part done, > > maybe I can get a label written. Right now everything I try fails because > > there is no device (ie /dev/rdsk/c1t0d0) to work with. > > Your device is attached with to a controller operating in > legacy / P-ATA mode rather than to a controller operating > in SATA mode. > > I don't recall whether you mentioned what motherboard or > HBA you are attaching the drives with, but if you can set > the attachment type in the BIOS to "AHCI" then the drive > should show up using the cXtYdZ notation that we all know > and love. > > The cXdZ notation is an artefact of how we do PATA support, > and I sure hope that it's not getting in the way of you > writing a label. I would not expect that cmdk would prevent > it, but I don't know the insides of cmdk all that well. Actually, I was a little hasty with that response - sorry. I am surprised that "iostat -En" output is not showing you the cXdZ name, but it occurs to me that perhaps you need to do either * reconfiguration reboot (add -r to kernel$ line in grub) or * run devfsadm -i cmdk before the devlink is generated for you. James C. McPherson -- Senior Kernel Software Engineer, Solaris Sun Microsystems http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog _______________________________________________ storage-discuss mailing list storage-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/storage-discuss