Ubuntu 18.04 Space Issue
- 
 @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. 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. 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-lvuser@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
- 
 @Curtis said in Ubuntu 18.04 Space Issue: @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 -deleteI wouldn't do that. Just cd into the directory and remove anything that is zipped. 
- 
 root@server:/var# lvresize -l +100%FREE /dev/ubuntu-vg/ubuntu-lv 
 Size of logical volume ubuntu-vg/ubuntu-lv changed from 4.00 GiB (1024 extents) to <99.00 GiB (25343 extents).
 Logical volume ubuntu-vg/ubuntu-lv successfully resized. Now what? Now what?
- 
 
- 
 @Curtis As you are doing this maneach command so you understand what is occuringExample: man df
- 
 Show the output of mount
- 
 
- 
 Seems like I should run: resize2fs /dev/ubuntu-vg/ubuntu-lv? 



