on 02-17-2009 7:32 AM
Hi
How do you online resize a filesystem under SLES? In my opinion this option is crucial to run productions systems. Do you guys use filesystems like reiser or use lvm and resize2fs?
Regards, Michael
Hi Michael,
How do you online resize a filesystem under SLES?
Yes, we use LVM(2) with reiserfs.
As an example, if I were to add a new LUN I would do the following:
* pvcreate /dev/sdc (new LUN)
* vgextend vgdata /dev/sdc (add new LUN to volume group you wish to extend)
* lvextend -L <size> /dev/vgdata/lvdata (extend the logical volume)
* resize_reiserfs /dev/vgdata/lvdata (resize while online)
We're using HP Blades with SLES9/10 connected to an HP EVA SAN. We add the new LUN while online then use the HP fibre utils to do a rescan for any new scsi devices. Then just follow as above.
This [Blog|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/12878] [original link is broken] [original link is broken] [original link is broken]; may interest you as well.
Regards,
Nelis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.