Header RSS Feed
 
» 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
Linux Howtos how to's
Monitoring Plugins monitoring plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

6979 Days
until Death of Computers
Why?