-
bennabiy
Anyone got time for a hopefully quick question?
-
nikolam
bennabiy, shoot, quick :P
-
nikolam
Don't ask to ask, just ask. As always :P
-
bennabiy
haha
-
bennabiy
Sorry, bad habit
-
bennabiy
Two questions to start: first - I am trying to get my SSH key set for root authentication on global but it does not seem to be working
-
bennabiy
second, Is it possible to take an encrypted luks external drive and pass it through to a zone / vm?
-
tsoome_
-
bennabiy
I have done that, but it keeps rejecting the key... do I need to reboot for the change to take place?
-
bennabiy
I know I shouldn't have to
-
tsoome_
it may be needed, depending -- you have rootfs on ramdisk and on boot, the local "customizations" are added - from usbkey. if you update data on key, something needs to populate that data to rootfs....
-
bennabiy
That makes sense
-
bennabiy
rebooting and will test it
-
tsoome_
there may be service to restart to get it populated, but I really havent checked about those details myself.
-
bennabiy
reboot was simple enough. worked
-
bennabiy
As to the hard drive issue... any thoughts on that?
-
tsoome_
whole drive on luks?
-
bennabiy
yes
-
bennabiy
external USB
-
bennabiy
It has been a while since I have used SmartOS last... 2017 or so
-
tsoome_
for luks, afaik you would need linux, right.. because illumos itself does not provide luks.
-
tsoome_
and basically that means bhyve vm - and you can provide disk device for bhyve.
-
bennabiy
ok... so I can pass the whole drive to it through bhyve
-
tsoome_
yep. now the tricky question would be, if you can pass it as usb storage device or just as virtual disk device
-
tsoome_
the difference is about what will happen on disconnects.
-
bennabiy
I think I am going to duplicate it to a USB thumbdrive and test with non vital data
-
bennabiy
can I pass a disk to LX or just bhyve?
-
tsoome_
LX wont help unless you have userspace luks driver
-
bennabiy
That is what I thought
-
tsoome_
LX is passing linux syscalls to illumos kernel where those calls are translated
-
bennabiy
Can you remind me the proper illumos way of getting non ZFS drive info to be able to fill in my JSON config?
-
bennabiy
Sorry, it has been years since I have worked in this environment
-
tsoome_
whole disk device ends with p0
-
bennabiy
thanks