2 Qnaps - drive says full. / SAB says 0.0 GB free space

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
User avatar
OneCD
Hero Member
Hero Member
Posts: 557
Joined: March 4th, 2017, 3:47 pm

Re: 2 Qnaps - drive says full. / SAB says 0.0 GB free space

Post 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):

Code: Select all

umount /mnt/qnap1/tv
... test your script:

Code: Select all

./mount-multimedia-share.sh
.... and check the Multimedia share has been remounted. If so, you should be OK to test again with a restart of QNAP2.
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
Fubie
Newbie
Newbie
Posts: 21
Joined: February 24th, 2015, 1:34 pm

Re: 2 Qnaps - drive says full. / SAB says 0.0 GB free space

Post by Fubie »

I keep getting error

mount error(16): Device or resource busy
User avatar
OneCD
Hero Member
Hero Member
Posts: 557
Joined: March 4th, 2017, 3:47 pm

Re: 2 Qnaps - drive says full. / SAB says 0.0 GB free space

Post 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.

Code: Select all

df /mnt/qnap1/Multimedia
Did you remember to unmount the existing mount first?
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
Post Reply