Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] resize LV
@ 2003-01-28 14:44 Alexander Lazarevich
  2003-01-28 15:01 ` Thomas Kleffel
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Lazarevich @ 2003-01-28 14:44 UTC (permalink / raw)
  To: Linux LVM Sistina

I've got a RedHat linux 7.3 system, running LVM 1.03 (or whatever comes 
with the 7.3 distribution). This system is our fileserver. It is patched 
and uses the 2.4.18-19.7.xsmp kernel. I've got one volume group (homevg), 
with 2 LV's in that group (/dev/homevg/stafflv and /dev/homevg/userslv). 
The filesystem on /dev/homevg/userslv need to be expanded by 50GB. There 
are plenty of free PE's left in homevg, more than 126GB.

I know how to expand the LV while the LV is mounted, piece of cake 
(lvextend -L+50GB /dev/homevg/userslv - expands userslv by 50GB). But how 
do I expand the filesystem while it is mounted? I don't want to 
umount the filesystem down to do this.

The filesystem is an ext3 filesystem. Can I use resize2fs? The man pages 
for resize2fs say nothing about doing it while the filesystem is mounted, 
so I'm assuming I can't. If not, is there some other command that does it 
while the filesystem is online?

If I need a kernel patch/recomplile while will allow me to perform 
filesystem resizes while that filesystem is up thats fine, please let me 
know what the patch is. I need it big time, and I should have figured it 
out before I brought the system online! ack!

Thanks in advance!

Alex
---                                                        ---
   Alex Lazarevich | Systems | Imaging Technology Group
   alazarev@itg.uiuc.edu | (217)244-1565 | www.itg.uiuc.edu
---                                                        ---

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-01-29  5:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-28 14:44 [linux-lvm] resize LV Alexander Lazarevich
2003-01-28 15:01 ` Thomas Kleffel
2003-01-28 15:09   ` Alexander Lazarevich
2003-01-29  5:08     ` Harri Haataja
2003-01-28 16:14   ` Tren Blackburn
2003-01-28 16:34     ` Kirby C. Bohling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox