Why Do Operations Such as Repairing the File System, Expanding Volumes, Adding or Removing SSD Cache Fail?

Hard Drive, volume, storage pool, RAID
Post Reply
User avatar
TMzethar
TerraMaster Team
Posts: 1223
Joined: 27 Oct 2020, 16:43

Why Do Operations Such as Repairing the File System, Expanding Volumes, Adding or Removing SSD Cache Fail?

Post by TMzethar »

Operation Guide

Applicable Models:
All TNAS models

Applicable Versions:
All TOS versions

Problem Description:
When attempting to repair the file system, expand the volume, add or delete SSD cache(TOS 5), the operation may fail due to the volume being occupied by other processes.

Solution:
Please follow the steps below to check and close the services that may occupy the volume:

Step 1: Disable File Services
Go to TOS > Control Panel > File Service and disable all file services.

Step 2: Disable Media Indexing Service
Go to TOS > Control Panel > Media Indexing and disable the media indexing service.

Step 3: Stop the Docker Containers
If you have Docker installed, please open the Docker application, check and disable all running containers.

Step 4: Check APP Center and Stop the APPs
Go to TOS > App Center > Installed > App Settings, check and disable all the apps you have installed.

SSH/Telnet Connection Operation:
The next steps require SSH/Telnet connection to the TNAS for operation. Please refer to the connection method at:
https://forum.terra-master.com/cn/viewtopic.php?t=1511

Step 5: Stop the Thumbnail Generation Program for File Management (TOS 5.x/6.x)
If you have recently written a large number of image files, file management may occupy the volume due to thumbnail generation. Please execute the following commands to close the thumbnail generation program:

Code: Select all

killall thumbnailSearch
killall thumbnailDaemon
Step 6: Stop Others Potential Occupations
Execute the following commands to close other potential unknown occupations:
TOS 4.x:

Code: Select all

fuser -mk /mnt/md0
TOS 5.x/6.x:

Code: Select all

fuser -mk /Volume1
Step 7: Abnormal Occupation of TOS Web and Database (TOS 5.x/6.x)
Usually, the TOS web and database do not occupy the volume. If you have completed the previous steps but the volume is still occupied, please try restarting the TNAS to release the occupation.

After Completion:
After disabling the above services, you should be able to successfully perform operations such as repairing the file system, expanding the volume, adding and deleting SSD cache. After completing the required operations, please remember to restart your TNAS to restore previously deactivated services and features.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Post Reply

Return to “Storage”