Increase Logical Drive Capacity: Additional Instructions for Linux – ReiserFS File Systems

Use this procedure to make sure that an increase in capacity for a is recognized by a running the Linux Red Hat 6.2 or 7.1 operating system, using ReiserFS 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 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 these three methods to perform a logical drive expansion operation:
  3. In the Script View with the appropriate syntax, type this command:

    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 Using the start Command online help topic in the Enterprise Management Window.

  4. Execute the script by selecting either Tools >> Verify and Execute or Tools >> Execute Only in the Script Editor dialog.
  5. Go to step 7.
  6. Go to the command line shell of your operating system. At the command prompt, type this command, and press Enter:

    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 Using the start Command online help topic in the Enterprise Management Window.

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

    df
    

    A list of all of the mounted storage partition recognized by the host appears. Information about the mounted storage partitions, including the available space, used space, and the directory to which the storage subsystem is mounted also appears.
  8. Locate the storage subsystem being resized in the list, and make sure that enough free space exists for an increase in capacity.
  9. Specify the new ReiserFS file system size. At the host prompt, type this command, and press Enter:

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

    In this command, -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 subsystem being resized.

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

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

  10. Locate the storage subsystem, and make sure that the increase in capacity was successful. At the host prompt, type this command, and press Enter:

    df <mount-point>

  11. Exit all applications, and reboot the
  12. Launch a terminal window. At the host prompt, type this command, and press Enter:

    df 
    

    A list of all the mounted storage partitions recognized by the host appears. Make sure that the file system was successfully resized.

Related Links: