Link to home
Start Free TrialLog in
Avatar of g0all
g0allFlag for Saint Pierre and Miquelon

asked on

Linux ext3 + EMC storage (powerpath)

Hi,

I'll have to extend a LUN on a EMC SAN Storage.

After this is going to be done, what steps should I perform in order to extend a ext3 file system on a RedHat Linux machine? LVM is not implemented.

Thanks you!
Avatar of Gerwin Jansen
Gerwin Jansen
Flag of Netherlands image

Hi, not sure about whether this will work but here is a similary story: http://www.linuxnepal.com/2011/06/10/extend-the-size-of-ext3-partition-online-in-a-virtual-machine/

I'm not sure whether any data could get lost in the step where the partition is deleted and recreated again, I have no way to test this for you. So be careful if you are going to try (like backin up your machine).
Avatar of g0all

ASKER

Hi,
Unfortunately that has nothing to do with m issue... Thanks for your efforts...
ASKER CERTIFIED SOLUTION
Avatar of Ahmad_Bakr
Ahmad_Bakr

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ahmad_Bakr
Ahmad_Bakr

In my above solution your device file should not contain important system files such as the / file system. the steps are for a device file (i.e filesystem) that will not affect linux operation if unmounted from the system.

I hope this is helpfull
Avatar of g0all

ASKER

Ahmad_Bakr,

Thank you for your kind feedback.

I have important data on that already created ext3 partition. To be more specific it's a oracle db.

I'm not having LVM in this situation.

So normally after LUN extend from the EMC I should umount, fsck, and resize2fs.

That would extend partition at the OS level.
Correct?

Many thanks!
yes this is steps to be done. In case you would want to expand lets say the / file system then the steps would be the same but it will needed to be carried out using a Rescue CD or a similar tool.

As for your case the data is oracle db, where I am pretty sure that it could be done at the OS. As for having important data on your device file, then I would really take a back up before touching it. And after the expansion I would keep the backup until I get a confirmation from the oracle db that the data is consistent and nothing is lost or corrupted.

Regards
Avatar of g0all

ASKER

Thank you!!!