[Samba] LVM + xfs + Shadow copy
ddiss at sgi.com
Fri Apr 18 05:33:52 GMT 2008
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
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
More information about the samba