Setting up Managed Storage

Administrators can configure how users store data on the FileCloud Server site, called Managed Disk Storage.

This is the default cloud storage, where the FileCloud server has direct access to the user files stored on a disk filesystem.

  • Managed Storage provides FileCloud complete control over the management of user content. 
  • The storage can be on filesystems on a local hard disk, SAN, or NAS disks.

You can configure general storage settings in Settings > Storage > My Files and more specific storage settings in Settings > Policies. Policies settings include user storage quota and rules for deleted files. You can assign different storage values in multiple policies and assign them to different users.

To set up Managed Storage:

  1. Open a browser and log into the Admin portal.
  2. On the left navigation panel, under Settings, click Settings
  3. Click the Storage tab.
  4. Type the information into the fields as described below. 

    SettingDescription
    Storage PathThis is the location where all FileCloud user files are stored. Be sure to allow enough options to expand storage in future.
    Note: Changing this Storage Path after installation and after users have uploaded files has to be done carefully. If not done properly. It could result in data loss.
    Number of old versions to keep for each fileIf a file with the same path and name is uploaded, FileCloud versions the file. This setting determines number of recent versions that FileCloud should retain. To disable versioning completely, set the number of versions to 0.
    NOTE: Versioned files count towards the user's storage quota.
    EncryptionAppears when encryption is enabled in your system, and allows you to manage encryption. See Enabling Storage Encryption.
    Use Optimized Upload

    Optimized upload is available in FileCloud 23.241, and uses a faster method for uploading.
    Choose Yes to use optimized upload for S3 Network Folders only. If you don't use Network Folders or your Network Folders do not use S3 storage, this setting does not have any effect.

    If you choose Yes, additional fields appear:

    Use the following information to determine the values you want to give these fields:

    Max chunks uploaded in parallelThe number of file chunks that can be sent simultaneously to the server. Choose the highest number of chunks you can send without having a detrimental effect on efficiency. The default value is 10, and the minimum value is 1. Mid-range values are 4 - 20. Values above 20 may decrease efficiency by blocking other activities and slowing down uploads.
    Number of minutes pre-signed URL is valid (minutes)How long the pre-signed URL can be used. Choose a value that is high enough to enable uploads on large files, and low enough to close the url in a timely manner so it is not a security risk. The recommended value is 30 to 60.
    Accelerate uploadsIf you have the accelerated feature in the S3 bucket enabled, check this setting to use the feature to complete downloads and uploads more quickly.

     

    If you enter Yes to use optimized storage, you must also configure a Cross Origin Resource Sharing (CORS) policy for your S3 bucket. The CORS policy enables you to access resources from other domains while you are using the optimized upload settings. To configure the CORS policy, see Setting up FileCloud Managed S3 Storage, Integrate Amazon S3 Storage, Step 2.

    Note: If you are using Network Folders with S3 storage, if you use server-side encryption with a customer key (SSE-C), optimized upload will fail due to security reasons.

    Disable My FilesIf you are only using the "Network Folders" features of FileCloud and don't want to show "My Files", you can enable this checkbox. If there are existing data in "My Files" section, the data will no longer be accessible. Certain functions that depend on My Files will no longer be available.
    User Storage Usage CalculationWhen the user storage usage is reported, the shares used by the user can also be counted towards the quota. This can be changed by selecting the appropriate drop-down option.
    Max files uploaded in parallelNumber of files that can be uploaded at the same time when multiple files are uploaded. Default is 3. The recommended number is 3 to 5. Higher values may slow down the upload process and lower system efficiency.
    Chunk upload sizeThe maximum size in MB for chunks uploaded. Default is 40. If size is set too high, the upload process may be slow down and other operations may be blocked.
    Skip versioning for Files Greater ThanAny file larger than the specified value will not be versioned.
    Email Users Nearing Storage LimitIf this option is enabled then automatic emails with notifications will be sent to users reaching their storage limit.
    Percentage ThresholdDefines at what point the percentage of unused managed storage space is considered low. For example, if the value is set to 20, then storage is considered low if more than 80% of managed storage space is used.

    When unused storage is less than this value, an automatic email notification is sent to the admin. If the above option, Email Users Nearing Storage Limit is enabled, an automatic email notification is also sent to the user if their available storage falls below the set percentage.

  5. Click Save.
  6. Click the Policies tab.
  7. For each policy that you want to change the default storage settings in:
    1. Click the edit button.
    2. Type the information into the fields as described below:
    3. Click Save.
    4. Assign the policy with relevant storage settings to each user.
SettingDescription
User Storage QuotaThis is the storage quota that is provided for every user of FileCloud. Note that, this is only a quota and does not require physical storage until the user actually consumes the space. Setting this to 0 means each user has no storage quota limit. Changing this setting does not affect the existing user quota.
For example, if a user has 2 GB quota and if this setting is changed to 10 GB, it only affects newly created users after this point. To update the quota for an existing user, use the user details panel in Users section.
Store Deleted FilesEnable this setting if you wish to provide a way to keep deleted files in a Recycle Bin. When this option is enabled and a user deletes a file/folder, the deleted item gets moved into their personal deleted files area. Then the user can restore files from their recycle bin or empty the recycle bin completely. Note: Files in the recycle bin count towards a user's storage quota.
Automatically Empty Recycle Bin After Specified Days
Number of days after which Deleted Files is emptied automatically. Note that this recycle bin clearing happens at periodic intervals specified here and any files in any recycle bin are cleared. The default is 0 which means that the deleted files are not cleared automatically. Requires a Cron Job to be set up.
Do not store deleted files greater thanAny file larger than this setting is permanently deleted instead of getting moved into Deleted Files area.



Warning

Do not change the Storage Path once the installation is set up and data is stored.

This should only be set for fresh installs.

Be very careful when changing the storage path. If done improperly, it could lead to data loss. 

The new S3 optimization feature introduced in FileCloud 23.241 is more efficient than the legacy method, below. The legacy method applies to both local and S3 uploads, but does not work for S3 uploads when Use Optimized Upload is set to YES (to enable the new feature).

Legacy method of upload optimization
If you upload large numbers of small files from the Web browser interface, to improve upload performance:

  1. Open the configuration file:
    Windows: XAMPP DIRECTORY/htdocs/config/cloudconfig.php
    Linux: /var/www/config/cloudconfig.php
  2. Add the line:

    define("TONIDOCLOUD_UPLOAD_OPTIMIZATION", 0);