Hi, all. I am having a problem with lvm. I have it set up and working, to a point. The problem I'm having is that when I try to add more space to a volume, it doesn't show up. As an example, my /usr partition is 5.0 gig. Using yast2, system,lvm, I change this to be 6.0 gig. I hit the apply button (this is as root), and it says all changes were successful and ready to use. However, using the 'df' command, it says /usr is still 5.0 gig. Even after a reboot, 'df' says 5.0 gig, and the lvm config in yast2 says its 6.0 gig. The big question is, am I doing something wrong, missing something, or does the lvm stuff in yast2 just not work? Any info/help on this would be greatly appreciated - /usr is starting to fill up! Best Regards, DCM
On Friday 15 March 2002 03.49, Duane C. Mallory wrote:
I am having a problem with lvm. I have it set up and working, to a point. The problem I'm having is that when I try to add more space to a volume, it doesn't show up. As an example, my /usr partition is 5.0 gig. Using yast2, system,lvm, I change this to be 6.0 gig. I hit the apply button (this is as root), and it says all changes were successful and ready to use. However, using the 'df' command, it says /usr is still 5.0 gig. Even after a reboot, 'df' says 5.0 gig, and the lvm config in yast2 says its 6.0 gig.
df says the formatted file system is 5.0 gig, and yast2 says the constituent partitions are 6.0 gig. What you did in yast2 was to add another physical partition to the logical volume. This doesn't mean that the filesystem changes size. If /usr is reiserfs try running /sbin/resize_reiserfs regards Anders
Anders, Thanks for the reply. What you say makes sense. I am running ext3, not Reiserfs. I will check the docs to see how I can resize this partition. I guess I expected yast2 would take care of it all! Silly me. Best Regards, DCM On Thu, 2002-03-14 at 23:57, Anders Johansson wrote:
On Friday 15 March 2002 03.49, Duane C. Mallory wrote:
I am having a problem with lvm. I have it set up and working, to a point. The problem I'm having is that when I try to add more space to a volume, it doesn't show up. As an example, my /usr partition is 5.0 gig. Using yast2, system,lvm, I change this to be 6.0 gig. I hit the apply button (this is as root), and it says all changes were successful and ready to use. However, using the 'df' command, it says /usr is still 5.0 gig. Even after a reboot, 'df' says 5.0 gig, and the lvm config in yast2 says its 6.0 gig.
df says the formatted file system is 5.0 gig, and yast2 says the constituent partitions are 6.0 gig. What you did in yast2 was to add another physical partition to the logical volume. This doesn't mean that the filesystem changes size.
If /usr is reiserfs try running /sbin/resize_reiserfs
regards Anders
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
Duane C. Mallory wrote:
Anders,
Thanks for the reply. What you say makes sense. I am running ext3, not Reiserfs. I will check the docs to see how I can resize this partition. I guess I expected yast2 would take care of it all! Silly me.
It does so for reiserfs, as of SL 7.3 at least. No idea if ext3 is resizable? Well, every fs is, I mean if the ext2/3 tools will DO it is the question (which YOU have to find out now ;-) ).
I am having a problem with lvm. I have it set up and working, to a point. The problem I'm having is that when I try to add more space to a volume, it doesn't show up. As an example, my /usr partition is 5.0 gig. Using yast2, system,lvm, I change this to be 6.0 gig. I hit the apply button (this is as root), and it says all changes were successful and ready to use. However, using the 'df' command, it says /usr is still 5.0 gig. Even after a reboot, 'df' says 5.0 gig, and the lvm config in yast2 says its 6.0 gig.
The big question is, am I doing something wrong, missing something, or does the lvm stuff in yast2 just not work?
For me this only works if I'm using reiserfs and using yast, (the old console-only tool they are going to scrap in 8.0 without telling us how the new console based yast2 looks like (the old console based yast2 sucks)) You can also manually extend the filesystem after you have extended the volume in reiserfs using /sbin/resize_reiserfs. This can be done online, no remount or reboot required. The same tool for ext2 is named resize2fs. But I don't believe you can do it online with that tool. /Stefan
participants (4)
-
Anders Johansson
-
Duane C. Mallory
-
Michael Hasenstein
-
Stefan Nilsen