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

7.1.2 Removing the DFS Setup

The DFS setup removal sequence is as follows:

In a DFS, information on the partitions comprising a file system is recorded in the management partition.

Therefore, when the DFS currently being used is no longer required, it must be deleted.

Note

When a file system is deleted, all file system data is deleted. Therefore, back up required data before deletion.

The DFS deletion procedure is described below using the following environment as an example:

  • Management partition

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

  • Representative partition

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

  • File data partition

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

  • File system ID

:1

  • Logical file system name

:pdfs1

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

  1. Check the current file system information.

    # pdfsinfo -a <Enter>
    /dev/disk/by-id/scsi-1FUJITSU_300000370106:  
    FSID special                                             size Type mount
       1 /dev/disk/by-id/scsi-1FUJITSU_300000370106 (864)   25418 META -----
       1 /dev/disk/by-id/scsi-1FUJITSU_300000370106 (864)    5120 LOG  -----
       1 /dev/disk/by-id/scsi-1FUJITSU_300000370107 (880) 7341778 DATA -----
       1 /dev/disk/by-id/scsi-1FUJITSU_300000370108 (896) 6578704 DATA -----
  2. 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>
  3. Delete the DFS.

    # pdfsadm -D /dev/disk/by-id/scsi-1FUJITSU_300000370106 <Enter>
  4. Check that the DFS was deleted.

    Check that the file system information recorded in the management partition does not exist.

    # pdfsinfo -a <Enter>
  5. On the primary master server and the secondary master server, delete the connection authorization list file.

    # cd /etc/pdfs <Enter>
    # rm ./server.conf.1 <Enter>
  6. Delete the targeted DFS description from the /etc/fstab of the primary master server and the secondary master server.

    Relevant entries are those with a representative partition (device name using by-id name) as the first field.

  7. Stop the pdfsfrmd daemon.

    Stop the pdfsfrmd daemons running on the primary master server and the secondary master server.

    # pdfsfrmstop <Enter>
  8. Delete the DFS management server information on the primary master server and the secondary master server.

    # pdfssetup -d <Enter>

See

Refer to the "Appendix A Command Reference" of the "Primesoft Distributed File System for Hadoop V1 User's Guide" for information on pdfsinfo, pdfsumntgl, pdfsadm, pdfsfrmstop, and pdfssetup.