/srv/irclogs.ubuntu.com/2018/11/10/#ubuntu-server.txt

jayjois there anything wrong with a process that just sleeps instead of cron handling it? It is being managed by supervisord so it should handle failures, but is there any reason why this shouldn't be done?01:58
sarnoldit's perfectly fine01:59
JanCjayjo: it should be fine as long as it doesn't leak memory, I guess...04:02
JanCor suffers from significant memory fragmentation04:05
unshackledanyone know how to stop ubuntu server from sleeping when a laptop lid gets closed?05:05
=== crimastergogo_ is now known as crimastergogo
vltunshackled: Is X running?07:38
chillagepart #ubuntu-server08:48
tewardugh FINALLY I can get back to work on nginx >.>16:19
teward(upgraded my laptop from 16.04 -> 18.04 in place, which exploded, thankfully I had a full disk image of 16.04 so I could blast away the failed upgrade with clean 18.04 and restore data...)16:20
teward(three days later and I finally have things working again >.<)16:20
pannehi, i'm running ubuntu-server 14.04.5 on an UEFI system, with LVM on (dm-)RAID1. Now I want to install 18.04.1 besides the working installation (i.e. on another, dedicated LV), and switch to the new ubuntu server installation when everything's working fine. Now, my questions are a) is GRUB able to boot from a logical volume stacked on top of a dm-raid, without an extra boot partition? (Currently, my root is outside the LVM, just on RAID)21:58
panneb) is it possible to put the EFI partition into a RAID too, without disturbing the UEFI?21:59
panneand c) (or maybe it's belonging to b, too) can the UEFI firmware probably handle multiple EFI partitions on different hard disks?22:01
tomreynpanne: dm-raid (proprietary hardware / fakeraid) or mdraid (software raid / intel fakeraid)?22:03
tomreyndoes the system currenlty boot in uefi mode? or CSM/legacy bios?22:05
tomreynESP must remain a partition on a partitoned disk, intermediary layer such as software raid and lvm wont work since the firmware doesn't understnd those.22:06
pannetomreyn: oh, uh... how do i tell? i think it's software raid (it's administrated via mdadm!), so probably mdraid? But the devices are named dm-##, for that i thought it would be dm-raid...22:07
tomreynyou can have multiple ESPs on different disks, but the firmware will only use the first one it comes across 8but at least this allows for a manual failover scenario).22:07
pannebooting in uefi mode - don't think, the box has CSM at all (it's IBM System X server)22:08
tomreynwhat you manage with mdadm is md raid, not dm-raid22:08
panneah, ok22:08
tomreynyou can have /boot on md raid-1, / on lvm2 on top of md raid-1.22:10
tomreyni *think* you can also have /boot on  lvm2 on top of md raid-1 but it can get finnicky.22:10
pannedm is device mapper, i think? does md use dm? (because, the raid and lv devices have all symlinks in /dev/mapper/ ...)22:12
pannei'm a little confused... ^^22:15
pannetomreyn: do you have any hints where i could read more about grub, boot/root, lvm and mdraid interaction?22:15
panneI'm reading through the grub mailing lists since almost 2 days, to find similar setups/problems, but ... not really helpful22:17
panne(almost more confusing the more i read .)22:18
tomreynlvm uses device mapper and dmcrypt-luks does, but i think md does not.22:19
tomreynpanne: arch wiki is often a good resource for reading up on pitfalls of custom configurations, ubuntu's wiki covers the scenarios the installers support, and sometimes more than those.22:20
pannetomreyn: well, you're right - just looked again: the root fs is named md0, not dm-0; aand it's not in /dev/mapper/... Arch wiki, yes! I will have a look, thank you very much!22:25
tomreynyou're welcome, good luck.22:25
tomreynpanne: if you're unsure what layers you have right now, lsblk can usually point you in thw right direction.22:27
sevynosHi there. Anybody available to help me repair a server booting problem?23:15
sevynosAnybody here at all?23:30
pannesevynos: yes, with half an eye... ;)23:44
sevynoslol, so I hope you don't need glasses on that half eye ;)23:45
pannesevynos: what's your problem?23:45
sevynosAre you good at boot and kernel issues?23:45
pannewell... ATM i've some questions about booting things myself, but tell your problem - if i'm not able to help, maybe someone other is23:47
panne(and my problems are somewhat special, i do think .)23:48
tomreyni.e. don't ask to ask on irc.23:48
sevynosI had a boot partition full issue. I tried to do a autoremove but it always failed because it had no room to work (so I guess).  So I manually removed unused kernels. After system was unable to boot. I used Boot repair with a live cd and it all messed up the system.23:49
pannesevynos: with "manually removed", do you mean "rm" or "apt remove/purge"?23:51
sevynoswith dpkg23:51
tomreyn'boot repair' (not a supported utility here AFAIK) tends to do fail occasionally. chances are you now got an unbootable system and need to chroot from a live system to revive it.23:52
sevynosThat's what I want to do but i'm no expert at linux so I tried to find the procedure to follow without sucess23:54
tomreynbefore you do this you should probably try all kernel versions listed on grub's "advanced" submenu though, may still work and save you time.23:54
sevynosboot repair messed up my grub. Now I only have two entries about EFI systems and none of them work23:55
tomreynhttps://askubuntu.com/questions/28099/how-to-restore-a-system-after-accidentally-removing-all-kernels23:58
sevynostomreyn: Thanks, I will look at that.23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!