Data Backup and Recovery Discussions
Snapdrive for Unix 5.3 and CDOT 8.3.1P1.
We are currently using Snapdrive to create lunclones.
Is it possible to use Snapdrive to create file clones?
Below is command to clone a filesystem (Lun) which has application consistent snapshots:
I have used Snapshot snap2 which contains application consistent Snapshots of /mnt/fs1 and /mnt/fs2 for snap connect.
# snapdrive snap connect -fs /mnt/fs_1 -fs /mnt/fs_2 -snapname homer:/vol/vol1:snap2 -autorename -clone unrestricted
connecting /mnt/fs_1:creating unrestricted volume clone homer:/vol/Snapdrive_vol1_volume_clone_from_snap2_snapshot ... successmapping new lun(s) ... doneconnecting /mnt/fs_2:mapping new lun(s) ... donediscovering new lun(s) ... doneSuccessfully connected to snapshot homer:/vol/vol1:snap2file system: /mnt/fs_1_0file system: /mnt/fs_2_0
Here, SnapDrive for UNIX has created a single unrestricted FlexClone Snapdrive_vol1_0_volume_clone_from_snap2_Snapshot from Snapshot snap2.
This is then connected to LUN to create a cloned host file system /mnt/fs1_0 and /mnt/fs2_0 respectively.
email id: firstname.lastname@example.org