[ale] [Solved] HELP - Out of Storage on /

JD jdp at algoloma.com
Fri Dec 9 14:38:01 EST 2011


On 12/09/2011 12:48 PM, Lightner, Jeff wrote:
> One way to avoid this in future is to make a small filesystem (e.g. 5 MB) as the parent of the your submount then mount your submount on that.
> 
> e.g.
> /backup  = your small filesystem
> /backup/data = your backup device formerly mounted as just /data
> 
> If /backup/data doesn't mount for any reason then only /backup gets filled and not / itself.

That's a good idea, however, my backup scripts automatically create target
directories so when new backup jobs are added for other systems, the backup area
gets built with the `hostname` as part of it. That happened this week too - on
the / partition.

Perhaps verifying the backup partition is mounted as expected would prevent this
issue in the future?  If the script verifies the result of
  `df | grep -c /Data/backups`
is non-zero, that should protect against this issue.  Anyway, that's the idea.
Flaws with this plan?


The automounter idea makes since  ... I've only used that for NFS, not locally
mounted disks. ... looks like this could work.  Thanks!




More information about the Ale mailing list