[mythtv-users] Missing Disk Space with XFS

Poobah poobah at techsquadron.com
Sat Oct 30 19:51:06 UTC 2004


Brian (and Glen),
	After posting this, I found an earlier discussion of this issue
("Deleting Recordings does not release Disk Space" 10-13 thru 10-15)
that describes this issue as the frontend not having direct access to
the file structure thru NFS and being able to delete the file.  Isaac
mentions that those that have the issue "can simply use CVS."  Since I'm
not keen on running CVS code, I guess I'll work around it until 0.17.

	0.14 and 0.15 were pretty unstable on my box, and I had to write
a watchdog script that would restart mythbackend if it borked.  I think
the hard drive space issue is a side effect of 0.16 being so stable ;-)


Thanx!

Mark

-----Original Message-----
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Brian Foddy
Sent: Saturday, October 30, 2004 12:41 PM
To: Discussion about mythtv
Subject: Re: [mythtv-users] Missing Disk Space with XFS

To both Mark and Glenn,

This is probably a software bug of not closing files.  I saw it
on my machine a while back.  Keep in mind on Unix/Linux,
you can "unlink/delete" a file that is open by a process.
The file will be removed from the directory listings, but the
file will still be there and taking up space until all processes
close that file (if any have it open).

Therefore, you probably just have to exit and restart
the mythtv front and backend programs to reclaim your
space, not reboot or unmount the partition.

Brian

On Saturday 30 October 2004 10:46 am, Poobah wrote:
> 	I'm having the same issue with an ext3 partition.  If I umount
> it and run fsck, it seems to reclaim the space.  The last time I ran
> fsck, it came back saying the volume was clean right away, so I don't
> know if it did anything or not:
>
> mythtv mnt # fsck -CV /dev/mythtv/myth1
> fsck 1.34 (25-Jul-2003)
> [/sbin/fsck.ext2 (1) -- /mnt/store] fsck.ext2 -C0 /dev/mythtv/myth1
> e2fsck 1.34 (25-Jul-2003)
> /dev/mythtv/myth1: clean, 477/45285376 files, 39163232/90562560 blocks
>
>
> 	I have to do this once a month or I run out of space.  Any
> thoughts?
>
> Mark Hanson
>
>
>
> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org
> [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Glenn Corbett
> Sent: Saturday, October 30, 2004 6:14 AM
> To: 'Discussion about mythtv'
> Subject: RE: [mythtv-users] Missing Disk Space with XFS
>
> Hmmm.....
>
> Ok, not sure if I did the correct thing, but....
>
> Edited /etc/fstab to not mount the volume on startup
> Rebooted the myth box
> Ran xfs_repair /dev/hda5
>
> Now all that disk space has re-appeared.
>
> Was that bad ?
>
> G.
>
>
> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org
> [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Glenn Corbett
> Sent: Saturday, 30 October 2004 9:53 PM
> To: 'Discussion about mythtv'
> Subject: [mythtv-users] Missing Disk Space with XFS
>
> All,
>
> Have a MythTV box running, and storing all eps to a 200gb XFS volume,
> all
> works great.
>
> Problem I have now is that as far as I can see, there is only 80gb of
> actual
> data on the volume, but its showing that there is less than 15gb free.
>
> /dev/hda5            183870432 167968400  15902032  92% /video
>
> Since I'm a bit of a n00b at this, can someone give me any ideas why
> 100gb
> of disk is missing, and how I might get it back ?  I've noticed that
> deleting content from the Myth console appears to delete the files,
but
> the
> disk space isnt being reclaimed.
>
> Thanks
>
> Glenn
_______________________________________________
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