Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-12-2005, 03:03 PM   #1
LQ Newbie
Registered: Mar 2004
Posts: 9

Rep: Reputation: 0
lvm questions

I need to reduce the size of an ext3 lv. When I try to do a resize2fs, I get an error "Filesystem has unsupported feature(s)". I'm using a gentoo rescue cd. I get the same error with a FC3 rescue cd and an FC2 rescue cd.

Q#1) how can I reduce the size of this lv?

Q#2) Is there a way I can see what data is on what pv? (there is no striping)

Q#3) Is there a way I can move data from one pv to another? (pvmove isn't an option, because there are no extents free, hence Q#1. There is actually tons of space free on the lv's).

Q#4) if I physically remove a drive from the setup, what will the effect be? Will I be able to boot and access whatever data wasn't on that pv? Can I remove and replace disks without worry?

Old 06-13-2005, 03:37 AM   #2
Registered: Oct 2003
Location: the Netherlands
Distribution: Arch Linux, Ubuntu server
Posts: 145

Rep: Reputation: 15
(1) - Assuming for a sec your lv is mounted on /home:
# umount /home
# resize2fs /dev/myvg/homevol 524288
# lvreduce -L-1G /dev/myvg/homevol
# mount /home
_should_ do the trick.

(2) I'm not sure... pvdisplay or pvdata?

(3) If pvmove isn't an option, I would say the answer is "no"

(4) Depends on what is on the disk (and in the volume group). If /usr, or /var is on there, I suspect your system won't boot very well

Excellent LVM HOWTO:
Hope you can find some more info there to help you further along.
Old 06-13-2005, 10:46 AM   #3
LQ Newbie
Registered: Mar 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks, ReefShark. But the problem is that I can't do a resize2fs. As I mentioned, I get an error, "Filesystem has unsupported feature(s)"
Old 06-13-2005, 12:33 PM   #4
LQ Newbie
Registered: Feb 2005
Distribution: Debian/GNU (2.6.11)
Posts: 5

Rep: Reputation: 0
"Filesystem has unsupported Features"

I remember seeing something about this in the LinuxFromScratch book... apparently it has to do with a filesystem created by/for a non-vanilla (eg, customized for a certain distro) kernel. They can add extra features (well, set bits I suppose) that are only understood by the kernel for that distro.

I would try to use as close to the same kernel that the filesystem was created with, and the resize2fs program that goes with it. Otherwise, there may be some filesystem corruption?

Old 06-15-2005, 03:12 PM   #5
Registered: Oct 2003
Location: the Netherlands
Distribution: Arch Linux, Ubuntu server
Posts: 145

Rep: Reputation: 15
I'm not sure, but Qtparted might be an option? I think you can work LVM partitions too with it.
I would also recommending a different scheme in the future:
/dev/hdb1 swap
/dev/hdb2 /boot
/dev/hdb3 /
/dev/hdb4 /home

Is / in LVM too by the way? That could cause a whole bunch of problems


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
lvm anyone? puffinman Linux - Software 2 06-26-2005 11:07 AM
Lvm ItsNotMe Linux - General 1 04-22-2005 07:17 AM
lvm Ammad Linux - General 2 02-22-2005 08:19 PM
LVM on RH AS 2.1 yoggieb Linux - Enterprise 2 07-18-2004 05:49 AM
To LVM or not to LVM? illtbagu Linux - Software 3 12-29-2003 04:17 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration