Results 1 to 5 of 5

Thread: no space left...

  1. #1
    Join Date
    Feb 2022
    Beans
    11

    no space left...

    Hi people. I ve a debian with 2 entries in the fstab, mounted in /media. One is an internal disk and another is a remote NAS (in the same lan, mounted in /media/backups). Sometimes, for unknown reasons, the NAS fails and the nightly backups are made in the /media/backups directory of the computer instead in the "/media/backups" of the NAS. The main disk is little and a no space left in device is shown everywhere... the apache stop working and I ve many problems when this occurs, some idea how to solve that? thanks!

  2. #2
    Join Date
    Aug 2011
    Location
    52.5° N 6.4° E
    Beans
    6,832
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: no space left... /etc/fstab

    Make sure that the backup script first checks to see if the backup location is mounted. A simple trick is to put a file with a specific name in the directory used as a mountpoint. If the file appears there, the backup drive isn't mounted.

  3. #3
    Join Date
    May 2010
    Beans
    3,276

    Re: no space left... /etc/fstab

    Clear space where you can

  4. #4
    Join Date
    Oct 2006
    Beans
    58,292

    Re: no space left...

    Thread moved to the "Debian" sub forum for a better fit.

  5. #5
    Join Date
    Apr 2014
    Location
    Tucson AZ, USA
    Beans
    1,066
    Distro
    Ubuntu

    Re: no space left...

    You can also use the mountpoint command

    Code:
    mountpoint -q /media/backups || exit 1

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •