« VMWare Server command-line tools to the rescue | Main | A better Solaris Distro »

September 5, 2006

And is it /dev/dsk/c0t0d0s2 or /dev/dsk/c2t0d2s0??

It's a quick and dirty Solaris trick, but I better write it down or I'll forget.

When faced with the annoying question: "And what drives are in this box again?", don't get all confused anymore, and call format(1) to the rescue.

$> format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <IBM-DXHS18Y-0430 cyl 8152 alt 2 hd 20 sec 218>
          /pci@1f,4000/scsi@3/sd@0,0
       1. c0t1d0 <IBM-DXHS18Y-0430 cyl 8152 alt 2 hd 20 sec 218>
          /pci@1f,4000/scsi@3/sd@1,0

Certainly not exactly what it was intended for, but it worked for me and I hope I never forget it again.

Posted by gozer at September 5, 2006 11:19 PM