[mythtv-users] drive full? ringbuf1.nuv and / at 100%
Jeff Simpson
jeffsimpson at alum.wpi.edu
Fri Jan 6 14:47:23 UTC 2006
On 1/6/06, Roger Hanson <roger at rogerhanson.com> wrote:
>
> I noticed some odd things yesterday. Myth (installed using KnoppMyth)
> wouldn't log into the GUI (machine is both back and front end) but I
> don't remember the error, sorry. Apache wasn't running at the time,
> either (but now it is).
>
> But now, no data in the guide. I looked at the drive(s) and see:
> mythtv at pvr:~$ df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/hda1 3797912 3576208 29328 100% /
> /dev/hda3 10505464 10505464 0 100% /cache
> /dev/vg/myth 433888564 414760636 19127928 96% /myth
>
> I don't remember the /cache folder being that full before, nor the root
> folder, either.
>
> mythtv at pvr:/cache/cache$ ls -la
> total 10505448
> drwxrwxr-x 2 mythtv mythtv 4096 Jan 3 20:27 .
> drwxr-xr-x 4 root root 4096 Nov 7 08:05 ..
> -rw-r--r-- 1 mythtv mythtv 10747056128 Jan 5 02:21 ringbuf1.nuv
> mythtv at pvr:/cache/cache$
>
> Can I safely delete the ringbuf1.nuv - I believe it's just the live-tv
> stored video, isn't it?
yes, you can def delete the ringbuffer file, but that won't be all of your
problems. What else do you have saving on the cache drive? It says it's ~10
gigs. Are you sharing that drive with something else? That generally causes
problems, as most programs don't gracefully run out of space. The only
exception is with the myth recording directory IF you have auto-expire set,
it should prevent itself from running completely out of space.
Other things I can delete? (other than recorded shows)?
Recorded shows won't help you - the /myth partition is only 96% full, which
looks like 20 gigs free, which is plenty of space. you should look around in
the / partition to delete things. Perhaps something in /home got out of
hand, or /var or /tmp?
du --max-depth=1 -h
is the magic command. Run that in any directory, it will tell you how much
space the sub-directories are using.
Also, try
ls -sSrlAh
(I think that is the right command). What it should do is a directory
listing, sorted by size, reversed (so largest is last), showing all
attributes, in human readable sizes. Do this in a large directory and look
for large files, over 100mb or so and see if they are disposable.
I see a bunch of this in the mythbackend.log
> ERROR: file I/O problem in safe_write(), errcnt = 1: No space left on
> device
> ERROR: file I/O problem in safe_write(), errcnt = 2: No space left on
> device
> ERROR: file I/O problem in safe_write(), errcnt = 3: No space left on
> device
> ERROR: file I/O problem in safe_write(), errcnt = 1: No space left on
> device
> ERROR: file I/O problem in safe_write(), errcnt = 2: No space left on
> device
yup. That's exactly what it is - you're out of space. Also explains why you
can't get listings. Listings are stored in temp space, then stored in the
mysql database. Both of those take space, and if you don't have any, they
bomb out.
- Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060106/a2706435/attachment.htm
More information about the mythtv-users
mailing list