GParted, shrink lvm partition to give boot more space
Clash 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?
ll /boot
ubuntu filesystems partition gparted
New contributor
 |Â
show 2 more comments
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?
ll /boot
ubuntu filesystems partition gparted
New contributor
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 fromdf -hTP
andlsblk
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
 |Â
show 2 more comments
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?
ll /boot
ubuntu filesystems partition gparted
New contributor
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?
ll /boot
ubuntu filesystems partition gparted
ubuntu filesystems partition gparted
New contributor
New contributor
edited Oct 2 at 10:00
New contributor
asked Oct 1 at 15:46
Shard
1063
1063
New contributor
New contributor
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 fromdf -hTP
andlsblk
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
 |Â
show 2 more comments
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 fromdf -hTP
andlsblk
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
 |Â
show 2 more comments
active
oldest
votes
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
andlsblk
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