File system information that shows the configuration of each DFS is recorded in the management partition information and is used mainly during maintenance work.
Therefore, back up the management partition information after creating a DFS.
Use the pdfsgetconf command to make the backup.
Point
If file system settings or changes are made the management partition information is changed. Therefore, back up the management partition information.
The following commands change the management partition information:
pdfsmkfs, pdfsadd, pdfsadm, pdfsnode
Back up the management partition information.
# pdfsgetconf _backup_file_ <Enter>
See
Refer to pdfsgetconf under "Appendix A Command Reference" in the "Primesoft Distributed File System for Hadoop V1 User's Guide" for details of the pdfsgetconf command.
Note
The pdfsfrmd daemon must be started at the DFS management server that executes the pdfsgetconf command.
Check the content of the backup.
The pdfsgetconf command generates a shell script having the name _backup_file_.
The shell script content is shown below.
# cat _backup_file_ <Enter> #!/bin/sh # This file is made by: # pdfsgetconf _backup_file_ # Thu Jun 18 09:08:06 2009 # #---- fsid : 1 ---- # MDS primary (port) : master1 (pdfs-1) # MDS secondory (port) : master2 (pdfs-1) # MDS other : # AC : master1,master2 # options : # device : /dev/disk/by-id/scsi-1FUJITSU_300000370106 pdfsadm -m master1,master2 -g master1,master2 -p pdfs-1,pdfs-1 /dev/disk/by-id/scsi-1FUJITSU_300000370106 ・・・omitted・・・
Note
Store "_backup_file_" very carefully because it is used for maintenance work.