I'm attempting to figure out the least wrong way to go about adding custom
configuration to the /kernel/drv/sd.conf file on a SmartOS system.  I'm not
seeing an obvious way.  Why I'm attempting to do this follows.

I've been handed hardware to prototype an SDC deploy upon.  I've spent most
of a day attempting to figure out how to get SmartOS to start.  I'm using
Dell R820 servers, with the PERC H310 raid controller with all the drives
set to pass through.

Attempting to install SDC or SmartOS results in the symptoms of multiple
messages of "WARNING: Device <path> failed to power up", and creation of
the zones pool to fail, with the installer bombing out in a weird spot,
with little help to tell me what had happened.

Researching that error message lead me to the thread at
http://marc.info/?l=zfs-discuss&m=133715468013989&w=2 which gave me enough
to figure out that if I add the following configuration to
/kernel/drv/sd.conf, and reload the sd driver, I get a functional system.

sd-config-list= "SEAGATE ST9146853SS", "power-condition:false", <existing
entries>;

This configuration line is sadly not generic and specifies the model of
drives I have to work with.

Now obviously, I can't really do this kernel configuration change as a
service, because all of those would be on the zones pool, on the disks that
won't work before this configuration is applied.

I'm not particularly familiar with what parameters I can pass at boot time
to the Illumos kernel.  Taking the Joyent official images and doing a
repeatable small alteration to the boot parameters seems like a reasonable
path. I don't know if it's possible, or how.

The other option I can come up with is doing a custom build of SmartOS, and
eventually SDC to incorporate the parameters I need.

Are there any other options?

Thank you.



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to