I believe fsutil can do this.


On Tue, Feb 8, 2011 at 2:05 PM, KevinM <kev...@wlkmmas.org> wrote:

>  I want to create a 5GB file by manipulating the file size attribute.
> Anyone know how I can modify the file size?
>
>
>
> The reason I want to do this
>
> -I want to stick a 5GB file on all of my exchange DB volumes so I have a
> 5GB quick buffer incase my database grows to quick and dismounts due to no
> more space on the volume
>
> -When the database dismounts I can delete the file and have space to keep
> running without going to the SAN peeps and begging for more storage
>
> -Doing anything with a 5GB file takes a while – if I can artificially
> manipulate the file size I can avoid the time it would take to create the
> file, copy the file and to delete the file.
>
>                 - I could script the deletion with commands to shrink the
> file from 5GB to 5KB then delete the file
>
>
>
>
>
>
>
>
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe exchangelist
>

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist

Reply via email to