Top
Interstage Big DataParallel Processing ServerV1.0.0 User's Guide
Interstage

E.2 Re-creating a 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 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 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 procedures at the master server.

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

    Unmount the DFS at 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. Fetch the row of the pdfsmkfs command that re-creates a file system.

    # pdfsmkfs -m /dev/disk/by-id/scsi-1FUJITSU_300000370106 > _mkfs_param_ <Enter>
  3. Add specification of the force option, used specifically for re-creation, to the pdfsmkfs command row.

    # cat _mkfs_param_ <Enter>
    pdfsmkfs -o force,[omitted] /dev/disk/by-id/scsi-1FUJITSU_300000370106
  4. Re-create the DFS.

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

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

    Mount the DFS, starting with the master server.

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

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

    # mount pdfs1 <Enter>