Operating System - Linux
1752785 Members
6230 Online
108789 Solutions
New Discussion юеВ

How to extend a filsystem on a AVA LUN

 
Rui Vilao
Regular Advisor

How to extend a filsystem on a AVA LUN

Hi all,

I have a DL585 running RHEL4 connected to an EVA 3000.
I have extended a LUN on the EVA.

The ext3 filesystem was initiallly created directly on the partion /dev/sdc1 (no LVM).

When I run fdisk, the new size of the /dev/sdc device is not detected.

I have rebooted the server, ran hp_rescan -a but the size with fdisk doesn't change.

TIA,

Best Regards,

Rui.
"We should never stop learning"_________ rui.vilao@rocketmail.com
3 REPLIES 3
Stuart Browne
Honored Contributor

Re: How to extend a filsystem on a AVA LUN

The partition won't magically resize it's self, but the 'disk' (LUN) should show as being larger (the partition not taking all the available space any more).

If this is what is happening, then you need to use your favourite tool to resize the partition, then expand the filesystem.

Most people will use 'parted' (or 'gparted' if you prefer a GUI). From there, an 'resize2fs' or 'ext2online' call to resize the filesystem on that partition.
One long-haired git at your service...
Srikanth Arunachalam
Trusted Contributor

Re: How to extend a filsystem on a AVA LUN

hi Rui,

You may use the attached document for
(1) Resizing the ext3 filesystem. Verify the steps as per the documentation

(2) Procedure for extending LUN on EVA.
(The attachment to this contains VxVM related stuff that you may ignore.

Thanks,
Srikanth

Rui Vilao
Regular Advisor

Re: How to extend a filsystem on a AVA LUN

Hi Stuart and Srikanth,

Stuart,

Fdisk is not returning the new size. Do I have to resize /dev/sdc prior to the partion?


Srikanth,

I can not read the attached doc. Can you upload it again?

Thanks!

Rui.
"We should never stop learning"_________ rui.vilao@rocketmail.com