On Thu, 17 Apr 2008 13:14:20 +0200 (CEST)
Adam Roland 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
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba