Sometimes a QNAP NAS can get so full you cannot access it via SMB or delete files via the Web Management. Here is how to remove files via SSH.
Login to the Device via SSH using putty
Open putty and connect to the NAS via the Management IP address using SSH
Login
Login to the device with Admin User only
List the Mount Points
Use the command df to show the mount points on the disks. On a QNAP NAS look for the folders /share/MD0_DATA
Change Folder
Use the command cd /share/MD0_DATA to change to that folder
Show Shares
You now show the shares on your QNAP NAS with the command ls
Change to Folder to be Deleted
To delete a folder, change to the parent folder and then you are ready for remove the folders and files
Remove Folders
You can then remove the folders and files with the command
rm -rf /share/MD0_DATA/ShareName/Folder
rm -rf /share/MD0_DATA/ShareName/Folder
Confirm the Disk Space Reduction
In the Web Management GUI you can now confirm the disk space as it reduces
Thanks to sharing.. its useful for users
ReplyDeleteIT Network Solutionsa
The problem is that in the "File Station" the folder is still visible
ReplyDelete