[mythtv-users] MythWeb Disk Space Reported Incorrectly

Mark Gardner Mark at thegardners.me.uk
Sat Mar 30 16:24:57 UTC 2013



-----Original Message-----
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Karl Dietz
Sent: 30 March 2013 15:54
To: mythtv-users at mythtv.org
Subject: Re: [mythtv-users] MythWeb Disk Space Reported Incorrectly

On 30.03.2013 15:41, Mark Gardner wrote:
>>> I have configured MythTV to record to a 2TB software RAID5 
>>> (/media/raid5/recordings), but Backup Status reports:
>> ...
>>> oDirectories: MGM10P:/media/raid5/recordings, 
>>> MGM10P:/var/lib/mythtv/livetv, MGM10P:/var/lib/mythtv/streaming

> I believe that is what I have done! I am now confused :(
>
> I have this line in /etc/fstab:
>
> /dev/md0 /media/raid5/ ext4 defaults,noatime,nobootwait 0 0

Sounds good. I was just guessing from the original post.

I'm wondering if there is a recordings directory inside of
/media/raid5 when md0 is *not* mounted. That could lead to the same
effect.

Regards,
Karl

PS: It looks like that over here:
Disk Usage Details:
   MythTV Drive #1:
     Directories: mythmaster:/var/lib/mythtv/livetv,
                  mythmaster:/var/lib/mythtv/recordings-for-beirdo,
                  mythmaster:/var/lib/mythtv/recordings
     Total Space: 1,404,334 MB
     Space Used: 1,373,095 MB
     Space Free: 31,238 MB
   MythTV Drive #2:
     Directory: mythmaster:/var/lib/mythtv2/recordings
     Total Space: 1,877,792 MB
     Space Used: 1,848,073 MB
     Space Free: 29,719 MB
   MythTV Drive #3:
     Directory: mythmaster:/var/lib/mythtv3/recordings
     Total Space: 1,408,060 MB
     Space Used: 1,387,927 MB
     Space Free: 20,133 MB
   MythTV Drive #4:
     Directory: mythmaster:/var/lib/mythtv4/recordings
     Total Space: 1,408,346 MB
     Space Used: 1,382,015 MB
     Space Free: 26,330 MB

user at mythmaster:~$ df
Filesystem      1K-blocks       Used Available Use% Mounted on
/dev/sda1      1438038332 1333084280  31905888  98% /
/dev/sde1      1441854176 1347995848  20616392  99% /var/lib/mythtv3
/dev/sdb1      1442146364 1341926908  26962600  99% /var/lib/mythtv4
/dev/sdc1      1922859824 1794751884  30432268  99% /var/lib/mythtv2
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-users

Karl,

I think you're onto something here.... I'm learning Linux as I go along
here and appreciate the help!

I now think that the mount of the 2TB RAID5 is not working - after a
reboot, df looks like this:

mark at MGM10P:~$ df
Filesystem     1K-blocks      Used Available Use% Mounted on
/dev/sde1      236495600 111916416 112565824  50% /
udev             1918472         4   1918468   1% /dev
tmpfs             771280       720    770560   1% /run
none                5120         0      5120   0% /run/lock
none             1928192         0   1928192   0% /run/shm
none              102400         0    102400   0% /run/user

The full /etc/fstab is:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name
devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=bf7161d6-2dd3-430f-a0e8-3e065523c125 /               ext4
errors=remoun$
# swap was on /dev/sda5 during installation
UUID=dfe0627e-c44e-41e9-beea-4e756cd60291 none            swap    sw
$
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0
0
/dev/md0 /media/raid5/ ext4 defaults,noatime,nobootwait 0 0

IF you could give me some further pointers it would be appreciated.

Thanks
Mark


More information about the mythtv-users mailing list