/srv/irclogs.ubuntu.com/2018/12/18/#ubuntu-server.txt

Gizmo3Dany 18.04 guru's around?03:14
sarnoldit depends on the question03:16
Gizmo3Dah! root is 100% full, sda is 2tb, but sda3 appears not being used03:17
Gizmo3Dwould you know the proper procedure to extend03:20
sarnoldwas the intention to use sda3 for /home and it wasn't? how did it come to be partitioned in a way that one partition isn't used?03:21
Gizmo3Dnot sure, was a clean load, all space should be avail to root03:22
Gizmo3Di didn't specify any partitooning during install03:23
bindidid you just install?03:23
Gizmo3Dyesterday03:23
bindireinstall and do it properly03:23
Gizmo3Di wish, i put into production before i noticed space was messed up03:24
AndyChow888Hey Gizmo3D. What's your issue?03:24
Gizmo3Droot full, sda is 2tb, sda3 doesn't seem to be a part of it03:25
AndyChow888What's your output on lsblk?03:26
Gizmo3Dhttps://paste.ubuntu.com/p/Jyh8VYQNCV/03:27
AndyChow888Well, your / is on sda3, it's just the lvm that is 4G, instead of 1.8T03:28
Gizmo3Dso how can i fix that03:29
AndyChow888You could do something like "lvextend -L+1T", as su. That would give you an extra terabyte.03:31
Gizmo3Dsyntax03:32
AndyChow888Gizmo3D, give me the outputs of pvscan and lvdisplay03:38
Gizmo3Dk 1 sec03:39
Gizmo3Dhttps://paste.ubuntu.com/p/XqHhHmCnWG/03:41
AndyChow888So 0"lvextend -L+1T /dev/ubuntu-vg/ubuntu-lv"03:44
Gizmo3Dk that seems to have worked but.. https://paste.ubuntu.com/p/K4HyQ63GDq/03:46
Gizmo3Di see the /dev/mapper.... still at 100%03:50
AndyChow888Can you run df -lh?03:51
AndyChow888I can't read your output03:51
Gizmo3Dhttps://paste.ubuntu.com/p/NjX8r8zf6s/03:51
Gizmo3Dhow about: resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv03:53
AndyChow888Oh, are you using encryption?03:54
AndyChow888Gizmo3D, don03:54
AndyChow888't resize2fs on a mounted partition.03:54
Gizmo3Dnot that i'm aware of03:54
Gizmo3Dthus i asked lol03:55
AndyChow888Try "lvextend -L+1T /dev/mapper/ubuntu-vg/ubuntu-lv"03:55
Gizmo3Dnot enough space left lol, do i reclaim the 1t03:56
AndyChow888Try "lvextend -L+500G /dev/mapper/ubuntu-vg/ubuntu-lv"03:56
Gizmo3Dhmmm, that extended but df -lh didn't adjust, wonder if a reboot is in order03:58
mybalzitchmount -o remount03:58
Gizmo3Dmount -o remount03:58
Gizmo3Dlol03:58
mybalzitchmount -o remount /dev/mapper/ubuntu-vg/ubuntu-lv03:58
AndyChow888Given that that's root, I doubt it will work. You could try rebooting it. But if this is a production server, can you really reboot?03:59
Gizmo3Dyup, no one logged on right now, gone home03:59
Gizmo3Dmount said mount point does not exist04:00
Gizmo3Drebooting for the hell of it04:01
AndyChow888do you have a /etc/crypttab file?04:01
Gizmo3Dtoo late04:01
Gizmo3Dhave to wait a few mins04:01
AndyChow888Once it has rebooted, check if it does. If it does, check carefully that it does not contain actual passwords, and paste the output. If it contains passwords, replace them with "password" in the paste.04:03
Gizmo3Dk04:03
Gizmo3Dcryptab is blank04:05
Gizmo3Ddf -lh still says 100% on /dev/mapper/....04:06
AndyChow888Gizmo3D, crypttab, two t.04:06
Gizmo3D???04:07
Gizmo3Dcrypt tab just has the commented header formats04:07
AndyChow888Do you have a file called /etc/crypttab?04:08
Gizmo3Dyup04:08
AndyChow888Oh, everything is commented?04:08
Gizmo3Dno entries04:08
Gizmo3Dyup, just 1 line04:08
Gizmo3Di don't even see where that 1T and 500g went04:10
AndyChow888Your lvdisplay output still shows LV size as 4.00GiB?04:10
Gizmo3Dnope that is showing 1.4904:10
Gizmo3Dso space is there but the /dev/mapper/.. still 100% used04:12
AndyChow888Gizmo3D, try pvresize /dev/sda304:16
AndyChow888I don't think it will do anything, but I'm out of ideas.04:17
Gizmo3D1 physical volume(s) resized / 0 physical volume(s) not resized04:17
AndyChow888Humm. did it work?04:18
Gizmo3Dnope, same results04:18
Gizmo3DAndy, I did a resize2f /dev/mapper/ubuntu--vg-ubuntu--lg-root04:29
Gizmo3Dtook about 30sec04:29
Gizmo3Ddf -lh good, rebooted, df still good04:29
AndyChow888Ok, great.04:33
AndyChow888resize2f can be dangerous, but I'm glad it worked in your case.04:33
Gizmo3Dthank you for your help, just saved me from rebulding an email server from scratch04:34
Gizmo3Dwould have sucked putting together a temp, migrate, build new and migrate all back04:35
AndyChow888You should still do that, eventually, as your server doesn't seem well configured.04:39
Gizmo3Dafter xmas, no need to mess up holidays04:40
lordievaderGood morning08:34
=== rchavik_ is now known as rchavik
kstenerudDoes anyone know how to fix this kind of error in git-ubuntu:11:26
kstenerud$ git ubuntu merge finish ubuntu/devel --bug 180831911:26
kstenerud12/18/2018 11:41:41 - ERROR:ubuntu/devel version (7.4.3+git20180713-1) is after debian/sid version (7.4.3+git20180713-1). Are you sure you want to merge? (Pass -f to force the merge).11:26
ubottubug 1808319 in logwatch (Ubuntu) "Please merge 7.4.3+git20180713-1 into disco" [Undecided,New] https://launchpad.net/bugs/180831911:26
[diablo]afternoon #ubuntu-server ... anyone know if there's local mirrors to the cloud images please? Bloody slow downloading from https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img11:38
cpaelzerthanks jamespage for the erlang fix!12:55
jamespagecpaelzer: yeah s390x rmq needs fixing13:00
Odd_Bloke[diablo]: I don't believe there is, I'm afraid.14:00
jamespagecpaelzer: raised https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/180898414:02
ubottuLaunchpad bug 1808984 in rabbitmq-server (Ubuntu) "s390x: erlang.cookie creation fails when changing file permissions" [Undecided,New]14:02
jamespagethe wrong permissions error was the second issue, caused by the automatic cookie creation failing to change permissions.14:03
smoserrbasak, cpaelzer loking for thoughts. i uploaded grub-legacy-ec214:15
smoser https://launchpad.net/ubuntu/+source/grub-legacy-ec214:15
smoserand then noticed that i had done so with '1:1ubuntu1' rather than what i think is probably more correct '1:2'14:15
smosershould i re-upload as 1:2 ?14:15
rbasaksmoser: I think both 1:1 and 1:2 are wrong.14:18
smoser:)14:18
smoserwhat is right?14:18
smoserthe 1: is due to change from it being part of cloud-init and under cloud-init's versioning14:19
smoserandthen separated out.14:19
rbasakI think you definitely need an "ubuntu" in there to avoid autosync from Debian in case they also upload a source package called grub-legacy-ec214:19
rbasakSo -0ubuntu1 etc14:19
rbasakPresumably with the epoch.14:19
rbasakSo 1:0ubuntu1 would have been right originally I think.14:20
rbasakAnd then 1:0ubuntu214:20
smoserso then 1:1ubuntu1 seems fine?14:20
rbasakBut I think 1:1ubuntu1 is fine for now and there isn't anything that can be solved with a new upload14:20
smoserthanks14:21
jamespagecpaelzer: ok so its something endian-y but my erlang is not good enough15:20
[diablo]cheers Odd_Bloke ,sorry only just seen the reply15:28
muhahaIs there any systemd audit log?  Or to view system activity I have to install auditd package and then look into /var/log/audit/audit.log ?15:53
balance1hi16:43
_13LACK_balance1: hi16:43
balance1so a friend has a ubuntu server and if he has a usb device plugged in he gets into maintenance mode. What could be the reason for that? I wasn't able to see anything problematic but then I don't know ubuntu at all and this part of linux also isn't my speciality.16:43
teward'maintenance mode' sounds like something specific to that server16:44
tewardwe'd need more information to try and help out16:44
tewardlike what exactly they're seeing, what error messages if any they see, what's on the USB device, etc.16:44
_13LACK_balance1: look the fstab line ... the fifth field and sixth field16:45
_13LACK_example: LABEL=t-home2   /home      ext4    defaults,auto_da_alloc      0  216:45
_13LACK_the "0" and "2" means frequency and order to filesystem checks at boot time16:46
_13LACK_balance1: maybe the fifth field (0 on this example) have a non-zero value16:48
balance1give me a min, I cna't look at it but I do have some logs and stuff, maby ethe fstab file was in there too16:49
balance1teward, he has a HP ProLiant Microserver Gen8 - I somehow assumed that maintenance mode is a ubuntu-server specific thing. _13LACK_ no fstab file atm but I looked at it and it seemed to just mount the hard disks and 1-2 partitions, nothing special. The usb device (e.g. a usb stick, he tried 1-2) aren't listed in the fstab file - why should they? or do you think it's possible that the order in the fstab files start at a16:53
balance1higher number, allowing an usb stick to "hijack" the lower and thus the server tries to boot form it? or what's your though here?16:53
tewardbalance1: sometimes if fstab refers to a USB device and one is connected it'll fail out16:56
tewardif misconfigured16:56
tewardbut that's usually rarer16:56
balance1I'll have to recheck, it might be possible since the usb device is a "dock" to change HDDs. I first thought it might get mounted using fstab but iirc it doesn't. I'll have to recheck. Sadly I can't just ssh on the server so what logs might be helpful here?16:58
_13LACK_balance1: I just think that someone had created a fstab mount line manualy to this USB drive.17:04
balance1_13LACK_, woudl make sense, I'll have to recheck17:07
_13LACK_balance1: Tell me... If remove USB drive from server and power on the server, it gets into maintence mode?17:08
_13LACK_balance1: If have a fstab mount line, try to set the numbers as "0 0"17:10
balance1_13LACK_, the server works fine if you start it without a usb drive inserted(port doesnt matter btw).  you can then plug it in once it's started up17:10
balance1_13LACK_, I'll check the file but atm I cant access it. so I'll have to wait17:10
_13LACK_balance1: ok... I just gave you an idea.17:11
_13LACK_balance1: I have to go now... I wish you good lucky17:12
muhahaIs there any systemd audit log in Ubuntu 18 by default?  Or to view system activity I have to install auditd package and then look into /var/log/audit/audit.log ,right ? ?18:45
DammitJimWhat is a good enterprise backup solution for laptops (that also run VMs)?20:51
DammitJimmaybe not a good question for ubuntu-server even though I picture the backup software running on a server...20:52

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