GParted, shrink lvm partition to give boot more space

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I keep having issues due to my boot drive running out of space. I work with a lot of vms so it fills up pretty quick and when I clear it out often I break something I'm working on. So as it has inevitably filled up again causing me issues I want to give it some more space.



GParted is showing my lvm partition as having only 44MiB of unused space. df shows I'm only using 33% of the total space. Is there any way I can re-organise this partition so that I can free up some space to give to /boot? If not, should I grab another drive and extend the boot partition?



enter image description hereenter image description here



ll /boot



enter image description here










share|improve this question









New contributor




Shard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 3




    that boot partition isn't small - what's on it? in some distros you have to manually uninstall old kernels, if you don't do that, no size will ever be enough in the long run
    – frostschutz
    Oct 1 at 16:44











  • Per @frostschutz comment/query, you probably need to clean up old kernel images or something similar. As for the LVM question, please update the question with details on the logical volumes on /dev/sda5. Output from df -hTP and lsblk is probably sufficient.
    – 0xSheepdog
    Oct 1 at 16:45











  • @0xSheepdog I've ran the commands and added the screenshot of the results to the post
    – Shard
    Oct 2 at 10:01










  • @frostschutz lots of different vm bits and bobs, moving over to docker soon I hope. I added a screenshot to the post
    – Shard
    Oct 2 at 10:02











  • @Shard you don't keep "vm bits and bobs" on the hosts' /boot partition. That looks very much like old kernels to me, there's even still 4.4 kernels when you're already using 4.15 and you only need the very latest one (or two) of those.
    – frostschutz
    Oct 2 at 10:29














up vote
1
down vote

favorite












I keep having issues due to my boot drive running out of space. I work with a lot of vms so it fills up pretty quick and when I clear it out often I break something I'm working on. So as it has inevitably filled up again causing me issues I want to give it some more space.



GParted is showing my lvm partition as having only 44MiB of unused space. df shows I'm only using 33% of the total space. Is there any way I can re-organise this partition so that I can free up some space to give to /boot? If not, should I grab another drive and extend the boot partition?



enter image description hereenter image description here



ll /boot



enter image description here










share|improve this question









New contributor




Shard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 3




    that boot partition isn't small - what's on it? in some distros you have to manually uninstall old kernels, if you don't do that, no size will ever be enough in the long run
    – frostschutz
    Oct 1 at 16:44











  • Per @frostschutz comment/query, you probably need to clean up old kernel images or something similar. As for the LVM question, please update the question with details on the logical volumes on /dev/sda5. Output from df -hTP and lsblk is probably sufficient.
    – 0xSheepdog
    Oct 1 at 16:45











  • @0xSheepdog I've ran the commands and added the screenshot of the results to the post
    – Shard
    Oct 2 at 10:01










  • @frostschutz lots of different vm bits and bobs, moving over to docker soon I hope. I added a screenshot to the post
    – Shard
    Oct 2 at 10:02











  • @Shard you don't keep "vm bits and bobs" on the hosts' /boot partition. That looks very much like old kernels to me, there's even still 4.4 kernels when you're already using 4.15 and you only need the very latest one (or two) of those.
    – frostschutz
    Oct 2 at 10:29












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I keep having issues due to my boot drive running out of space. I work with a lot of vms so it fills up pretty quick and when I clear it out often I break something I'm working on. So as it has inevitably filled up again causing me issues I want to give it some more space.



GParted is showing my lvm partition as having only 44MiB of unused space. df shows I'm only using 33% of the total space. Is there any way I can re-organise this partition so that I can free up some space to give to /boot? If not, should I grab another drive and extend the boot partition?



enter image description hereenter image description here



ll /boot



enter image description here










share|improve this question









New contributor




Shard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I keep having issues due to my boot drive running out of space. I work with a lot of vms so it fills up pretty quick and when I clear it out often I break something I'm working on. So as it has inevitably filled up again causing me issues I want to give it some more space.



GParted is showing my lvm partition as having only 44MiB of unused space. df shows I'm only using 33% of the total space. Is there any way I can re-organise this partition so that I can free up some space to give to /boot? If not, should I grab another drive and extend the boot partition?



enter image description hereenter image description here



ll /boot



enter image description here







ubuntu filesystems partition gparted






share|improve this question









New contributor




Shard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Shard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Oct 2 at 10:00





















New contributor




Shard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Oct 1 at 15:46









Shard

1063




1063




New contributor




