Gizmo3D | any 18.04 guru's around? | 03:14 |
---|---|---|
sarnold | it depends on the question | 03:16 |
Gizmo3D | ah! root is 100% full, sda is 2tb, but sda3 appears not being used | 03:17 |
Gizmo3D | would you know the proper procedure to extend | 03:20 |
sarnold | was 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 |
Gizmo3D | not sure, was a clean load, all space should be avail to root | 03:22 |
Gizmo3D | i didn't specify any partitooning during install | 03:23 |
bindi | did you just install? | 03:23 |
Gizmo3D | yesterday | 03:23 |
bindi | reinstall and do it properly | 03:23 |
Gizmo3D | i wish, i put into production before i noticed space was messed up | 03:24 |
AndyChow888 | Hey Gizmo3D. What's your issue? | 03:24 |
Gizmo3D | root full, sda is 2tb, sda3 doesn't seem to be a part of it | 03:25 |
AndyChow888 | What's your output on lsblk? | 03:26 |
Gizmo3D | https://paste.ubuntu.com/p/Jyh8VYQNCV/ | 03:27 |
AndyChow888 | Well, your / is on sda3, it's just the lvm that is 4G, instead of 1.8T | 03:28 |
Gizmo3D | so how can i fix that | 03:29 |
AndyChow888 | You could do something like "lvextend -L+1T", as su. That would give you an extra terabyte. | 03:31 |
Gizmo3D | syntax | 03:32 |
AndyChow888 | Gizmo3D, give me the outputs of pvscan and lvdisplay | 03:38 |
Gizmo3D | k 1 sec | 03:39 |
Gizmo3D | https://paste.ubuntu.com/p/XqHhHmCnWG/ | 03:41 |
AndyChow888 | So 0"lvextend -L+1T /dev/ubuntu-vg/ubuntu-lv" | 03:44 |
Gizmo3D | k that seems to have worked but.. https://paste.ubuntu.com/p/K4HyQ63GDq/ | 03:46 |
Gizmo3D | i see the /dev/mapper.... still at 100% | 03:50 |
AndyChow888 | Can you run df -lh? | 03:51 |
AndyChow888 | I can't read your output | 03:51 |
Gizmo3D | https://paste.ubuntu.com/p/NjX8r8zf6s/ | 03:51 |
Gizmo3D | how about: resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv | 03:53 |
AndyChow888 | Oh, are you using encryption? | 03:54 |
AndyChow888 | Gizmo3D, don | 03:54 |
AndyChow888 | 't resize2fs on a mounted partition. | 03:54 |
Gizmo3D | not that i'm aware of | 03:54 |
Gizmo3D | thus i asked lol | 03:55 |
AndyChow888 | Try "lvextend -L+1T /dev/mapper/ubuntu-vg/ubuntu-lv" | 03:55 |
Gizmo3D | not enough space left lol, do i reclaim the 1t | 03:56 |
AndyChow888 | Try "lvextend -L+500G /dev/mapper/ubuntu-vg/ubuntu-lv" | 03:56 |
Gizmo3D | hmmm, that extended but df -lh didn't adjust, wonder if a reboot is in order | 03:58 |
mybalzitch | mount -o remount | 03:58 |
Gizmo3D | mount -o remount | 03:58 |
Gizmo3D | lol | 03:58 |
mybalzitch | mount -o remount /dev/mapper/ubuntu-vg/ubuntu-lv | 03:58 |
AndyChow888 | Given 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 |
Gizmo3D | yup, no one logged on right now, gone home | 03:59 |
Gizmo3D | mount said mount point does not exist | 04:00 |
Gizmo3D | rebooting for the hell of it | 04:01 |
AndyChow888 | do you have a /etc/crypttab file? | 04:01 |
Gizmo3D | too late | 04:01 |
Gizmo3D | have to wait a few mins | 04:01 |
AndyChow888 | Once 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 |
Gizmo3D | k | 04:03 |
Gizmo3D | cryptab is blank | 04:05 |
Gizmo3D | df -lh still says 100% on /dev/mapper/.... | 04:06 |
AndyChow888 | Gizmo3D, crypttab, two t. | 04:06 |
Gizmo3D | ??? | 04:07 |
Gizmo3D | crypt tab just has the commented header formats | 04:07 |
AndyChow888 | Do you have a file called /etc/crypttab? | 04:08 |
Gizmo3D | yup | 04:08 |
AndyChow888 | Oh, everything is commented? | 04:08 |
Gizmo3D | no entries | 04:08 |
Gizmo3D | yup, just 1 line | 04:08 |
Gizmo3D | i don't even see where that 1T and 500g went | 04:10 |
AndyChow888 | Your lvdisplay output still shows LV size as 4.00GiB? | 04:10 |
Gizmo3D | nope that is showing 1.49 | 04:10 |
Gizmo3D | so space is there but the /dev/mapper/.. still 100% used | 04:12 |
AndyChow888 | Gizmo3D, try pvresize /dev/sda3 | 04:16 |
AndyChow888 | I don't think it will do anything, but I'm out of ideas. | 04:17 |
Gizmo3D | 1 physical volume(s) resized / 0 physical volume(s) not resized | 04:17 |
AndyChow888 | Humm. did it work? | 04:18 |
Gizmo3D | nope, same results | 04:18 |
Gizmo3D | Andy, I did a resize2f /dev/mapper/ubuntu--vg-ubuntu--lg-root | 04:29 |
Gizmo3D | took about 30sec | 04:29 |
Gizmo3D | df -lh good, rebooted, df still good | 04:29 |
AndyChow888 | Ok, great. | 04:33 |
AndyChow888 | resize2f can be dangerous, but I'm glad it worked in your case. | 04:33 |
Gizmo3D | thank you for your help, just saved me from rebulding an email server from scratch | 04:34 |
Gizmo3D | would have sucked putting together a temp, migrate, build new and migrate all back | 04:35 |
AndyChow888 | You should still do that, eventually, as your server doesn't seem well configured. | 04:39 |
Gizmo3D | after xmas, no need to mess up holidays | 04:40 |
lordievader | Good morning | 08:34 |
=== rchavik_ is now known as rchavik | ||
kstenerud | Does anyone know how to fix this kind of error in git-ubuntu: | 11:26 |
kstenerud | $ git ubuntu merge finish ubuntu/devel --bug 1808319 | 11:26 |
kstenerud | 12/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 |
ubottu | bug 1808319 in logwatch (Ubuntu) "Please merge 7.4.3+git20180713-1 into disco" [Undecided,New] https://launchpad.net/bugs/1808319 | 11: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.img | 11:38 |
cpaelzer | thanks jamespage for the erlang fix! | 12:55 |
jamespage | cpaelzer: yeah s390x rmq needs fixing | 13:00 |
Odd_Bloke | [diablo]: I don't believe there is, I'm afraid. | 14:00 |
jamespage | cpaelzer: raised https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1808984 | 14:02 |
ubottu | Launchpad bug 1808984 in rabbitmq-server (Ubuntu) "s390x: erlang.cookie creation fails when changing file permissions" [Undecided,New] | 14:02 |
jamespage | the wrong permissions error was the second issue, caused by the automatic cookie creation failing to change permissions. | 14:03 |
smoser | rbasak, cpaelzer loking for thoughts. i uploaded grub-legacy-ec2 | 14:15 |
smoser | https://launchpad.net/ubuntu/+source/grub-legacy-ec2 | 14:15 |
smoser | and then noticed that i had done so with '1:1ubuntu1' rather than what i think is probably more correct '1:2' | 14:15 |
smoser | should i re-upload as 1:2 ? | 14:15 |
rbasak | smoser: I think both 1:1 and 1:2 are wrong. | 14:18 |
smoser | :) | 14:18 |
smoser | what is right? | 14:18 |
smoser | the 1: is due to change from it being part of cloud-init and under cloud-init's versioning | 14:19 |
smoser | andthen separated out. | 14:19 |
rbasak | I think you definitely need an "ubuntu" in there to avoid autosync from Debian in case they also upload a source package called grub-legacy-ec2 | 14:19 |
rbasak | So -0ubuntu1 etc | 14:19 |
rbasak | Presumably with the epoch. | 14:19 |
rbasak | So 1:0ubuntu1 would have been right originally I think. | 14:20 |
rbasak | And then 1:0ubuntu2 | 14:20 |
smoser | so then 1:1ubuntu1 seems fine? | 14:20 |
rbasak | But I think 1:1ubuntu1 is fine for now and there isn't anything that can be solved with a new upload | 14:20 |
smoser | thanks | 14:21 |
jamespage | cpaelzer: ok so its something endian-y but my erlang is not good enough | 15:20 |
[diablo] | cheers Odd_Bloke ,sorry only just seen the reply | 15:28 |
muhaha | Is 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 |
balance1 | hi | 16:43 |
_13LACK_ | balance1: hi | 16:43 |
balance1 | so 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 server | 16:44 |
teward | we'd need more information to try and help out | 16:44 |
teward | like 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 field | 16:45 |
_13LACK_ | example: LABEL=t-home2 /home ext4 defaults,auto_da_alloc 0 2 | 16:45 |
_13LACK_ | the "0" and "2" means frequency and order to filesystem checks at boot time | 16:46 |
_13LACK_ | balance1: maybe the fifth field (0 on this example) have a non-zero value | 16:48 |
balance1 | give me a min, I cna't look at it but I do have some logs and stuff, maby ethe fstab file was in there too | 16:49 |
balance1 | teward, 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 a | 16:53 |
balance1 | higher 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 |
teward | balance1: sometimes if fstab refers to a USB device and one is connected it'll fail out | 16:56 |
teward | if misconfigured | 16:56 |
teward | but that's usually rarer | 16:56 |
balance1 | I'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 recheck | 17: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 up | 17:10 |
balance1 | _13LACK_, I'll check the file but atm I cant access it. so I'll have to wait | 17:10 |
_13LACK_ | balance1: ok... I just gave you an idea. | 17:11 |
_13LACK_ | balance1: I have to go now... I wish you good lucky | 17:12 |
muhaha | Is 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 |
DammitJim | What is a good enterprise backup solution for laptops (that also run VMs)? | 20:51 |
DammitJim | maybe 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!