Increase Virtual Disk Capacity: Additional Instructions for Linux - ReiserFS File Systems

Use the following procedure to ensure that an increase in  capacity for a  is recognized by a  running Linux Red Hat 6.2 or 7.1, using ReiserFS file systems.

If an increase in capacity for a standard virtual disk is performed, the host does not immediately recognize the increase in virtual disk capacity. Using the ReiserFS Resizer, the size of a file system might be increased (if free space is available on the ), and the increased capacity is successfully recognized by the Linux host.

1

Start the storage management software.

2

Use one of the folllowing three methods to perform a virtual disk expansion operation. 

  • Method 1
  • Launch an  by double-clicking on a storage array node in the Table view.

    Within the Logical View of the Array Management Window, select a standard virtual disk and increase its capacity by selecting Virtual Disk >> Increase Capacity. Follow the prompts on the dialog boxes to complete the virtual disk expansion. For more information, see Increasing the Capacity of a Standard Virtual Disk.

  • Method 2
  • From the Enterprise Management Window, select the storage array that contains the virtual disk that you want to expand. Then, select Tools >> Execute Script.

    Type the start increaseVolCapacity command in the Script View with the appropriate syntax, as follows:

    start increaseVolCapacity virtual disk =<"virtualDiskLabel"> incrementalCapacity=<capacity> physical disks=<(physical disk list)>;

    Execute the script, select either Tools >> Verify and Execute or Tools >> Execute Only in the Script Editor.

    For more information on the syntax and required parameters for the start increaseVolCapacity command, see "Using the start Command" in the Enterprise Management Window online help.

  • Method 3
  • Go to the command line shell of your operating system. At the command prompt, enter:

    SMcli arrayname -c "start increaseVolCapacity virtual disk =<"virtualDiskLabel"> incrementalCapacity=<capacity> physical disks=<(physical disk list)>;",

    For more information on the syntax and required parameters for SMcli, see "Using the Command Line Interface" in the Enterprise Management Window online help.

    For more information on the syntax and required parameters for the start increaseVolCapacity command, see "Using the start Command" in the Enterprise Management Window online help.

3

Launch a terminal window. At the host prompt, type the following command, and press Enter:

df

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 storage array is mounted is also displayed.

4

Blink the storage array being resized in the list, and ensure that enough free space exists for an increase in capacity.

5

Specify the new ReiserFS file system size. At the host prompt, type the following command, and press Enter:

resize_reiserfs -s + [size] [K|M|G] -f /dev/sdxx

where -s + [size] [K|M|G] specifies the new ReiserFS file system size, in bytes, -f forces an increase in file system size without performing any checks, and /dev/sdxx is the storage array being resized.

Example:

An increase in the size of the storage array "SDF1" of 500 MB is required. After locating the storage array and ensuring that enough free space is available for an increase to occur, enter the following command at the host prompt:

resize_reiserfs -s + 500M -f /dev/sdf1

6

Blink the storage array and ensure that the increase in capacity was successful. At the host prompt, type the following command, and press Enter:

df <mount-point>

7

Exit all applications, and reboot the .

8

Launch a terminal window. At the host prompt, type the following command, and press Enter:

df

A list of all the mounted partitions recognized by the host is displayed. Ensure that the file system was successfully resized.

Related Topics

Increase Virtual Disk Capacity: Additional Instructions

Learn About Increasing the Capacity of a Virtual Disk

Increasing the Capacity of a Standard Virtual Disk