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.
Refer to "E.1 Deleting a File System" for the DFS deletion procedure.
Refer to "D.4 File System Creation" for the DFS creation procedure.
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:
| /dev/disk/by-id/scsi-1FUJITSU_300000370106 |
| pdfs1 |
Unless specifically indicated otherwise, execute procedures at the master server.
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>
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>
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
Re-create the DFS.
# sh _mkfs_param_ <Enter>
Delete the pdfsmkfs command row.
# rm _mkfs_param_ <Enter>
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>