PC Review


Reply
Thread Tools Rate Thread

DiskPart Format command

 
 
OldDog
Guest
Posts: n/a
 
      6th Nov 2009
Hi,

I would like to use diskpart to format some drives for a SQL server.

We set the Cluster size to 64 for our SQL database drives.

I see in diskpart format I set the UNIT = <N>, but they don't show any
samples of what <N> might be.

Unit = 64
Unit = 64000

Or what?

I would rather get it right the first time, so any help would be
appriciated.
 
Reply With Quote
 
 
 
 
01MDM
Guest
Posts: n/a
 
      6th Nov 2009
> I would like to use diskpart to format some drives

As I know diskpart not for format ) Use %Windir%\System32\format.com

format /?

 
Reply With Quote
 
OldDog
Guest
Posts: n/a
 
      6th Nov 2009
On Nov 6, 12:57*pm, 01MDM <001.dmi...@gmail.com> wrote:
> > I would like to use diskpart to format some drives

>
> As I know diskpart not for format ) Use %Windir%\System32\format.com
>
> format /?


Oh you can format from DiskPart.

>DISKPART> help format
>
> Formats the specified volume for use with Windows.
>
>Usage: FORMAT [{[FS=<FS>] [REVISION=<X.XX>] | RECOMMENDED}] [LABEL=<"label">]
> [UNIT=<N>] [QUICK] [COMPRESS] [OVERRIDE] [NOWAIT] [NOERR]


It's the UNIT=<N> part I am having quetions about.


In the Format.exe help it says this:

/A:size Overrides the default allocation unit size. Default
settings
are strongly recommended for general use.
NTFS supports 512, 1024, 2048, 4096, 8192, 16K, 32K,
64K.
FAT supports 512, 1024, 2048, 4096, 8192, 16K, 32K,
64K,
(128K, 256K for sector size > 512 bytes).
FAT32 supports 512, 1024, 2048, 4096, 8192, 16K, 32K,
64K,
(128K, 256K for sector size > 512 bytes).

Note that the FAT and FAT32 files systems impose the
following restrictions on the number of clusters on a
volume:

FAT: Number of clusters <= 65526
FAT32: 65526 < Number of clusters < 4177918

Format will immediately stop processing if it decides
that
the above requirements cannot be met using the
specified
cluster size.

NTFS compression is not supported for allocation unit
sizes
above 4096.

Which again, does not really tell you what to use for 64K (or is it
64K?)


 
Reply With Quote
 
OldDog
Guest
Posts: n/a
 
      6th Nov 2009
On Nov 6, 1:17*pm, OldDog <mikef2...@comcast.net> wrote:
> On Nov 6, 12:57*pm, 01MDM <001.dmi...@gmail.com> wrote:
>
> > > I would like to use diskpart to format some drives

>
> > As I know diskpart not for format ) Use %Windir%\System32\format.com

>
> > format /?

>
> Oh you can format from DiskPart.
>
> >DISKPART> help format

>
> > Formats the specified volume for use with Windows.

>
> >Usage: FORMAT [{[FS=<FS>] [REVISION=<X.XX>] | RECOMMENDED}] [LABEL=<"label">]
> > [UNIT=<N>] [QUICK] [COMPRESS] [OVERRIDE] [NOWAIT] [NOERR]

>
> It's the UNIT=<N> part I am having quetions about.
>
> In the Format.exe help it says this:
>
> */A:size * * * * Overrides the default allocation unit size. Default
> settings
> * * * * * * * * *are strongly recommended for general use.
> * * * * * * * * *NTFS supports 512, 1024, 2048, 4096, 8192, 16K, 32K,
> 64K.
> * * * * * * * * *FAT supports 512, 1024, 2048, 4096, 8192, 16K, 32K,
> 64K,
> * * * * * * * * *(128K, 256K for sector size > 512 bytes).
> * * * * * * * * *FAT32 supports 512, 1024, 2048, 4096, 8192, 16K, 32K,
> 64K,
> * * * * * * * * *(128K, 256K for sector size > 512 bytes).
>
> * * * * * * * * *Note that the FAT and FAT32 files systems impose the
> * * * * * * * * *following restrictions on the number of clusters on a
> volume:
>
> * * * * * * * * *FAT: Number of clusters <= 65526
> * * * * * * * * *FAT32: 65526 < Number of clusters < 4177918
>
> * * * * * * * * *Format will immediately stop processing if it decides
> that
> * * * * * * * * *the above requirements cannot be met using the
> specified
> * * * * * * * * *cluster size.
>
> * * * * * * * * *NTFS compression is not supported for allocation unit
> sizes
> * * * * * * * * *above 4096.
>
> Which again, does not really tell you what to use for 64K (or is it
> 64K?)


I think I have found it:

Value Description
512 Creates 512 bytes per cluster.

1024 Creates 1024 bytes per cluster.

2048 Creates 2048 bytes per cluster.

4096 Creates 4096 bytes per cluster.

8192 Creates 8192 bytes per cluster.

16K Creates 16 kilobytes per cluster.

32K Creates 32 kilobytes per cluster.

64K Creates 64 kilobytes per cluster.

So it likes like I just type in 64K.

 
Reply With Quote
 
01MDM
Guest
Posts: n/a
 
      6th Nov 2009
> DISKPART> help format

Windows XP has not such context of diskpart. But Win-7 has... I will
know on the future.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Diskpart Format command RScotti Windows Vista General Discussion 10 14th Mar 2007 06:32 PM
DISKPART - what drive - Command Prompt? Stephen Windows XP Help 1 3rd Aug 2005 07:58 PM
Diskpart - extend basic disk partition, not showing in explorer, shows in diskpart Jeff Microsoft Windows 2000 0 18th Mar 2004 03:50 PM
diskpart.exe 'clean' command hangs Dan Windows XP General 0 2nd Dec 2003 11:47 PM
diskpart command humpy Windows XP Customization 2 8th Aug 2003 02:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:00 PM.