This topic explains what storages are and how to create them.
Storage is a location to which data backed up from user devices is stored. Storages are created on storage nodes. A storage node can have multiple storages on it.
Each inSync storage contains three folders:
- Data folder - It contains the data backed up from user devices.
- Database folder - It contains the inSync database containing the metadata of the backed up data. The information stored in the database is essential for inSync to identify the data for each user.
- Database log folders - It contains the log files for all transactions to the inSync database.
If you are creating a storage to contain less than 1 TB data, you can use the same folder to create the Data folder, Database folder, and the Database log folder. However, if you are creating a storage to contain more than 1 TB data, you must use separate folders for each.
Before you begin
Before creating a storage:
- Make sure that the storage node on which you want to create the storage is ready, and you have admin or root privileges on the storage node server.
- Make sure you have the required storage space available on or accessible through the storage node.
Creating a storage
Step 1: Create the folders required for the storage
To create the folders
- Log on to the server to which you attached your storage media.
- Create the folders that will be used as Data, Database, and Database Log folders respectively.
- Make sure that you excluded these folders from an antivirus scan.
Follow these guidelines while creating the folders:
- Create the Database and Database Log folders on a local drive. Do no create these folders on a networked or shared drive.
- You can create the data folder on a local drive, Storage Area Network (SAN), or a Network-attached Storage (NAS).
- You must create the Database folder on a separate disk. If you expect many users to back up their data on the storage, create the Database folder on a Solid-state Drive (SSD).
- Druva recommends that you create the Data folder and the Database log folder on separate disks.
Step 2: (Linux) Assign insyncserver permissions on the storage folders
On a Linux computer, the user 'insyncserver' must have group and owner permissions on the Data, Database, and Database Log folders.
To assign appropriate permissions
- Log on to the inSync storage node.
- Run the following command on all storage folders:
$ sudo chown insyncserver:insyncserver <storagefolder>
Step 3: Create the storage
To create the storage
- Log on to the inSync Admin Console.
- On the menu bar, click Manage > Storage.
- Click Create New Storage. The storage creation wizard appears.
- Enter the requisite details on each page of the wizard. For information, see Fields in the storage creation wizard.
- Click Finish.
The storage is created.
Fields in the storage creation wizard
General Storage Information
The following table describes the fields on the General Storage Information page of the wizard.
|Storage name||Enter a name for the storage.|
|Storage node||Select the storage node on which you want to create the storage.|
|Storage type||Select the type of storage (primary or secondary) you are creating. A secondary storage stands in for a primary storage when the latter is down.|
|Data folder||Select the data folder of the storage.|
|Max. disk space||Enter the total data that can be stored in the storage.|
|Storage consumption alert threshold||Enter the storage consumption threshold value which when crossed will trigger a low disk space alert for the inSync administrators. For example, if the Max. disk space for the storage is 10 TB and storage consumption alert threshold is 80%, an alert will be sent to the administrators the moment data in the storage exceeds 8 TB.|
The following table describes the fields on the Performance page of the wizard.
|Use SSD||Select if you are using an SSD for the database folder.|
|Database folder |
(or SSD path)
|Select the database folder of the storage. If you are using an SSD, select the SSD path.|
|Database Log folder||Select the database log folder.|
|Max. parallel connections||Enter the maximum number of parallel connections permitted to the storage.|
|Hypercache||This is a non-editable field. It displays the amount of buffer memory created to improve the I/O performance of the storage. It is 0.4% of the storage size.|
Storage Compaction Schedule
The compaction process analyses the data in a storage and purges redundant or non-relevant data from it, thereby freeing up storage space. For example, your organization's policy mandates a retention policy of 90 days. This means that a copy of deleted data is retained for 90 days. At the end of 90 days, the compaction process identifies this copy as non-relevant and purges it to free space.
The compaction process is resource-intensive and time-consuming, and thus, should run during off-peak hours. Druva recommends that along with daily compaction, you run a weekly compaction for a longer duration. For example, you can schedule to run a compactionevery night at 1:00 AM for 5 hours and every Saturday at 1:00 AM for 30 hours.
The following table describes the fields on the Storage Compaction Schedule page of the wizard.
|Compact daily at||Enter the start time and duration for the daily storage compaction. For example, you may configure the compaction to start every day at midnight and continue for the next 6 hours. The compaction process for the storage will stop at 6:00 AM even if it is not complete.|
|Compact weekly on||Enter the scheduled day for weekly compaction for the storage.|
|Compact weekly at||Enter the start time and duration for the weekly storage compaction.|