Shard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Shard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Shard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 3




    that boot partition isn't small - what's on it? in some distros you have to manually uninstall old kernels, if you don't do that, no size will ever be enough in the long run
    – frostschutz
    Oct 1 at 16:44











  • Per @frostschutz comment/query, you probably need to clean up old kernel images or something similar. As for the LVM question, please update the question with details on the logical volumes on /dev/sda5. Output from df -hTP and lsblk is probably sufficient.
    – 0xSheepdog
    Oct 1 at 16:45











  • @0xSheepdog I've ran the commands and added the screenshot of the results to the post
    – Shard
    Oct 2 at 10:01










  • @frostschutz lots of different vm bits and bobs, moving over to docker soon I hope. I added a screenshot to the post
    – Shard
    Oct 2 at 10:02











  • @Shard you don't keep "vm bits and bobs" on the hosts' /boot partition. That looks very much like old kernels to me, there's even still 4.4 kernels when you're already using 4.15 and you only need the very latest one (or two) of those.
    – frostschutz
    Oct 2 at 10:29












  • 3




    that boot partition isn't small - what's on it? in some distros you have to manually uninstall old kernels, if you don't do that, no size will ever be enough in the long run
    – frostschutz
    Oct 1 at 16:44











  • Per @frostschutz comment/query, you probably need to clean up old kernel images or something similar. As for the LVM question, please update the question with details on the logical volumes on /dev/sda5. Output from df -hTP and lsblk is probably sufficient.
    – 0xSheepdog
    Oct 1 at 16:45











  • @0xSheepdog I've ran the commands and added the screenshot of the results to the post
    – Shard
    Oct 2 at 10:01










  • @frostschutz lots of different vm bits and bobs, moving over to docker soon I hope. I added a screenshot to the post
    – Shard
    Oct 2 at 10:02











  • @Shard you don't keep "vm bits and bobs" on the hosts' /boot partition. That looks very much like old kernels to me, there's even still 4.4 kernels when you're already using 4.15 and you only need the very latest one (or two) of those.
    – frostschutz
    Oct 2 at 10:29







3




3




that boot partition isn't small - what's on it? in some distros you have to manually uninstall old kernels, if you don't do that, no size will ever be enough in the long run
– frostschutz
Oct 1 at 16:44





that boot partition isn't small - what's on it? in some distros you have to manually uninstall old kernels, if you don't do that, no size will ever be enough in the long run
– frostschutz
Oct 1 at 16:44













Per @frostschutz comment/query, you probably need to clean up old kernel images or something similar. As for the LVM question, please update the question with details on the logical volumes on /dev/sda5. Output from df -hTP and lsblk is probably sufficient.
– 0xSheepdog
Oct 1 at 16:45





Per @frostschutz comment/query, you probably need to clean up old kernel images or something similar. As for the LVM question, please update the question with details on the logical volumes on /dev/sda5. Output from df -hTP and lsblk is probably sufficient.
– 0xSheepdog
Oct 1 at 16:45













@0xSheepdog I've ran the commands and added the screenshot of the results to the post
– Shard
Oct 2 at 10:01




@0xSheepdog I've ran the commands and added the screenshot of the results to the post
– Shard
Oct 2 at 10:01












@frostschutz lots of different vm bits and bobs, moving over to docker soon I hope. I added a screenshot to the post
– Shard
Oct 2 at 10:02





@frostschutz lots of different vm bits and bobs, moving over to docker soon I hope. I added a screenshot to the post
– Shard
Oct 2 at 10:02













@Shard you don't keep "vm bits and bobs" on the hosts' /boot partition. That looks very much like old kernels to me, there's even still 4.4 kernels when you're already using 4.15 and you only need the very latest one (or two) of those.
– frostschutz
Oct 2 at 10:29




@Shard you don't keep "vm bits and bobs" on the hosts' /boot partition. That looks very much like old kernels to me, there's even still 4.4 kernels when you're already using 4.15 and you only need the very latest one (or two) of those.
– frostschutz
Oct 2 at 10:29















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Shard is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f472604%2fgparted-shrink-lvm-partition-to-give-boot-more-space%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








Shard is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















Shard is a new contributor. Be nice, and check out our Code of Conduct.












Shard is a new contributor. Be nice, and check out our Code of Conduct.











Shard is a new contributor. Be nice, and check out our Code of Conduct.













 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f472604%2fgparted-shrink-lvm-partition-to-give-boot-more-space%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay