Creating Linux drives

This topic discuses how to create drives for your integrated Linux® server.

Creating Linux drives using iSeries™ Navigator

Adding a drive to an integrated Linux server is a two-step process:

To create a Linux drive using iSeries Navigator, complete the following steps:

  1. Select one of the following methods:
    • Right-click All Virtual Disks in the left pane and select New Disk and input your desired values in the dialog.
  2. Fill in the parameters as described in the following list:
    Table 1. Linux drive description
    Label Description
    Disk drive name The name of the Linux drive you are creating. This name is also used for the storage space object created in the /QFPNWSSTG directory of the IFS. You should consider using a naming scheme to allow easy identification of storage spaces and to allow using generics (*) on the save commands.
    Description Description of the drive.
    Initialize disk Checkbox to copy data to the new drive from another drive. This option is used when cloning a Linux drive.
    Capacity Enter a size for the new drive in megabytes (MB) or gigabytes (GB).
    Disk pool The iSeries disk pool where the drive is created. The default is Disk Pool 1 (the system ASP), but drives can be created in user ASPs and independent ASPs.
    Planned file system You can use the value that you prefer. The suggested value is *OPEN for Linux specific file systems such as ext2, ext3, etc.
  3. Click OK. A progress window opens,

The process of creating a storage space can range from a few minutes to a few hours, depending on the size. When i5/OS™ finishes creating the storage space it is listed with the other storage spaces.

Important: You must now link the drive to the server’s NWSD before Linux can “see” it.
Note: You can also link the disk to the server by checking the "Link disk to a server" option on the New Disk panel.

Creating Linux drives using CL commands

To create a Linux drive using a CL command, complete the following steps:

  1. Type WRKNWSSTG. Press Enter. The Work with Network Server Storage display. Type 1 in first row of the Opt column and type in the name of the storage space that you want to create. Press Enter.
  2. Alternatively, you can type CRTNWSSTG on the command line. Press Enter. The Create Network Server Storage Space display appears. Type in the name of the storage space that you want to create.
  3. Fill in the parameters as described in the following list. Press Enter.
  4. Type in a description. Press Enter. You see a message at the bottom of the display confirming that the storage space has been created.
    Table 2. Storage space description
    Label Description
    Storage space name The name of the storage space. This name is also used for the storage space object created in the /QFPNWSSTG directory of the IFS. You should consider using a naming scheme to allow easy identification of storage spaces and to allow using generics (*) on the save commands.
    Size Enter a size for the new storage space in megabytes (MB) or gigabytes (GB).
    From storage space The storage space to copy data from. This option is used when cloning a Linux drive.
    Format A nominal format for the new storage space. For Linux we recommend this parameter be set to *OPEN. The storage space is not actually formatted by this command. Only Linux can format it.
    ASP ID The iSeries auxiliary storage pool where the storage space is created. The default is the system ASP, but storage spaces can be created in user ASPs and independent ASPs.
    Description Descriptive name for the storage space.
Important: You must now link the drive to the server’s NWSD before Linux can “see” it.