[mythtv-users] root partition filled up -- no space to start mysqld

Nick Morrott knowledgejunkie at gmail.com
Wed May 21 03:09:10 UTC 2008


On 21/05/2008, Dewey Smolka <dsmolka at gmail.com> wrote:

>  /sdb2: mountpoint for sdb. Should be empty but here's what I found:
>
>  [root at mythbackend sdb2]# ls -l
>  -rw-r--r-- 1 root root 1919606784 2008-05-20 08:09 3264_20080519220000.mpg
>  -rw-r--r-- 1 root root 6897453056 2008-05-19 21:45 3640_20080519184800.mpg
>  -rw-rw-rw- 1 root root     111174 2008-05-20 08:10 3640_20080519184800.mpg.png
>  [root at mythbackend sdb2]#
>
>  There's all the missing space alright. But I'm a little confused as to
>  why it got there and why it's owned by root.
>
>  I don't recall ever launching mythfrontend as root, although it's
>  certainly possible. But I'm quite sure I didn't do last night.

The recording files are created by the mythbackend user (which for
many people is root). Your situation has most likely occured because
at the time(s) those recordings were made, the disk which would
usually mount to /mnt/sdb2/ was unmounted. As a result, mythbackend
was oblivous to the fact it was recording to the empty mountpoint
directory on /dev/sda, rather than the mounted partition /dev/sdb2. As
soon as /dev/sdb2 was mounted, the recording files were hidden - hence
the reason I asked for you to unmount those filesystems with
mountpoints on /dev/sda.

Is there anything in your syslog regarding the mount status of
/dev/sdb in the hours before the system froze?

-- 
Nick Morrott

MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin


More information about the mythtv-users mailing list