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

13.2 Deleting a Storage System

Under a DFS, the shared disks that comprise a file system cannot be deleted.

This section explains how to change the configuration of a DFS when a shared disk is deleted.

  1. Stopping Hadoop

  2. Unmounting

  3. Deleting a File System

  4. Creating a File System

  5. Setting the User ID for Executing MapReduce

  6. Recreating and Distributing the DFS File System Configuration Information

  7. Mounting

  8. Starting Hadoop


The procedure for changing a DFS configuration is shown below.

All configuration changes must be performed using root permissions.

This section describes the procedure for changing a configuration when deleting partitions from a DFS, using the following environment as an example.

  • File system ID

: 1

  • Logical file system name

: pdfs1

  • Representative partition

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

  • Existing partitions

: /dev/disk/by-id/scsi-1FUJITSU_300000370107
/dev/disk/by-id/scsi-1FUJITSU_300000370108

  • Partition to be deleted

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

  • Master server

: master1 (primary), master2 (secondary)

  • Slave server

: slave1, slave2, slave3, slave4, slave5

  • Development server

: develop

  • Collaboration server

: collaborate


Note that if any resources are required after changing the configuration, those resources must be backed up beforehand and then restored when the configuration change completes.

Perform backup in file/directory units.

Note

As shared disks are deleted, ensure that there is sufficient DFS space when backed up resources are restored.

See

Refer to "3.2.1 Backing-up and Restoring Using Standard Linux Commands (Files/Directories)" in the "Primesoft Distributed File System for Hadoop V1 User's Guide".