[Samba] LVM + xfs + Shadow copy
Adam Roland
roland.adam at freemail.hu
Fri Apr 18 07:40:33 GMT 2008
hi Dave,
first of all, thanx the reply :)
so, if i make this change;
SNAPNAME=`date +%Y.%m.%d-%H.%M.%S`
the whole thing gonna be fine :)
i see previous versions, so sun lights upon my face ...
the xfs_freeze -f /home/ command does make the process hangup at lvcreating, so i doesn't use,
by the way, i really don't understand whats the purpose of xfs_freeze,
does it matter when i use snapshotting at 500GB size of partition, but don't care about xfs_freeze?
have a nice day,
Roli
David Disseldorp <ddiss at sgi.com> írta:
> On Thu, 17 Apr 2008 13:14:20 +0200 (CEST)
> Adam Roland <roland.adam at freemail.hu> wrote:
>
> >
> >
> > hi there,
> >
> > i begin to install shadow copy VFS mod function in samba 3.0.24-6etch9, after i see the same function at win2003srv,
> > i think it could be very useful, if i gonna make it under DEB,
> >
> > but at the moment i'm really get stucked,
> >
> > i try to describe what's the point now;
> >
> > 1 - load shadow_copy mod in smb.conf
> > vfs objects = shadow_copy
> > 2 - install shadow copy client in WinXPProf
> > 3 - write script to make snapshot to my LVM2 + XFS system
> > SNAPNAME=`date+%Y.%m.%d_%H.%M.%S`
>
> SNAPNAME=`date +%Y.%m.%d-%H.%M.%S`
>
> also should probably do a `xfs_freeze -f /home` here if lvcreate doesn't.
>
> > lvcreate -v -L10M -s -n $SNAPNAME /dev/lvmgroup1/home
> > xfs_freeze -u /home
> > mkdir /home/@GMT-$SNAPNAME
> > mount /dev/mapper/lvmgroup1-$SNAPNAME /home/@GMT-$SNAPNAME -onouuid,ro
> > 4 - everything seems to be fine, but when i open previous version window under WinXP, it's blank ...
> >
> > so what else, i have no more idea,
> >
> > can anyone help me?
>
> whats your smb.conf look like?
>
> Also add `log level = 10` to smb.conf and attatch the output from:
> # grep shadow /var/log/samba/log.smbd
>
> Cheers, Dave
>
More information about the samba
mailing list