LVM: how to always show Pfree in GB
up vote
-1
down vote
favorite
pvs
shows Pfree
in MB or GB:
pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 vg50 lvm2 a-- 1.09t 950.16g
pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 vg60 lvm2 a-- 149.51g 944.00m
How we can get Pfree
only in GB?
Or is there another LVM command that always shows Pfree
in GB?
linux lvm
add a comment |
up vote
-1
down vote
favorite
pvs
shows Pfree
in MB or GB:
pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 vg50 lvm2 a-- 1.09t 950.16g
pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 vg60 lvm2 a-- 149.51g 944.00m
How we can get Pfree
only in GB?
Or is there another LVM command that always shows Pfree
in GB?
linux lvm
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
pvs
shows Pfree
in MB or GB:
pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 vg50 lvm2 a-- 1.09t 950.16g
pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 vg60 lvm2 a-- 149.51g 944.00m
How we can get Pfree
only in GB?
Or is there another LVM command that always shows Pfree
in GB?
linux lvm
pvs
shows Pfree
in MB or GB:
pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 vg50 lvm2 a-- 1.09t 950.16g
pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 vg60 lvm2 a-- 149.51g 944.00m
How we can get Pfree
only in GB?
Or is there another LVM command that always shows Pfree
in GB?
linux lvm
linux lvm
edited Nov 14 at 13:22
Stephen Kitt
156k23343416
156k23343416
asked Nov 14 at 10:46
yael
2,3061753
2,3061753
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
8
down vote
accepted
You can force pvs
(and other LVM tools) to use a specific unit with the --units
option:
pvs --units g
will show all values in gibibytes (multiples of 1024). Use
pvs --units G
if you want gigabytes (multiples of 1000).
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
8
down vote
accepted
You can force pvs
(and other LVM tools) to use a specific unit with the --units
option:
pvs --units g
will show all values in gibibytes (multiples of 1024). Use
pvs --units G
if you want gigabytes (multiples of 1000).
add a comment |
up vote
8
down vote
accepted
You can force pvs
(and other LVM tools) to use a specific unit with the --units
option:
pvs --units g
will show all values in gibibytes (multiples of 1024). Use
pvs --units G
if you want gigabytes (multiples of 1000).
add a comment |
up vote
8
down vote
accepted
up vote
8
down vote
accepted
You can force pvs
(and other LVM tools) to use a specific unit with the --units
option:
pvs --units g
will show all values in gibibytes (multiples of 1024). Use
pvs --units G
if you want gigabytes (multiples of 1000).
You can force pvs
(and other LVM tools) to use a specific unit with the --units
option:
pvs --units g
will show all values in gibibytes (multiples of 1024). Use
pvs --units G
if you want gigabytes (multiples of 1000).
answered Nov 14 at 10:50
Stephen Kitt
156k23343416
156k23343416
add a comment |
add a comment |
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481674%2flvm-how-to-always-show-pfree-in-gb%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown