> 
> Pete Davis wrote:
> >>What happens if you do cat /dev/video0 > /dev/null instead of movie.mpg.
> >>This
> >>will tell us if it's some hard drive or I/O (dma maybe) issue. At least
> >>that's
> >>my theory.
> >>
> >>--Brian
> >
> >
> > Brian, your theory seems good. The problem doesn't seem to appear when I
> do
> > this.
> >
> > I know Linux doesn't really have defrag utilities because it supposedly
> > doesn't need them (well, that's not entirely true, I know there's at
> least
> > one commercial one). So what can I do here to diagnose the exactly
> problem
> > and hopefully fix it?
> >
> > Pete
> >
> 
> What FS is on the linear array ?  Is it ext3 ?  If it was created with
> the default settings it may be having trouble storing large video files.
>   I believe the default block size is 4K.  That consumes a lot of
> inodes.  It's possible you're running out of inodes on that filesystem.
>   You could try dumpe2fs and take a look at the free inodes and block
> size.
> 
> You're not going to want to hear this, but you are probably better off
> reformatting your video partition with a different FS that is better
> suited to large files out of the box like XFS or JFS.  EXT3 needs to be
> set up differently for the expected workload at format time.
> 
> Take a look at 'man mke2fs' and have a look at the -T option.  I think
> you probably need a filesystem with -Tlargefile or -Tlargefile4 rather
> than the default which creates half as many inodes than blocks and sets
> the block size to 4K.
> 
> Yan

Yan, thanks for the info.

I'm not running out of inodes. I still have 69 million free out of a total
of 70 million.

It is ext3. The Filesystem features from dumpe2fs are:

has_journal, ext_attr resize_inode dir_index filetype needs_recovery
sparse_super large_file

Blocks are 4K, Inode size is 128

If I have to reformat, then I'm just going to go ahead and buy a new drive.
The thing is, I've got tons of stuff on this drive that I still haven't
written off to DVD, so it's easier just to buy a new drive and format it the
way I need it if this isn't sufficient.

At the time that FC3 set up the file system, I seem to recall specifying
something about large files as I knew the drive would tend to hold mostly
captured mpgs and transcoded avis. I suspect the large_files from the
filesystem features above is an indication of that.

Is this still not sufficient as it is? Do you need more info?

Pete







-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to