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

Nick Morrott knowledgejunkie at gmail.com
Wed May 21 01:34:59 UTC 2008


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

>  But it all went south last night in the 7th inning of the Cubs game.
>  The whole system froze, requiring a reboot and an fsck on most of the
>  partitions. I could reboot and login at the command line, but could
>  not get X or mysqld to start -- both report no drive space.
>
>  df -h returns this:
>
>  [mythtv at mythbackend lib]$ df -h
>  Filesystem            Size  Used Avail Use% Mounted on
>  /dev/sda2              12G   12G     0 100% /
>  /dev/sda1              99M   12M   83M  13% /boot
>  tmpfs                 248M     0  248M   0% /dev/shm
>  /dev/sda5             174G   22M  174G   1% /mythlibrary2
>  /dev/sdb2             465G   69G  397G  15% /mnt/sdb2
>  /dev/sdc2             465G  448G   17G  97% /mnt/sdc2
>  [mythtv at mythbackend lib]$
>
>  Everything is where I'd expected it to be except for sda1. I can
>  confirm that the last couple recordings are in /mythlibrary, which is
>  bound in fstab to /mnt/sdb2. I don't believe that any recordings have
>  been made to mythlibrary2.  With /dev/sda5 mounted to /mythlibrary2
>  the directory appears empty. With /dev/sda5 unmounted the directory
>  also appears empty.

Do you have a /mythlibrary directory on /dev/sda2? You state that
recordings were made to this directory - the partition is only 12G in
size, and could easily fill up with a couple of recordings, on top of
the rest of the OS installation. You may need to unmount /dev/sdb2 in
case it is shadowing the /mythlibary directory on /dev/sda2.

What other non-OS directories are located on /dev/sda?

Why are you surprised with the location of /dev/sda1? At 100M it's a
typical size for /boot.

Have you updated your storage directories in mythtv-setup to reflect
the new disk setup?

Finally, check /tmp as there could be a large temporary file sitting in there.

-- 
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