Is it safe to use lvresize -r to reduce LVM
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I know I can increase the size of file system and LV in one go using lvresize -r
but is it safe to use the sam approach to reduce a LV file system ?
here is the man page of -r
-r, --resizefs
Resize underlying file system together with the logical volume using fsadm(8).
I would thought it should be safe if file system gets reduce first.
Thanks
filesystems lvm
add a comment |Â
up vote
0
down vote
favorite
I know I can increase the size of file system and LV in one go using lvresize -r
but is it safe to use the sam approach to reduce a LV file system ?
here is the man page of -r
-r, --resizefs
Resize underlying file system together with the logical volume using fsadm(8).
I would thought it should be safe if file system gets reduce first.
Thanks
filesystems lvm
i'm having the same problem. Did you find any solution ? Bernd
â user82305
Aug 28 '14 at 15:09
@Bernd Hi there, I did some testing myself, resize2fs is called before the LV is reduced but there is a minimum requirement, if the new size is less than minimum, the resize will just fail.
â Ask and Learn
Sep 1 '14 at 5:49
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I know I can increase the size of file system and LV in one go using lvresize -r
but is it safe to use the sam approach to reduce a LV file system ?
here is the man page of -r
-r, --resizefs
Resize underlying file system together with the logical volume using fsadm(8).
I would thought it should be safe if file system gets reduce first.
Thanks
filesystems lvm
I know I can increase the size of file system and LV in one go using lvresize -r
but is it safe to use the sam approach to reduce a LV file system ?
here is the man page of -r
-r, --resizefs
Resize underlying file system together with the logical volume using fsadm(8).
I would thought it should be safe if file system gets reduce first.
Thanks
filesystems lvm
filesystems lvm
asked Jul 24 '14 at 4:46


Ask and Learn
84231225
84231225
i'm having the same problem. Did you find any solution ? Bernd
â user82305
Aug 28 '14 at 15:09
@Bernd Hi there, I did some testing myself, resize2fs is called before the LV is reduced but there is a minimum requirement, if the new size is less than minimum, the resize will just fail.
â Ask and Learn
Sep 1 '14 at 5:49
add a comment |Â
i'm having the same problem. Did you find any solution ? Bernd
â user82305
Aug 28 '14 at 15:09
@Bernd Hi there, I did some testing myself, resize2fs is called before the LV is reduced but there is a minimum requirement, if the new size is less than minimum, the resize will just fail.
â Ask and Learn
Sep 1 '14 at 5:49
i'm having the same problem. Did you find any solution ? Bernd
â user82305
Aug 28 '14 at 15:09
i'm having the same problem. Did you find any solution ? Bernd
â user82305
Aug 28 '14 at 15:09
@Bernd Hi there, I did some testing myself, resize2fs is called before the LV is reduced but there is a minimum requirement, if the new size is less than minimum, the resize will just fail.
â Ask and Learn
Sep 1 '14 at 5:49
@Bernd Hi there, I did some testing myself, resize2fs is called before the LV is reduced but there is a minimum requirement, if the new size is less than minimum, the resize will just fail.
â Ask and Learn
Sep 1 '14 at 5:49
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Do you find the solution?
from XFS FAQ, RedHat and CentOS QA.
You can't shrink xfs.
The only way to do this is to backup your data, create another smaller LV...
New contributor
Tony Chou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Do you find the solution?
from XFS FAQ, RedHat and CentOS QA.
You can't shrink xfs.
The only way to do this is to backup your data, create another smaller LV...
New contributor
Tony Chou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
0
down vote
Do you find the solution?
from XFS FAQ, RedHat and CentOS QA.
You can't shrink xfs.
The only way to do this is to backup your data, create another smaller LV...
New contributor
Tony Chou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Do you find the solution?
from XFS FAQ, RedHat and CentOS QA.
You can't shrink xfs.
The only way to do this is to backup your data, create another smaller LV...
New contributor
Tony Chou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Do you find the solution?
from XFS FAQ, RedHat and CentOS QA.
You can't shrink xfs.
The only way to do this is to backup your data, create another smaller LV...
New contributor
Tony Chou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Tony Chou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 4 mins ago


Tony Chou
11
11
New contributor
Tony Chou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Tony Chou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Tony Chou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f146259%2fis-it-safe-to-use-lvresize-r-to-reduce-lvm%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
i'm having the same problem. Did you find any solution ? Bernd
â user82305
Aug 28 '14 at 15:09
@Bernd Hi there, I did some testing myself, resize2fs is called before the LV is reduced but there is a minimum requirement, if the new size is less than minimum, the resize will just fail.
â Ask and Learn
Sep 1 '14 at 5:49