GParted minimum size for LVM partition
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I'm experimenting with shrinking a partitiion used as LVM PV in VirtualBox and have now hit a point where I do not understand what is going on.
I successfully shrunk the FS on my LV, then reduced the size of my LV and finally the size of my PV. Now would be the point to shrink the partition.
Using gparted, it shows me that the minimum size is 23027 MiB. See gparted screenshot. I've underlined the minimum size in red for non German speakers.
From the output of the pvs command, however, it shows me that the PV size is 22524 MiB. See pvs output.
My problem is now that I do not understand how gparted calculates the minimum size. I want to understand this for the case when I only have fdisk or the like available where I can only delete and recrate the partition in the correct size.
In this example, if I were to resize the partition manually, I would make the newly created partition too small (25524 MiB) according to gparted.
I know that one can simply choose to be on the safe side an add a little bit of extra space but I want to understand what's going on.
size lvm parted
migrated from stackoverflow.com Apr 15 at 12:19
This question came from our site for professional and enthusiast programmers.
add a comment |Â
up vote
0
down vote
favorite
I'm experimenting with shrinking a partitiion used as LVM PV in VirtualBox and have now hit a point where I do not understand what is going on.
I successfully shrunk the FS on my LV, then reduced the size of my LV and finally the size of my PV. Now would be the point to shrink the partition.
Using gparted, it shows me that the minimum size is 23027 MiB. See gparted screenshot. I've underlined the minimum size in red for non German speakers.
From the output of the pvs command, however, it shows me that the PV size is 22524 MiB. See pvs output.
My problem is now that I do not understand how gparted calculates the minimum size. I want to understand this for the case when I only have fdisk or the like available where I can only delete and recrate the partition in the correct size.
In this example, if I were to resize the partition manually, I would make the newly created partition too small (25524 MiB) according to gparted.
I know that one can simply choose to be on the safe side an add a little bit of extra space but I want to understand what's going on.
size lvm parted
migrated from stackoverflow.com Apr 15 at 12:19
This question came from our site for professional and enthusiast programmers.
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm experimenting with shrinking a partitiion used as LVM PV in VirtualBox and have now hit a point where I do not understand what is going on.
I successfully shrunk the FS on my LV, then reduced the size of my LV and finally the size of my PV. Now would be the point to shrink the partition.
Using gparted, it shows me that the minimum size is 23027 MiB. See gparted screenshot. I've underlined the minimum size in red for non German speakers.
From the output of the pvs command, however, it shows me that the PV size is 22524 MiB. See pvs output.
My problem is now that I do not understand how gparted calculates the minimum size. I want to understand this for the case when I only have fdisk or the like available where I can only delete and recrate the partition in the correct size.
In this example, if I were to resize the partition manually, I would make the newly created partition too small (25524 MiB) according to gparted.
I know that one can simply choose to be on the safe side an add a little bit of extra space but I want to understand what's going on.
size lvm parted
I'm experimenting with shrinking a partitiion used as LVM PV in VirtualBox and have now hit a point where I do not understand what is going on.
I successfully shrunk the FS on my LV, then reduced the size of my LV and finally the size of my PV. Now would be the point to shrink the partition.
Using gparted, it shows me that the minimum size is 23027 MiB. See gparted screenshot. I've underlined the minimum size in red for non German speakers.
From the output of the pvs command, however, it shows me that the PV size is 22524 MiB. See pvs output.
My problem is now that I do not understand how gparted calculates the minimum size. I want to understand this for the case when I only have fdisk or the like available where I can only delete and recrate the partition in the correct size.
In this example, if I were to resize the partition manually, I would make the newly created partition too small (25524 MiB) according to gparted.
I know that one can simply choose to be on the safe side an add a little bit of extra space but I want to understand what's going on.
size lvm parted
asked Apr 1 at 19:20
cbg
11
11
migrated from stackoverflow.com Apr 15 at 12:19
This question came from our site for professional and enthusiast programmers.
migrated from stackoverflow.com Apr 15 at 12:19
This question came from our site for professional and enthusiast programmers.
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f437884%2fgparted-minimum-size-for-lvm-partition%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