[mythtv-users] Disk space problem

Mark Garland mythtvusers at markgarland.co.uk
Mon Aug 3 20:22:20 UTC 2009


Hey Jim,

Looking at the below, I'd say it wasn't to do with your live tv drive as
that seems virtually empty.

dev/sdc1 which you have partitioned as 12gb and mounted as root seems
completely full.  

I'm new to linux, but set mine up at 4gb swap, 15gb root, and the rest data,
mainly running on https://help.ubuntu.com/community/DiskSpace
So, in my inexperienced opinion, 12gb sounds fine.

However, where would your Windows XP be installed?  That complicates things.
Perhaps that is hogging the space with some massive page file?  Sorry - I
don't know how that works.

MG
-----
"The most overlooked advantage of owning a computer is that if they foul up
there's no law against whacking them around a bit."
 

-----Original Message-----
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Jim Morton
Sent: 03 August 2009 13:40
To: Discussion about mythtv
Subject: [mythtv-users] Disk space problem

I hope this is not off topic here but I need advice/opinions of 
experienced Myth users. I built a Mythbuntu FE/BE unit several months 
ago and it has been working quite well until now. I find that the / file 
system is full. In (unsuccessfully) looking for large files to delete I 
have come to the conclusion that I might have made some bad decisions in 
setting up the partitions.

I originally bought 2 1TB SATA drives and on installation saw where it 
was recommended to use a separate hdd for the os. I happened to have a 
250GB ATA drive not being used so I set that up as the boot/os drive. 
Then on a whim I threw in another 100GB ATA drive for live-tv figuring 
it would take the most abuse. (Turns out we don't watch live tv hardly 
ever anymore.)

This system is primarily a Myth system but is used for a few other 
things too. We've installed some card cames that my wife & kids like to 
play and Virtualbox to run XP in so we can view internet broadcasts that 
use DRM.

I have almost no experience here and was hoping someone could review the 
below info and tell me if (a) I have plenty of space allocated and just 
need to locate what is using up all the space in / or (b) I need to give 
more space to /. If (b) then can I do that with fdisk or parted or 
something else? sdc6 seems to have plenty to spare.

These are the disks -
dev/sda   1TB SATA
dev/sdb   1TB SATA
dev/sdc   250GB ATA
dev/sdd   100GB ATA

This is the current usage
$ df -v
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sdc1             11535344  10809616    139760  99% /
tmpfs                  1996944         0   1996944   0% /lib/init/rw
varrun                 1996944       364   1996580   1% /var/run
varlock                1996944         0   1996944   0% /var/lock
udev                   1996944       168   1996776   1% /dev
tmpfs                  1996944         0   1996944   0% /dev/shm
lrm                    1996944      2560   1994384   1% 
/lib/modules/2.6.28-13-generic/volatile
/dev/sdc6            231367528  37231476 194136052  17% /var/lib
/dev/sda1            976628928 467196192 509432736  48% /video/media
/dev/sdb1            976628928 519755988 456872940  54% /video/media2
/dev/sdd1             97635504      4256  97631248   1% /video/livetv

This is how parted shows the sdc drive
$ sudo parted /dev/sdc
GNU Parted 1.8.8
Using /dev/sdc
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA HDT722525DLAT80 (scsi)
Disk /dev/sdc: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system  Flags
 1      32.3kB  12.0GB  12.0GB  primary   ext3         boot
 2      12.0GB  250GB   238GB   extended
 5      12.0GB  13.0GB  1020MB  logical   linux-swap
 6      13.0GB  250GB   237GB   logical   xfs


and just in case this is /etc/fstab

# / was on /dev/sda1 during installation
UUID=3deb37d9-4918-4437-997c-d57a2b227d1d /       ext3    errors=remount 
-ro 0       1
# /var/lib was on /dev/sda6 during installation
UUID=17bf339a-e37c-4b8d-817b-a87751b17f9a /var/lib  xfs     defaults  
0       2
# swap was on /dev/sda5 during installation
UUID=a5a63a1d-195a-41a2-90da-3768ed1126e3 none            swap    sw  
0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
/dev/sda1       /video/media    xfs     defaults        0       2
/dev/sdb1       /video/media2   xfs     defaults        0       2
/dev/sdd1       /video/livetv   xfs     defaults        0       2

All suggestions are appreciated...

-- 
_________________________________________________________

 Jim Morton  

_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list