Apr. 28th, 2011

This should not be difficult, and it isn't, really, but it's poorly documented outside the horror that is the Oracle support site and I just wasted several hours on it, so figure it may as well get some sort of documentation on the open Web.

Usually when you add a disk to a Solaris system you can just run "cfgadm -al" and you'll see the new disk in the list. You may need to run "cfgadm -c configure [device]" to bring it online, but once you've done that you're all set and can manipulate it as needs be.

However, if you have the fancy LSI MegaRAID controller -- which you likely will if you have more than two spindles -- it takes a bit more faffing about. You can of course reboot the box and go into the poorly named "web" intertface (which has no connection to the Web at all, and is in fact an annoyingly mouse-driven and keyboard-hostile "GUI" which really doesn't work at all well if you're on a different continent to the machine!) but this is sub-optimal.

Theer's also the pre-boot CLI, which is an abomination.

So you want the MegaCli tool, which you can get from Oracle if you have a support contract. It's on the "Drivers & Tools" ISO. It's an 8MB package, but you'll have to download the ~400MB zip file for the full ISO to get it.

The commands you'll want to run are:

./MegaCli -PDList -aALL

Look over the list of physical devices, the new one will be marked "unconfigured". You also want to note the "enclosure" number, every one of these I've touched has used 252 for the internal disks. Let's assume the disk is in adapter 1, enclosure 252, slot 5:

./MegaCli -CfgLdAdd -r0 [252,5] -a1

You should now be able to see the disk in "cfgadm -al", and it should already be "configured".

From here it's just the usual deal. Chances are the disk isn't really ready for Solaris, so assuming it appears as target 2 on controller 0 you'll need to run:

fdisk /dev/rdsk/c0t2d0s2

before you can usefully do much with 'format'. 'fmthard' will probably work without this, but it's best to do it anyway.

The following page is incredibly helpful. Dell PERC is just LSI MegaRAID, so it's all the same:

DELL PERC5/i Integrated (LSI Logic MegaRAID)
– Emergency Cheat Sheet


Abort, Rephrase, Ignore?

October 2011

2 345678

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags