PRIMECLUSTER Global File Services Configuration and Administration Guide 4.1 (Linux) |
Contents
Index
![]() ![]() |
This chapter describes how to migrate from the ext2/ext3 file system to the GFS Shared File System.
Note the following items when migrating from the existing ext2/ext3 file system to the GFS Shared File System:
A file with a hole means a file containing a part to which no data block has been assigned.
File system migration first requires that files and directories on the ext2/ext3 file system be backed up on another location (for example, on a storage device or another file system). Then, a new GFS Shared File System should be configured, and the files and directories can be expanded. Take the following procedures:
The following shows an example of migration on a same partition.
# cd /extmnt <- /extmnt is the mount point of ext2/ext3 from which migration is performed. # tar cvpf - . > /data/backup.tar <-Back up files. # cd / # umount /extmnt Perform GDS settings and management partition settings. (For details about GDS settings, see "PRIMECLUSTER Global Disk Services Configuration and Administration Guide.") # sfcmkfs -o node=mikan,mango /dev/sfdsk/gfs/dsk/volume1 <- Configure GFS. # sfcmount /dev/sfdsk/gfs/dsk/volume1 /sfcfs <- Mount on GFS. # cd /sfcfs <- Move to the GFS Shared File System mount point. # tar xvf /data/backup.tar <- Expand backup files on the GFS Shared File System.
Contents
Index
![]() ![]() |