cancel
Showing results for 
Search instead for 
Did you mean: 

Online filesystem resize on SLES

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

nelis
Active Contributor
0 Kudos

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