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.

About this Entry

This page contains a single entry by gozer published on September 5, 2006 11:19 PM.

VMWare Server command-line tools to the rescue was the previous entry in this blog.

A better Solaris Distro is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

  • uploaded

June 2008

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30