Solved Ubuntu 18.04 Space Issue
-
I assume you setup this installation with LVM, yes?
-
@DustinB3403 Correct. I thought that was best practice? Correct me if I am wrong please.
-
@Curtis said in Ubuntu 18.04 Space Issue:
Seems like / was only setup for 4GB... Why?
Because that is the default configuration, you have to specify if you want something different.
-
@DustinB3403 said in Ubuntu 18.04 Space Issue:
@Curtis said in Ubuntu 18.04 Space Issue:
Seems like / was only setup for 4GB... Why?
Because that is the default configuration, you have to specify if you want something different.
:pensive_face: I did a minimal install
-
So any idea how to expand it out? Does it only do this with LVM?
-
@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?