xfs
[Top] [All Lists]

Re: howto preallocate to minimize fragmentation

To: Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: howto preallocate to minimize fragmentation
From: Ying-Hung Chen <ying@xxxxxxxxxxxxxx>
Date: Thu, 22 Sep 2005 22:29:32 +0800
Cc: linux-xfs@xxxxxxxxxxx, Ying-Hung Chen <ying@xxxxxxxxxxxxxx>
In-reply-to: <4332A22B.6070708@xxxxxxx>
References: <43329839.2070005@xxxxxxxxxxxxxx> <4332A22B.6070708@xxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
> 
> See the xfsctl man page from xfsprogs, specifically XFS_IOC_RESVSP
> 
> creating a sparse file will not help with fragmentation, unfortunately.
> 

Hello again,

Thanks for the info, here are more specifics on what we are trying to do:

we have 200GB of harddive and would like to create 90-95 of 'video'
file, each with 2GBs (data will be writting to each file continuesly,
just like a tape). and we are hoping that if can write to the same
physical place all the time, there won't be any fragmentation problem....

we are wondering if there are any xfs parameters we can do (e.g. volumes
groups?) for the above to 'gaurantee' the best layout since we are not
going to create/delete files once created all those Video files, all we
are doing are overwriting files continuesly.

Thanks,

-Ying


<Prev in Thread] Current Thread [Next in Thread>