Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 05-29-2008, 03:04 AM   #1
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Rep: Reputation: 30
LVM only lets me extend online but not reduce with ext3

Hi Everyone,

I have an encrpted LVM install with debian testing and ext3. I was running out of space yesterday on / so I reduced my /home/ and was able to extend my root partition.

It would not let me do the reduce online but would let me to lvextend online. I had to log on as root, unmount /home/ reduce it and extend /.

It said that this is not supported when I have read that LVM does support online reduce with ext3.

Old 05-29-2008, 10:52 AM   #2
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
There are two issues: Resizing the ext3 filesystem and resizing the logical volume

The one you bumped into was resize2fs, which cannot reduce a mounted ext3 filesystem.

From the resize2fs manpage:

...resize2fs... can be used to enlarge or shrink an unmounted file system located on device. If the filesystem is mounted, it can be used to expand the size of the mounted filesystem...
Old 05-29-2008, 11:16 AM   #3
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Original Poster
Rep: Reputation: 30
Hi WhatsHisName,

Thanks for your concise reply I guess I didnt think it though enough! Now I am going to try and find a way to online resize the FS

Thanks again


extend, howto, logical, lvm, management, shrink, volume

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extend LVM partition rconan Linux - Software 5 08-31-2010 02:32 AM
How to reduce LVM partition ^ Guillaume777 Linux - Software 1 08-27-2007 05:01 AM
How to extend an existing partition without LVM james.reid Linux - Software 14 06-02-2006 12:48 AM
How do I extend an ext3 partition? chrislev Linux - Hardware 2 01-27-2006 10:35 AM
howto extend ext3 partition compfriend Linux - Hardware 1 09-16-2003 10:42 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration