Use this procedure to make sure that an increase in capacity for a is recognized by a running the Linux Red Hat Advanced Server 2.1 operating system, the Red Hat Professional 8.0 operating system, the SUSE SLE 8.0 operating system, or the SUSE Professional 8.1 operating system, using ext2 or ext3 file systems.
If an increase in capacity for a standard logical drive is performed, the host does not immediately recognize the increase in logical drive capacity. Using the ext2resize tool to perform the actual increase, either you must reload the driver or you must remove or add a SCSI-level scan to make sure that the increase is recognized.
start increaseVolCapacity logical drive =<“logical driveLabel”> incrementalCapacity=<capacity> disk drives=<(disk drive list)>;
For more information about the syntax and required parameters for the start increaseVolCapacity command, refer to the online help topics in the Enterprise Management Window.
SMcli arrayname -c “start increaseVolCapacity logical drive =<“logical driveLabel”> incrementalCapacity=<capacity> disk drives=<(disk drive list)>;”,
For more information about the syntax and required parameters for SMcli, refer to the How to Use the Command Line Interface online help topic in the Enterprise Management Window. For more information about the syntax and required parameters for the start increaseVolCapacity command, refer to the online help topics in the Enterprise Management Window.
df
[root@<directoryname> root] # mount
unmount /dev/sXY
In this command, X is the disk drive, and Y is the storage partition number of the logical drive that you are resizing.
Important:
Unmount all logical drives that are recognized by the driver before you unload the driver.
modprobe -r qla2x00
If you are using a driver other than qla2x00, substitute its name instead.
Note:
If this command does not work, reboot the host to unmount the driver.
modprobe qla2x00
Note:
If you are using a driver other than qla2x00, substitute its name instead.
resize2fs /dev/sdxx
In this command, /dev/sdxx is the storage subsystem being resized.
Important:
You cannot resize an ext3 file system unless it is first converted to an ext2 file system, resized using the ext2resize tool, and converted back to an ext3 file system.
#tune2fs -o^has_journal /dev/sdXY
In this command, X is the disk drive, and Y is the storage partition number.
#e2fsck -f /dev/sdXY
In this command, X is the disk drive, and Y is the storage partition number.
#resize2fs -p /dev/sdxx
In this command, /dev/sdxx is the storage subsystem being resized.
#tune2fx -j /dev/sdXY
In this command, X is the disk drive, and Y is the storage partition number.
mount /dev/sdxx
In this command, /dev/sdxx is the storage subsystem being remounted.
df