3. Example: check a file system

You can also coordinate file system checks from the EVMS user interfaces.

Example 13.2. Check a JFS File System

This example shows how to perform a file system check on a JFS file system, named jfs_vol, on volume /dev/evms/my_vol, with verbose output.


3.1. Using the EVMS GUI

Follow these steps to check a JFS file system with the EVMS GUI:

  1. Select ActionsFile SystemsCheck/Repair.

  2. Select /dev/evms/my_vol.

  3. Click Next.

  4. Click the Yes button by Verbose Output. Customize any other options you are interested in.

  5. Click Check.

  6. The operation is completed when you save.

Alternatively, you can perform some of the steps to check a file system with the GUI context sensitive menu:

  1. From the Volumes tab, right click /dev/evms/my_vol.

  2. Click Check/Repair File System...

  3. Continue checking the file system beginning with step 3 of the GUI instructions.

3.2. Using Ncurses

Follow these steps to check a JFS file system with Ncurses:

  1. Select ActionsFile SystemCheck/Repair

  2. Select /dev/evms/my_vol.

  3. Activate Next.

  4. Scroll down using the down arrow until Verbose Output is highlighted.

  5. Press Spacebar to change Verbose Output to Yes.

  6. Activate Check.

Alternatively, you can perform some of the steps to check a file system with the context sensitive menu:

  1. From the Volumes view, press Enter on /dev/evms/my_vol.

  2. Activate the Check/Repair File System menu item.

  3. Continue checking the file system beginning with step 3 of the Ncurses instructions.

3.3. Using the CLI

The CLI check command takes a volume name and options as input. The command to check the file system on /dev/evms/my_vol is the following:

check: /dev/evms/my_vol, verbose=TRUE

Currently, a query command for viewing additional options is not available.