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
Execute the following commands to close other potential unknown occupations:
TOS 4.x:
Code: Select all
fuser -mk /mnt/md0
Code: Select all
fuser -mk /Volume1
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.