-
aru
Hi, I'm trying to boot smartos on lenovo p50 over the network. It boots into the setup "wizard", but apparently it's not picking up neither the built-in keyboard nor an external usb one. Any ideas?
-
duncan
Thinkpads need a special driver for keyboards and various IO IIRC
-
aru
Hrm, I tried a different machine (an old desktop) and that one didn't pick up the keyboard either, so maybe it's not a ThinkPad specific thing?
-
neuroserve
aru : have you checked all usb-ports (if there are more than one)?
-
bahamat
aru: See if your bios has an emulation mode for USB input devices.
-
jesse_
wasn't there problems like that with some usb3 chips, disabling xhci or enabling/forcing usb2 in bios helped??
-
jesse_
or was that just a problem with the xhci driver initially
-
aru
I must admit I have not checked all USB ports yet
-
jvl
aru: you might be able to install in VM and if you change the MAC address, you can just flash image onto internal drive and access over network.
-
aru
yeah, I was wondering if something like that would be possible
-
aru
but it feels a bit hacky
-
aru
isn't there a way to provide a pre-made answers and have the installation happen without any manual intervention?
-
jvl
no idea
-
jvl
what you could also do is install to USB drive elsewhere, change mac, boot on your laptop, add internal drive to zpool as mirror and remove the USB one
-
jvl
(after resync)
-
aru
right
-
aru
guess that's the way I'll go
-
jvl
if you'll netboot, you
-
jvl
you'll be fine
-
jvl
if you'll want to boot from the internal drive, you might need to refresh stuff with piadm (in booted system)
-
jvl
and if you'll be creating pools manually, don't forget zpool create -B (bootable).
-
jvl
or you can always boot from the usb stick
-
bahamat
aru: You can actually do an automated setup. It's just not documented.
-
bahamat
It's documented for Triton, and it's similar for standalone.
-
bahamat
I'll actually create the doc for it right now.
-
aru
much appreciated
-
aru
I'll toy with the install-in-vm-and-move in the meantime
-
aru
hrm, so I created a vm with an external disk and a nic which had a mac address that the real machine will then have, installed it to the external disk, could ssh to it. I shut the vm down, plugged the external drive into the real machine, booted it over network and so far so good
-
aru
except I can't ssh to it, I get connection refused. Anything obvious I missed?
-
bahamat
Check the display for SMF errors, I think it should show you if something went wrong.
-
bahamat
Other than that, make sure the config has the right mac address.
-
aru
doesn't show anything, just the login prompt
-
aru
and according to dhcp logs I got the mac address right
-
bahamat
Can you ping it?
-
aru
yup
-
bahamat
then I don't see why it wouldn't start ssh.
-
bahamat
Unless you can get on a console you're going to have to do something like mount the pool elsewhere and look at what the logs say.
-
aru
I'm wrapping it up for today, I'll continue tomorrow
-
dvdg
Hi! My system went down and won't come back up; just had my first look at the screen and it panics on boot: "blkptr at %p has invalid TYPE 220" (in dsl_scan_prefetch_thread > arc_read > zio_read > zfs_blkptr_verify). Any ideas where I might start looking to debug/resolve that?
-
aru
I couldn't let it go so I tried once more, just before the login prompt I get "cannot mount /zones: directory not empty" and "svc:/system/filesystem/local:default: WARNING: /usr/sbin/zfs mount -a failed: exit status 1" and that that service failed fatally and transitioned to maintenance. could that be the culprit?
-
dvdg
aru: Yes, that might indeed be. The network/ssh service depends on filesystem/local, so if that one fails the SSH server wouldn't come up. It's curious though that the directory where it's trying to mount /zones would be non-empty.
-
dvdg
Wonder whether there is another filesytem/pool attached to the system that already has a /zones? Then I can imagine it trying to mount those two in the same place, and erroring because after the first mount happened it's no longer empty. (Just guessing, not sure if that would give this exact error message.)
-
aru
huh
-
aru
that actually could be
-
aru
sigh, guess that's what I get for not purging systems before trying to put something else on top of them
-
Guest4668
Should linux guests have the ability to set hugepages with bhyve HVM?
-
Guest4668
This is barfield, not sure why my nick isn't updating
-
aru
And apparently keyboard works when I boot from a USB stick
-
TyrfingMjolnir
How can I backup BHYVE zone?
-
bahamat
Depends on your definition of backup.
-
bahamat
You can zfs send the datasets and zoneadm export the config.
-
TyrfingMjolnir
In a complete restorable fashion
-
TyrfingMjolnir
In a way that makes me able to enable the backup on a different smart node
-
Guest4668
You want to use a backup solution for that.
urbackup.org
-
TyrfingMjolnir
So let's say I have sn03BHYVEWindowsFileMakerServer03 running on sn03, and I would like to move this instance to sn09
-
barfield
Sounds like a migration to me
-
TyrfingMjolnir
Sure.
-
bahamat
If you're using Triton, then just use sdc-migrate.
-
barfield
bahamat: does vmadm send/receive work on bhyves?
-
TyrfingMjolnir
bare back smartos
-
TyrfingMjolnir
No HTML5, only the regular CLI
-
bahamat
I think it does, but you have to work around OS-6789
-
jinni
-
barfield
That seems easy enough. TyrfingMjolnir: vmadm send <VM_UUID> | ssh root@sn09 'vmadm receive' should do the trick. Just create the zones dataset as mentioned in that bug after it finishes on the destination node.
-
barfield
then `vmadm start <VM_UUID>`
-
barfield
whoops, I meant zones/cores/UUID
-
barfield
W2k3 runs on bhyve? Or is this a KVM?
-
bahamat
Ok, I just figured out a way easier way to deal with that.
-
bahamat
After vmadm recv, do `zoneadm -z <uuid> detach ; zoneadm -z <uuid> attach`, and it will automatically recreate the cores dataset.