UNSOLVED

capri_guy84

updated

14 years ago

0

13485

October 25th, 2012 16:00

PS6000 Smart-copies to Samba Shadow-copy

Hi,

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.

http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2651694  

Found info on Auto SnapShotting here.

http://www.dellstorage.com/WorkArea/DownloadAsset.aspx?id=2728

  • 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

  • 882

    0

    Posted October 31st, 2012 11:00

    This may not be related to Dell Equallogic but more related to Samba. I am posting here to get some feedback.

    2012/10/31 12:20:53.549863,  0] smbd/nttrans.c:2170(call_nt_transact_ioctl) FSCTL_GET_SHADOW_COPY_DATA: connectpath /fs/test-01, failed.

    [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

    [2012/10/31 12:21:13.887265,  0] smbd/nttrans.c:2170(call_nt_transact_ioctl) FSCTL_GET_SHADOW_COPY_DATA: connectpath /fs/test-01, failed.

    samba version: 3.5.10-116

    [test]

           comment = Test Directories

           path = /fs/test-01

           vfs objects = shadow_copy2