Increase Logical Drive Capacity: Additional Instructions for Linux - ext2 Filesystems

Related Topics

Use the following procedure to ensure that an increase in logical drive capacity for a standard logical drive is recognized by a host running Linux Redhat 6.2 or 7.1, using ext2 filesystems.

If an increase in capacity for a standard logical drive is performed, the host will not immediately recognize the increase in logical drive capacity. Using the ext2resize tool to perform the actual increase, either the device driver will need to be reloaded or a remove/add SCSI-level scan will have to be performed to ensure the increase is recognized.

Important: In this version of the storage management software, increasing a logical drives capacity has been verified with ext2 and ReiserFS filesystems.

Procedure

1

Start the storage management software.

Result: The Enterprise Management Window is displayed.

2

Launch an Subsystem Management Window using one of the following methods:

  • Select the storage subsystem in either the Device Tree View or the Device Table, then select the Manage Device toolbar button, or the Tools >> Manage Device pull-down menu option.
  • Right-click the storage subsystem in the Device Tree View or Device Table, then select Manage Device from the right-mouse pop-up menu.
  • Double-click on a storage subsystem node in the Device Table.
  • Select the storage subsystem in either the Device Tree View or the Device Table, then press Enter.

Result: The Subsystem Management Window is opened in a separate window.

3

Within the Logical View of the Subsystem Management Window, select a standard logical drive, and increase its capacity using one of the following methods:

  • Select the Logical Drive >> Increase Capacity pull-down menu option, or Increase Capacity from the right-mouse pop-up menu. For more information, see Increasing the Capacity of a Standard Logical Drive.
  • Create a FlashCopy logical drive using either the Script Editor or a command line shell on the host operating system. Type the following command and press Enter:

    start increaseVolCapacity

    For command reference information on creating a FlashCopy logical drive, refer to "Using the start Command" in the Enterprise Management Window online help.

4

Launch a terminal window and at the host prompt, type the following, then press Enter:

df

Result: A list of all the mounted partitions recognized by the host is displayed. Information about the mounted partitions, including the available space, used space, and the directory to which the device is mounted is also displayed.

5

Locate the device being resized in the list, and ensure that enough free space exists for an increase in capacity.

6

Unmount the device from its host. At the host prompt, type the following, then press Enter:

unmount /dev/sdxx

where /dev/sdxx is the device to be resized.

Important: All devices recognized by the driver must be unmounted before you unload the driver.

7

Unload the driver from the host. At the host prompt, type the following, then press Enter:

modprobe -r qla2x00

If using driver other than qla2x00, substitute its name instead.

Note: If this command does not work, reboot the host to unmount the driver.

8

Reload the driver on the host. At the host prompt, type the following, then press Enter:

modprop qla2x00

Note: If using driver other than qla2x00, substitute its name instead.

9

Start the ext2resize tool. At the host prompt, type the following, then press Enter:

ext2resize /dev/sdxx

where /dev/sdxx is the device being resized.

Note: The ext2resize tool is part of the GNU ext2resize package, which allows resizing of ext2 filesystems, and is provided as part of the RedHat 7.1 Powertools CD.

Result: A confirmation message is displayed, indicating the filesystem was successfully resized.

10

Remount the device to the host. At the host prompt, type the following, then press Enter:

mount /dev/sdxx

where /dev/sdxx is the device being remounted.

11

Exit all applications and reboot the host operating system.

12

Launch a terminal window and at the host prompt, type the following, then press Enter:

df

Result: A list of all the mounted partitions recognized by the host is displayed. Ensure that the filesystem was successfully resized.

Related Topics

Increase Logical Drive Capacity: Additional Instructions

Learn About Increasing the Capacity of a Logical Drive

Increasing the Capacity of a Standard Logical Drive