-
divansantana
Any suggestions on what to do if the nic is not detected during the OS install/reboot?
-
warden
it's the 1st time I add an HDD to a hot-swap backplane of a server running illumos... sorry for the stupid question: how can I find the path (in /dev/) of the new added device?
-
warden
for the record, "devfsadm -v" does not display any output
-
andyf
Do you have the `hotplug` service enabled? Does the device show up in the output of `cfgadm`?
-
warden
aha, the 'hotplug' service is not enabled.... let me enable it and retry!
-
andyf
I do wonder if that should be on by default these days...
-
warden
even enabling it, the newly plugged disk does not appears in 'cfgadm' output, I'm rebooting...
-
warden
after reboot it shows up: "sata2/27::dsk/c3t27d0"
-
andyf
Oh, sata. I don't have a lot of experience with that. I don't remember if auto-online is enabled for default.
-
warden
but I just detached the same disk and it still appears as "connected" in 'cfgadm' output (and now the hotplug service is enabled and running)... :'(
-
warden
sorry, coming from FreeBSD is all new for me: I'm used to plug in a disk, then the kernel logs the new available device and I'm ready to use it... how the same process works in illumos/OmniOS?
-
tsoome
warden you may need to use cfgadm -c configure and cfgadm -c unconfigure. unconfigure only succeeds if the disk is not in use. (modulo bugs)
-
warden
tsoome: thanks, I just did it, but it looks like I'm issuing the wrong set of parameters... here it is the output:
paste.omnios.org/?fcb38f3b35363ac4#…DvJ79omPmm4bsyX6pozZuhA1xkvKXFFuVNn
-
warden
Sorry I used the wrong ap_id code, here it's the output with the right one:
paste.omnios.org/?3d24f3c101ff6c17#…X9J1iwNwR1oaW58cg3bQ1KiYYmwjka2if3q
-
tsoome
what you get from this one: cfgadm -al
-
warden
here it is without any disk inserted (the system is installed onto a M.2 drive):
paste.omnios.org/?2497bb7fc4e0c986#…tKvLP8RX4t9EMeCwon1XZSvqRjfoedYxQKe
-
tsoome
ok and if you insert the disk and run cfgadm -c configure sata2 ?
-
warden
it outputs me the usage help, as if I used wrong parameters (stderr = 3)
-
tsoome
ok, so it wants the slot if too.
-
tsoome
slot id*
-
tsoome
and with slot id, you also will get the error message?
-
warden
-
tsoome
so, are you sure it was connected to sata2/27 ?
-
tsoome
does it tell anything in dmesg output?
-
warden
I'm sure of that ap_id because I read it with the disk inserted since the OS boot. Nothing from the dmesg output by hot-inserting the disk. But I read a 'disconnected' event in dmesg after removing the disk which was present since boot.
-
warden
maybe hot-swapping is not supported by the driver for this SATA controller in illumos (I successfully tested it with FreeBSD on the same hardware)
-
tsoome
yes, that can be the case. assuming, the hw itself does support hot-insert and hot-remove.
-
warden
since hot-plugging works with FreeBSD, maybe it's the illumos driver. So my resolution ability stops here! :) Tanks for your time!
-
tsoome
tbh, I'm not too sure what is the exact state of sata support too. There ate not that many sata/ahci related updates over the years....
-
szilard
Hi. I just created my first PR:
omniosorg/omnios-extra #1601 Could you check pls?
-
jclulow
It looks like OmniOS has "set sata:sata_auto_online=1" in system(5) so I would expect, absent driver bugs, that the system would automatically online SATA disks