'Root is full' problem [solved]

R Kimber richardkimber at btinternet.com
Mon Jul 6 15:34:55 UTC 2015


On Mon, 6 Jul 2015 10:24:18 -0500
W Scott Lockwood III wrote:

> > Is it possible that you copied (or ran a command that achieved that)
> > data to the mount point while the disk was not mounted there?  I think
> > you mentioned scripts that expect the disk to be mounted there, if you
> > ran the script when it was not mounted could that explain it?  
> This exactly. You need to add logic to your script that checks to see if 
> the disk is mounted. There are a lot of things you can do here - check 
> to see if it's mounted, try to mount it, and bail if not successful 
> would be my suggestion.

I'm using lsyncd. I'm not sure if there's a way of getting it to check that
the disk is mounted before if tries to do anything.  Maybe I need a
different system.

- Richard.
-- 
Richard Kimber





More information about the ubuntu-users mailing list