Page 3 of 3
Re: 2 Qnaps - drive says full. / SAB says 0.0 GB free space
Posted: April 24th, 2022, 6:07 pm
by OneCD
Fubie wrote: ↑April 24th, 2022, 3:23 pm
I made a file in notepad++(use that alot) with the commands you suggested.
Did you choose the option in Notepad++ to save your file with Unix line-ending characters?
Fubie wrote: ↑April 24th, 2022, 3:23 pm
Named the file "tvshows.dos2unix"
Let's call it 'mount-multimedia-share.sh' instead.
Fubie wrote: ↑April 24th, 2022, 3:23 pm
Moved it to Qnap2 public folder.
Unsure where to move it to and how to move it there.
You'll need to SSH into QNAP2 as the 'admin' user and run the following commands to put it in the right place and make it executable. These assume your script file is now called 'mount-multimedia-share.sh':
Code: Select all
cd $(getcfg RunLast Install_Path -f /etc/config/qpkg.conf)/scripts
mv /share/Public/mount-multimedia-share.sh .
chmod +x mount-multimedia-share.sh
... now test that it works. Unmount your Multimedia share (assuming it's still in the original directory we created):
... test your script:
.... and check the Multimedia share has been remounted. If so, you should be OK to test again with a restart of QNAP2.
Re: 2 Qnaps - drive says full. / SAB says 0.0 GB free space
Posted: April 24th, 2022, 8:36 pm
by Fubie
I keep getting error
mount error(16): Device or resource busy
Re: 2 Qnaps - drive says full. / SAB says 0.0 GB free space
Posted: April 25th, 2022, 12:14 am
by OneCD
Have you checked your mount isn't already active? You can only mount to that location once. If you try again whilst a current mount is active, you'll get the "device or resource busy" message.
Did you remember to unmount the existing mount first?