I am investigating a way to create shadow-copy for our file server and was hoping to see if someone was able to accomplish that.
Bascially, can I take snap-shots on SAN(smart-copies) and mount them along with the volume, in order to simulate a shadow copy for windows hosts. I ask because only SAN software allows pause and thaw snapshotiing on any type of volume.
Anyone done this before? Any feedback?
I am referring this samba guide and where it comes to snapshot and mount on the same volume.
[2012/10/31 12:21:13.887198, 0] modules/vfs_shadow_copy2.c:734(shadow_copy2_get_shadow_copy2_data) shadow:snapdir not found for /fs/test-01 in get_shadow_copy_data
capri_guy84
3 Posts
882
0
Posted October 26th, 2012 16:00
Ok. Let me elaborate more.
I am using RHEL6 x64 host and have installed Linux HIT v1.1. It works fine. I can take snapshots and mount them using "asmcli" commands.
What I am trying to accomplish is mount the snapshot right under the same volume and enable shadow copy for windows users.
== code ==
SNAPNAME=`date +%Y.%m.%d-%H.%M.%S`
VOLNAME='/fs/test-01'
asmcli create smart-copy --source $VOLNAME
mkdir /fs/test-01/@GMT-$SNAPNAME
asmcli mount smart-copy --latest --destination /fs/test-01/@GMT-$SNAPNAME
==end code ==
smb.conf
[test]
path = /fs/test-01/test
vfs objects = shadow_copy2
It is not working as intended. I am seeing if someone has been able to accomplish this