[Lustre-discuss] MDT backup/restore

Jerome, Ron Ron.Jerome at nrc-cnrc.gc.ca
Fri May 22 06:05:33 PDT 2009


Ok, replying to myself for the benefit of others who stumble upon
this...  

Using the -S (or --sparse) argument on the tar command when archiving
MDT/MDS file systems solves the issue of the restored files being larger
than the original and thus not fitting on the target file system.

I would suggest that adding this to the documentation might be beificial
to all who attempt to move an MDS file system :-)

Thanks to the Lustre team for all their hard work,

Ron. 


> -----Original Message-----
> From: lustre-discuss-bounces at lists.lustre.org [mailto:lustre-discuss-
> bounces at lists.lustre.org] On Behalf Of Jerome, Ron
> Sent: May 21, 2009 3:39 PM
> To: lustre-discuss at lists.lustre.org
> Cc: Brian J. Murrell
> Subject: Re: [Lustre-discuss] MDT backup/restore
> 
> Hmmm, a little research in the archives leads me to believe that the
> --sparse option is required on the tar "create" command line.
> 
> Would this be correct?
> 
> BTW, this MDT is running 1.6.7.1
> 
> Thanks,
> 
> _________________________________________
> Ron Jerome
> Programmer/Analyst
> National Research Council Canada
> M-2, 1200 Montreal Road, Ottawa, Ontario K1A 0R6
> Government of Canada
> Phone: 613-993-5346
> FAX:   613-941-1571
> _________________________________________
> 
> 
> > -----Original Message-----
> > From: lustre-discuss-bounces at lists.lustre.org
[mailto:lustre-discuss-
> > bounces at lists.lustre.org] On Behalf Of Brian J. Murrell
> > Sent: May 21, 2009 2:15 PM
> > To: lustre-discuss at lists.lustre.org
> > Subject: Re: [Lustre-discuss] MDT backup/restore
> >
> > On Thu, 2009-05-21 at 13:39 -0400, Jerome, Ron wrote:
> > > Hi all,
> >
> > Hi Ron,
> >
> > > I attempting to move my MDT to a new server and I'm seeing strange
> > > behavior when trying to restore the MDT tar file taken from the
> > original
> > > disk to the new one.  Basically, the existing MDT data appears to
> use
> > > about 2.5G, however when I restore the tar file on the new server
> it
> > > completely fills a 120G partition and the restoration fails with
> out
> > of
> > > disk space errors??
> >
> > There has been a lot of discussion on this list about backing up the
> > MDT
> > for relocation.  Please review the archives.  IIRC, there was even
> > somebody reporting this exact issue.
> >
> > b.
> 
> _______________________________________________
> 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