Expand SAN LUN Oracle Linux 6

Expand SAN LUN Oracle Linux 6

Expand SAN LUN Oracle Linux 6

Oracle Linux LUN expansion: Expand SAN LUN Oracle Linux 6

at this point, we are assuming that you have a SAN volume on Oracle Linux 6, configured using both of the previous blogs

Mount San Volume Oracle Linux

Format LUN for Oracle Linux

SERIOUS DATA LOSS CAN OCCUR FROM THIS PROCEDURE, MAKE A BACKUP, WE ARE NOT RESPONSIBLE FOR ANY DATA LOSS, YOU ARE DOING THIS ON YOUR OWN AT THIS POINT!!!

in this demo, we have a 500GB LUN that has filled up, we are expanding it to 600GB.

at this point you need to bring down the database instance, and umount the disk, resize the LUN, and then re-map

Oracle Linux LUN expansion: at this point you need to bring down the database instance, and umount the disk, resize the LUN,…

from here, restart the iscsi service

Oracle Linux LUN expansion: restart the iscsi service

if we do a fdisk-l we should see that the LUN has been resized to 633GB (if not, the storage needs to be un-mapped, and then re-mapped on the SAN)fdisk output showing /dev/sdc resized to 633.3 GB

from here we have to do a fdisk

Oracle Linux LUN expansion: we have to do a fdisk

here’s the output

Oracle Linux LUN expansion: here’s the output

hit yes

you may have to do a few fixes

Oracle Linux LUN expansion: you may have to do a few fixes

now run resize2fs

Oracle Linux LUN expansion: run resize2fs

here’s the output

Oracle Linux LUN expansion: here’s the output

now we just need to re-mount, and verify space

Oracle Linux LUN expansion: we just need to re-mount, and verify space

perfect! it’s as expected at this point! Time to bring back up the Databases and go home for the day.

Hosted Oracle Linux at www.zwiegnet.com/go

Leave a Reply

Your email address will not be published. Required fields are marked *