Directory-Granular Assimilation Using the CLI
DataCore vFilO is also capable of assimilating data from individual directories on storage volumes. This is only supported using the command line and logged in as an admin-level user. The source for directory assimilation can be the entire root of the share or just a sub-directory.
The target directory must be free from conflicts from the source data. Assimilation that effectively over-writes files or directories is not supported.
If a different directory structure is desired in the new share it can easily be modified after starting the assimilation job. Directories and files can be moved around and their physical data location is completely independent on where in the file system tree they are located.
In the following example we will assimilate data as we add a new volume from directory /projects to a new directory /import on a share called share1. We will assimilate an additional directory /engineering to a different share and path.
- When adding a new volume with the volume-add command we can choose a directory to assimilate and select the share and path within the share to assimilate the data to.
Admin CLI
> volume-add --node-name C-Mode-132 --logical-volume-name vs1:vol1 --name CM132-vol1 --assimilation --source-path /projects --share-name share1 --destination-path /import
- If additional directories need to be assimilated, use the volume-assimilation command and choose the directories to assimilate and select which share and path within the share to assimilate the data to. The example below assimilates /engineering into the root (/) of share2. It is important to note that --destination-path option starts at the root of the share, not at the root of the global namespace.
Admin CLI
> volume-assimilation --name CM132-vol1 --source-path /engineering --share-name share2 --destination-path /
- The data will be immediately available to clients when they mount the DataCore vFilO shares, there is no reason to wait until the background assimilation process finish.