Solved Ubuntu 18.04 Space Issue
-
@Curtis said in Ubuntu 18.04 Space Issue:
@DustinB3403 Correct. I thought that was best practice? Correct me if I am wrong please.
It was the better choice, all you have to do is extend it.
-
@DustinB3403 said in Ubuntu 18.04 Space Issue:
@Curtis said in Ubuntu 18.04 Space Issue:
@DustinB3403 Correct. I thought that was best practice? Correct me if I am wrong please.
It was the better choice, all you have to do is extend it.
Yeah, trying to find some good instructions on that now.
-
So to test, I just went through a basic 18.04 install, setup LVM and my file system layout is completely different. It allocated the entire 100GB I setup to /dev/sda1.
You must've done something custom to get this.
-
@DustinB3403 said in Ubuntu 18.04 Space Issue:
So to test, I just went through a basic 18.04 install, setup LVM and my file system layout is completely different. It allocated the entire 100GB I setup to /dev/sda1.
You must've done something custom to get this.
Crap Did you do a netinstall? (I did)
Well, I just need to get it expanded for now.
-
@Curtis said in Ubuntu 18.04 Space Issue:
@DustinB3403 said in Ubuntu 18.04 Space Issue:
So to test, I just went through a basic 18.04 install, setup LVM and my file system layout is completely different. It allocated the entire 100GB I setup to /dev/sda1.
You must've done something custom to get this.
Crap Did you do a netinstall? (I did)
Well, I just need to get it expanded for now.
No, not net install, minimal desktop.
-
@DustinB3403 said in Ubuntu 18.04 Space Issue:
@Curtis said in Ubuntu 18.04 Space Issue:
@DustinB3403 said in Ubuntu 18.04 Space Issue:
So to test, I just went through a basic 18.04 install, setup LVM and my file system layout is completely different. It allocated the entire 100GB I setup to /dev/sda1.
You must've done something custom to get this.
Crap Did you do a netinstall? (I did)
Well, I just need to get it expanded for now.
No, not net install, minimal desktop.
Maybe netinstall is different?
-
Seems like I should just be able to extend LVM across the whole drive, but I can't find a way to do it...
-
@Curtis can you show me the output of ...
lvdisplay vgdisplay
-
@Curtis said in Ubuntu 18.04 Space Issue:
Seems like I should just be able to extend LVM across the whole drive, but I can't find a way to do it...
LVM is across the whole drive, that's not the issue.
-
@Curtis said in Ubuntu 18.04 Space Issue:
Seems like / was only setup for 4GB... Why?
Probably to leave room for other things to be configured
-
@scottalanmiller said in Ubuntu 18.04 Space Issue:
@Curtis can you show me the output of ...
lvdisplay
-
@scottalanmiller said in Ubuntu 18.04 Space Issue:
@Curtis can you show me the output of ...
vgdisplay
-
@scottalanmiller said in Ubuntu 18.04 Space Issue:
LVM is across the whole drive, that's not the issue.
So I just need to extend the file system?
-
@Curtis Run this...
lvresize -l +100%FREE /dev/ubuntu-vg/ubuntu-lv
-
@Curtis said in Ubuntu 18.04 Space Issue:
@scottalanmiller said in Ubuntu 18.04 Space Issue:
LVM is across the whole drive, that's not the issue.
So I just need to extend the file system?
No, the volume Then the filesystem.
What kind of filesystem is it? EXT4? XFS?
-
@scottalanmiller said in Ubuntu 18.04 Space Issue:
@Curtis said in Ubuntu 18.04 Space Issue:
@scottalanmiller said in Ubuntu 18.04 Space Issue:
LVM is across the whole drive, that's not the issue.
So I just need to extend the file system?
No, the volume Then the filesystem.
What kind of filesystem is it? EXT4? XFS?
Whatever the default for a netinstall is. Is there a command to check?
-
@scottalanmiller said in Ubuntu 18.04 Space Issue:
@Curtis Run this...
lvresize -l +100%FREE /dev/ubuntu-vg/ubuntu-lv
user@server:~$ sudo lvresize -l +100%FREE /dev/ubuntu-vg/ubuntu-lv
sudo: unable to resolve host server: Resource temporarily unavailable/etc/lvm/archive/.lvm_server_2656_1676534144: write error failed: No space left on device
-
Tried as root, and got this:
/etc/lvm/archive/.lvm_server_2674_604287443: write error failed: No space left on device
-
The error tells you exactly why it's failing. Clean up some space, /var/log/ would be a good place to start. Then re-run that command.
-
@marcinozga said in Ubuntu 18.04 Space Issue:
The error tells you exactly why it's failing. Clean up some space, /var/log/ would be a good place to start. Then re-run that command.
Would this work?
find /var/log -type f -delete