Top
Interstage Big DataParallel Processing ServerV1.0.1 User's Guide
FUJITSU Software

15.5 Operations when Errors Occur on the File System

If an error occurs on the file system and it becomes corrupted, re-create the file system.

This section describes the procedure for re-creating a currently used DFS without changing the partition configuration.

The purpose of this is to restore all files from the backup to restore a file system.

See

If the partition configuration is changed, delete the DFS being used, and then create a DFS in the new partition configuration.

Note

When a file system is re-created, all old file system data is deleted. Therefore, back up the required data before re-creation.

The DFS re-creation procedure is described below, using the following environment as an example,

- Representative partition

: /dev/disk/by-id/scsi-1FUJITSU_300000370106

- Logical file system name

: pdfs1

Unless specifically indicated otherwise, execute at the primary master server.

  1. If the targeted DFS is mounted, unmount it.

    Unmount the DFS on all slave servers, development servers, and collaboration servers.

    # umount pdfs1 <Enter>

    Unmount the DFS at the master server.

    # pdfsumntgl /dev/disk/by-id/scsi-1FUJITSU_300000370106 <Enter>
  2. Obtain the pdfsmkfs command line that re-creates a file system.

    # pdfsmkfs -m /dev/disk/by-id/scsi-1FUJITSU_300000370106 > _mkfs_param_ <Enter>
  3. Also, specify the force option in the pdfsmkfs command line. This option is used specifically for re-creation.

    Before editing:

    # cat _mkfs_param_ <Enter>
    pdfsmkfs -o free=10,...[snip]...,node=master1,master2 /dev/disk/by-id/scsi-1FUJITSU_300000370106

    After editing:

    # cat _mkfs_param_ <Enter>
    pdfsmkfs -o force,free=10,...[snip]...,node=master1,master2 /dev/disk/by-id/scsi-1FUJITSU_300000370106
  4. Re-create the DFS.

    # sh _mkfs_param_ <Enter>
  5. Delete the pdfsmkfs command line.

    # rm _mkfs_param_ <Enter>
  6. Mount the DFS, and restart operations.

    Mount the DFS, starting with the master server.

    # pdfsmntgl /dev/disk/by-id/scsi-1FUJITSU_300000370106 <Enter>

    Mount the DFS on all slave servers, development servers, and collaboration servers that use the DFS.

    # mount pdfs1 <Enter>