Unsolved
This post is more than 5 years old
142 Posts
0
2397
January 29th, 2009 03:00
LUN expansion and LINUX
Hi all,
I have a Red Hat Linux AS 4 server connected to a CX.
I have seen that you can expand the LUN size (using metaluns) and this OS supports LUN expansion. Can this expansion be made without unmounting the FS ? I think the FS type is ext2 or ext3.
Another question about Red Hat Linux AS 4 : can you have a gap in the LUN IDs ? For example, if you have LUN 0, LUN 1 and LUN2 and if you remove LUN 1, will LUN 2 be seen without problem ?
Thanks in advance.
Olivier
I have a Red Hat Linux AS 4 server connected to a CX.
I have seen that you can expand the LUN size (using metaluns) and this OS supports LUN expansion. Can this expansion be made without unmounting the FS ? I think the FS type is ext2 or ext3.
Another question about Red Hat Linux AS 4 : can you have a gap in the LUN IDs ? For example, if you have LUN 0, LUN 1 and LUN2 and if you remove LUN 1, will LUN 2 be seen without problem ?
Thanks in advance.
Olivier
0 events found
No Events found!


dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
January 29th, 2009 06:00
2) are you using PowerPath ? If yes ..power devices will remain persistent while /dev/sd* may change.
chiodp
149 Posts
0
January 29th, 2009 06:00
The size parameter specifies the requested new size of the filesystem. If no units are specified, the units of the size parameter shall be the filesystem blocksize of the filesystem.
The resize2fs program does not manipulate the size of partitions. If you wish to enlarge a filesystem, you must first make sure you can expand the size of the underlying partition first.
This can be done using fdisk by deleting the partition and recreating it with a larger size or using lvextend, if you're using the logical volume manager lvm
. When recreating the partition, make sure you create it with the same starting disk cylinder as before! Otherwise, the resize operation will certainly not work, and you may lose your entire filesystem.
After running fdisk, run resize2fs to resize the ext2 filesystem to use all of the space in the newly enlarged partition.
For the lun id question is better to have no gap because if you using the native device at the reboot the linux will change the device id .
This not happen if you use logical volume manager or powerpath device (powerdevice)
Regards
Pierluca
SKT2
2 Intern
•
1.3K Posts
0
January 29th, 2009 09:00
But here the question is NOT about FS extend rather LUN expand. I have a doc which explains the LUN extend on same platform with NetApp. So i guess EMC should work too. But i have not done LUN expand myself.
chiodp
149 Posts
0
January 29th, 2009 10:00
Thanks
Pierluca
SKT2
2 Intern
•
1.3K Posts
0
January 29th, 2009 17:00
Once logged in search for LINUX LUN resize. The first document in the list.