[mythtv-users] Fragmentation On Recording Disk?

Donald Webster fryfrog at gmail.com
Tue Apr 3 22:27:32 UTC 2007


fryfrog at dumbledore:~$ sudo xfs_db -r -c frag /dev/md2
actual 63966, ideal 54729, fragmentation factor 14.44%

I'll be honest, I have known about xfs_fsr ever since I noticed that
some of my recordings would delete instantly and some were taking 5+
seconds to delete.  It felt like I was back on ext3, I turned on slow
deletes and it took me ages to finally figure out it wasn't a random
problem.  The fast to delete files were lightly fragmented, the slow
deleting ones were not.

On 4/3/07, Ben Lancaster <lists at benlancaster.co.uk> wrote:
>
> On 3 Apr 2007, at 22:30, Robert wrote:
>
> > Michael MacLeod wrote:
> >>
> >> root at sixball:~# xfs_db -r /dev/mythtv/mythmedia
> >> xfs_db> frag
> >> actual 3904, ideal 3191, fragmentation factor 18.26%
> >> xfs_db> quit
> >>
> >> I just thought I'd share this with the list, and ask if anyone
> >> else has
> >> encountered significant performance loss due to disk
> >> fragmentation? How
> >> fragmented are your drives?
> >
> > mythbox ~ # xfs_db -r /dev/mapper/vg-mythtv
> > xfs_db> frag
> > actual 60667, ideal 67, fragmentation factor 99.89%
> > xfs_db>
> >
> >
> > Hmm, that looks pretty bad.
> >
> > Robert.
>
> # /usr/local/bin/xfs_db -r -c frag /dev/sda6
> actual 940233, ideal 585, fragmentation factor 99.94%
>
> I'd say that's worse!
>
> FWIW, looks like xfs_db that ships with xfsprogs.x86_64 (2.7.3-1.2.1)
> is b0rked - mine segfaults. Fix: download source packages for
> xfsprogs and xfsdump from http://oss.sgi.com/projects/xfs/
> download.html and configure/make/make install
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


-- 
AIM: fryfrog
ICQ: 304825
WWW: http://www.fryfrog.com


More information about the mythtv-users mailing list