Header
 
» IT tipps and howto's

How To: Shrink (Reduce) a ReiserFS formatted LVM partition

1. Umount the part it ion you want to shrink

umount /opt

2. Resize the ReiserFS filesystem on the affected partition

resize_reiserfs –s -1G /dev/vgroot/lvopt

3. Shrink the LV part it ion

lvreduce –L -1GB /dev/vgroot/lvopt

4. Mount the part it ion again

Mount /dev/vgroot/lvopt /opt

5. done :-)


Go to Homepage home RSS Feed
About ck about
Linux Howtos how to's
Nagios Plugins nagios plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

9480 Days
until Death of Computers
Why?