[Lustre-discuss] backup MDT question
Thomas Wakefield
twake at cola.iges.org
Wed Mar 25 06:53:43 PDT 2009
We just upgraded to 1.6.7 and previously we were using LVM snapshots
to backup the MDT. Now after the jump to 1.6.7 the tar backups are
HUGE. I must be missing something but i can't find it in the
documentation. My backups previously were in the MB's, now i gave up
when the tar file passed 20GB, when the MDT is only using 1.8GB of
disk space.
Here is what i am running roughly (it's actually run from another
server over ssh):
lvcreate -s -L 4G MDS1/lvol0 -n backup
mount -t ldiskfs /dev/MDS1/backup /srv/backups/lustre/mds-1
cd /srv/backups/lustre/mds-1 && getfattr -R -d -m '.*' -P . | gzip >
$backupdir/ea.bak.gz
cd /srv/backups/lustre/mds-1 && tar czfS - . | cat > $backupdir/
mdsbak.tgz
I have tried it with and without the "S" on the tar, thinking that the
sparse file handling was my problem.
So can anyone point me in the correct direction for getting these LVM
backups under control.
Thomas Wakefield Jr.
Systems Administrator COLA/IGES
301-902-1268
twake at cola.iges.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20090325/54a04a53/attachment.htm>
More information about the lustre-discuss
mailing list