Skip to contentSkip to conversation

reiserfs_resize and lvreduce

linux-lvm Tobias Wagener 4 participants 6 messages Nov 22, 2003 – Nov 23, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

I want to reduce a LV. My question is, will reiserfs_resize move used blocks in the "reduce"-area on my LV to unused blocks? Or must I do this for my own by hand? And if how?

Greetings

#1 lore raw
Quoted 4 lines · Tobias Wagener

I want to reduce a LV. My question is, will reiserfs_resize move used blocks in the "reduce"-area on my LV to unused blocks? Or must I do this for my own by hand? And if how?

I always do it by hand , firts reducing the filesystem to the desired final size (using resize_reiserfs) and then reducing th LV size to something larger than the above.

I usually try "lvreduce" with "--test" first, to see the final LV size, and check if it is larger than the filesystem, and the repeat the above command once I am sure it will not break anything.

Greetings.

Signature · 2 lines
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Sid (Linux 2.6.0-test9-mm5)
#2 lore raw
Quoted 8 lines
Quoted 4 lines · Tobias Wagener

I want to reduce a LV. My question is, will reiserfs_resize move used blocks in the "reduce"-area on my LV to unused blocks? Or must I do this for my own by hand? And if how?

Quoted 7 lines

I always do it by hand , firts reducing the filesystem to the desired final size (using resize_reiserfs) and then reducing th LV size to something larger than the above.

I usually try "lvreduce" with "--test" first, to see the final LV size, and check if it is larger than the filesystem, and the repeat the above command once I am sure it will not break anything.

And then you can run reiserfs_resize again to use up the last MB's that you lost. Quite simple and efficient.

Quoted 1 line

Greetings.

#3 lore raw
Quoted 3 lines · Spam

And then you can run reiserfs_resize again to use up the last MB's that you lost. Quite simple and efficient.

Hey, I never though about that, but it is as simple as it sounds :-)

Greetings.

Signature · 2 lines
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Sid (Linux 2.6.0-test9-mm5)
#4 lore raw
Quoted 5 lines · Jose Luis Domingo Lopez
Quoted 2 lines · Spam

And then you can run reiserfs_resize again to use up the last MB's that you lost. Quite simple and efficient.

I have used resize_reiserfs and lvreduce command combo but reiserfs_resize is new to me. BTW, I just checked the man pages for reiserfs_resize and it does not exist.

Is this a brand new command or is there something I'm missing here?

Qv6

#5 lore raw
Quoted 5 lines · On Sunday, 23 November 2003, at 04:41:51 -0500, qv6 wrote:

I have used resize_reiserfs and lvreduce command combo but reiserfs_resize is new to me. BTW, I just checked the man pages for reiserfs_resize and it does not exist.
Is this a brand new command or is there something I'm missing here?

No, just brain damage on my part, sorry.

Signature · 2 lines
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Sid (Linux 2.6.0-test9-mm5)