I know that Lustre is looking to use ZFS in the future, but has anyone used LVM with Lustre to perform snapshots? This would be helpful for us to get a consistent back-up of the filesystem on a daily basis. Thanks, Robert Robert LeBlanc College of Life Sciences Computer Support Brigham Young University leblanc at byu.edu (801)422-1882
On Nov 07, 2007 09:30 -0700, Robert LeBlanc wrote:> I know that Lustre is looking to use ZFS in the future, but has anyone used > LVM with Lustre to perform snapshots? This would be helpful for us to get a > consistent back-up of the filesystem on a daily basis.There was some work done to be able to mount Lustre from LVM snapshots. This required that the Lustre configuration was rewritten on the snapshot in order to change the filesystem name so that different OST/MDT names will be used at mount time. Cheers, Andreas -- Andreas Dilger Sr. Software Engineer, Lustre Group Sun Microsystems of Canada, Inc.
Robert, We use LVM snapshots but not on a production filesystem. It slows things down too much (kcopyd). Instead we mirror the production filesystem to the backup filesystem every night and perform snapshots on that. A modern kernel/distro (e.g. RHEL5) is required for stable snapshots. As Andreas said you can then use "tunefs.lustre --reformat --writeconf --fsname=NEWNAME" to rename the filesystems and mount them on the MDS and OSSs. Clients can then mount the snapshot filesystems. Daire ----- "Robert LeBlanc" <robert at leblancnet.us> wrote:> I know that Lustre is looking to use ZFS in the future, but has anyone > used > LVM with Lustre to perform snapshots? This would be helpful for us to > get a > consistent back-up of the filesystem on a daily basis. > > Thanks, > Robert > > Robert LeBlanc > College of Life Sciences Computer Support > Brigham Young University > leblanc at byu.edu > (801)422-1882 > > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
Robert LeBlanc wrote:> I know that Lustre is looking to use ZFS in the future, but has anyone used > LVM with Lustre to perform snapshots? This would be helpful for us to get a > consistent back-up of the filesystem on a daily basis. >http://wiki.lustre.org/index.php?title=Filesystem_Backup