[Lustre-discuss] mgt backup

Cliff White cliff.white at oracle.com
Thu Apr 1 13:29:17 PDT 2010


John White wrote:
> I just wanted to confirm that the backup/restore procedure for MDTs apply equally to MGTs.  Can someone please confirm?

Actually, the only things kept on a dedicated MGT are config logs.
Should be a trivial task to backup. mount as ldiskfs and make a quick 
tarball. You don't have to stop the filesystem to umount MGT.

# ls -Rl /mnt/mgs
/mnt/mgs:
total 20
drwxrwxrwx 2 root root  4096 Mar 18 10:46 CONFIGS
drwx------ 2 root root 16384 Mar 17 11:08 lost+found

/mnt/mgs/CONFIGS:
total 60
-rw-r--r-- 1 root root 12288 Mar 17 11:08 mountdata
-rw-r--r-- 1 root root 11688 Mar 17 11:10 test1-client
-rw-r--r-- 1 root root 12144 Mar 17 11:10 test1-MDT0000
-rw-r--r-- 1 root root  8880 Mar 18 10:46 test1-OST0000
-rw-r--r-- 1 root root  8880 Mar 18 10:46 test1-OST0001


If it's at combined MGT/MDT, then use the MDT procedure.
cliffw


> ----------------
> John White
> High Performance Computing Services (HPCS)
> (510) 486-7307
> One Cyclotron Rd, MS: 50B-3209C
> Lawrence Berkeley National Lab
> Berkeley, CA 94720
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-discuss




More information about the lustre-discuss mailing list