13.2. Example: add a file system to a volume
After you have made an EVMS or compatibility volume, add a file system to the volume before mounting it. You can add a file system to a volume through the EVMS interface of your choice.
Example 13-1. Add a JFS File System to a Volume
This example creates a new JFS file system, named jfs_vol, on volume /dev/evms/my_vol.
13.2.1. Using the EVMS GUI
Follow these steps to create a JFS file system with the EVMS GUI:
Select ->->.
Select .
Click Next.
Select .
Click Next.
Type jfs_vol in the "Volume Label"
field. Customize any other options you are interested in.
Click Make.
The operation is completed when you save.
Alternatively, you can perform some of the steps to create a file system with the GUI
context sensitive menu:
From the tab, right click
/dev/evms/my_vol.
Click
Continue creating the file system beginning with step 2 of the
GUI instructions. You can skip steps 4 and 5 of the GUI instructions.
13.2.2. Using Ncurses
Follow these steps to create a JFS file system with Ncurses:
Select ->->.
Select JFS File System Interface Module.
Activate Next.
Select /dev/evms/my_vol.
Activate Next.
Scroll down using the down arrow until
is highlighted.
Press Spacebar.
At the "::" prompt enter jfs_vol.
Press Enter.
Activate Make.
Alternatively, you can perform some of the steps to create a file system with the
context sensitive menu:
From the Volumes view, press Enter on
/dev/evms/my_vol.
Activate the menu item.
Continue creating the file system beginning with step 2 of the
Ncurses instructions.
13.2.3. Using the CLI
Use the
mkfs command to create the new file system.
The arguments to mkfs include the FSIM type (in our example, JFS), followed
by any option pairs, and then the volume name. The command to accomplish
this is:
mkfs: JFS={vollabel=jfs_vol}, /dev/evms/my_vol |
The command is completed upon saving.
If you are interested in other options that mkfs can
use, look at the results of the following query:
query: plugins, plugin=JFS, list options |