'Root is full' problem [solved]
W Scott Lockwood III
vladinator at gmail.com
Mon Jul 6 15:24:18 UTC 2015
On 7/6/2015 10:06 AM, Colin Law wrote:
>> The problem was that, somehow, the contents of the two USB drives had been
>> >physically copied to the mount point, thus filling up the root filesystem.
>> >Now that I've deleted the the files I'm back to normal. Except that I'd
>> >like to know what caused this and how I might prevent it happening again.
>> >If anyone knows I'd be grateful
> 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.
More information about the ubuntu-users
mailing list