Allocation size

hi all,

Windows NT SCSI miniport driver for Priliminary Serial ATA Card.

I am working on very priliminary Serial ATA card. this hardware has
a limit of 8 kb data transfer. My driver is able to format the drives that
are connected on this Serial ATA card only in one condition…when i use
File system as NTFS and allocation unit size as 512 byte.

I have no idea what does NT mean by Allocation unit and how is it effecting
the Commands at Miniport level.

any Ideas are appriciated.
Ajitabh

allocation unit is the granularity in which the file system will
allocate space on the disk to use for storing data (files, metadata,
etc…). It could affect the order of operations you are seeing and
might cause them to be more fragmented, though I wouldn’t expect format
to be doing lots of little i/o since everything is contiguous.

what happens when you try to format with a different file system or with
a different cluster (allocation) size for ntfs?

-p

-----Original Message-----
From: Saxena, Ajitabh Prakash [mailto:xxxxx@lsil.com]
Sent: Friday, July 19, 2002 12:59 PM
To: NT Developers Interest List
Subject: [ntdev] Allocation size

hi all,

Windows NT SCSI miniport driver for Priliminary Serial ATA Card.

I am working on very priliminary Serial ATA card. this hardware
has a limit of 8 kb data transfer. My driver is able to format the
drives that are connected on this Serial ATA card only in one
condition…when i use File system as NTFS and allocation unit size as
512 byte.

I have no idea what does NT mean by Allocation unit and how is it
effecting the Commands at Miniport level.

any Ideas are appriciated.
Ajitabh


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%

Nothing happens.No file system appears on the disk and the Disk admin says
“unable to complete the format”. I have seen that when i selet Default
allocation unit size i get
commands doe 0x30,0x31 and 0x20th (read and write) blocks on the disk. which
i issue to the
drive and return the recieved data back. When i issue format with allocation
size as 512 i get the command only for 20th sector.
thanks
ajitabh

-----Original Message-----
From: Peter Wieland [mailto:xxxxx@windows.microsoft.com]
Sent: Friday, July 19, 2002 4:22 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Allocation size

allocation unit is the granularity in which the file system will
allocate space on the disk to use for storing data (files, metadata,
etc…). It could affect the order of operations you are seeing and
might cause them to be more fragmented, though I wouldn’t expect format
to be doing lots of little i/o since everything is contiguous.

what happens when you try to format with a different file system or with
a different cluster (allocation) size for ntfs?

-p

-----Original Message-----
From: Saxena, Ajitabh Prakash [mailto:xxxxx@lsil.com]
Sent: Friday, July 19, 2002 12:59 PM
To: NT Developers Interest List
Subject: [ntdev] Allocation size

hi all,

Windows NT SCSI miniport driver for Priliminary Serial ATA Card.

I am working on very priliminary Serial ATA card. this hardware
has a limit of 8 kb data transfer. My driver is able to format the
drives that are connected on this Serial ATA card only in one
condition…when i use File system as NTFS and allocation unit size as
512 byte.

I have no idea what does NT mean by Allocation unit and how is it
effecting the Commands at Miniport level.

any Ideas are appriciated.
Ajitabh


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntdev as: xxxxx@lsil.com
To unsubscribe send a blank email to %%email.unsub%%

> I have no idea what does NT mean by Allocation unit and how is it
effecting

Cluster.

the Commands at Miniport level.

Maybe due to some bug. HBA-level restrictions must not cause FAT or
NTFS with large clusters to fail.

Max

Set a breakpoint to Disk/ClassPnP IOCTL handler and look whether some
IOCTLs are failed.

Max

----- Original Message -----
From: “Saxena, Ajitabh Prakash”
To: “NT Developers Interest List”
Sent: Saturday, July 20, 2002 12:53 AM
Subject: [ntdev] RE: Allocation size

> Nothing happens.No file system appears on the disk and the Disk
admin says
> “unable to complete the format”. I have seen that when i selet
Default
> allocation unit size i get
> commands doe 0x30,0x31 and 0x20th (read and write) blocks on the
disk. which
> i issue to the
> drive and return the recieved data back. When i issue format with
allocation
> size as 512 i get the command only for 20th sector.
> thanks
> ajitabh
>
> -----Original Message-----
> From: Peter Wieland [mailto:xxxxx@windows.microsoft.com]
> Sent: Friday, July 19, 2002 4:22 PM
> To: NT Developers Interest List
> Subject: [ntdev] RE: Allocation size
>
>
> allocation unit is the granularity in which the file system will
> allocate space on the disk to use for storing data (files, metadata,
> etc…). It could affect the order of operations you are seeing and
> might cause them to be more fragmented, though I wouldn’t expect
format
> to be doing lots of little i/o since everything is contiguous.
>
> what happens when you try to format with a different file system or
with
> a different cluster (allocation) size for ntfs?
>
> -p
>
> -----Original Message-----
> From: Saxena, Ajitabh Prakash [mailto:xxxxx@lsil.com]
> Sent: Friday, July 19, 2002 12:59 PM
> To: NT Developers Interest List
> Subject: [ntdev] Allocation size
>
>
> hi all,
>
> Windows NT SCSI miniport driver for Priliminary Serial ATA Card.
>
> I am working on very priliminary Serial ATA card. this hardware
> has a limit of 8 kb data transfer. My driver is able to format the
> drives that are connected on this Serial ATA card only in one
> condition…when i use File system as NTFS and allocation unit size
as
> 512 byte.
>
> I have no idea what does NT mean by Allocation unit and how is it
> effecting the Commands at Miniport level.
>
> any Ideas are appriciated.
> Ajitabh
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@microsoft.com To
> unsubscribe send a blank email to %%email.unsub%%
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@lsil.com
> To unsubscribe send a blank email to %%email.unsub%%
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>

I checked with the owner of format and he says:

Please run a chk version of format.com, ulib.dll, untfs.dll, ufat.dll,
ifsutil.dll. That should give you the failure info in an attached
debugger.

Try grabbing the checked versions of these binaries from the checked
build in MSDN (actually I’m not sure where everyone else gets checked
bits from but I suspect it’s MSDN) and run format under cdb or ntsd. It
should print out some information about what it doesn’t like which may
help you track down your issue.

-p

-----Original Message-----
From: Saxena, Ajitabh Prakash [mailto:xxxxx@lsil.com]
Sent: Friday, July 19, 2002 1:53 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Allocation size

Nothing happens.No file system appears on the disk and the Disk admin
says “unable to complete the format”. I have seen that when i selet
Default allocation unit size i get
commands doe 0x30,0x31 and 0x20th (read and write) blocks on the disk.
which i issue to the
drive and return the recieved data back. When i issue format with
allocation size as 512 i get the command only for 20th sector. thanks
ajitabh

-----Original Message-----
From: Peter Wieland [mailto:xxxxx@windows.microsoft.com]
Sent: Friday, July 19, 2002 4:22 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Allocation size

allocation unit is the granularity in which the file system will
allocate space on the disk to use for storing data (files, metadata,
etc…). It could affect the order of operations you are seeing and
might cause them to be more fragmented, though I wouldn’t expect format
to be doing lots of little i/o since everything is contiguous.

what happens when you try to format with a different file system or with
a different cluster (allocation) size for ntfs?

-p

-----Original Message-----
From: Saxena, Ajitabh Prakash [mailto:xxxxx@lsil.com]
Sent: Friday, July 19, 2002 12:59 PM
To: NT Developers Interest List
Subject: [ntdev] Allocation size

hi all,

Windows NT SCSI miniport driver for Priliminary Serial ATA Card.

I am working on very priliminary Serial ATA card. this hardware
has a limit of 8 kb data transfer. My driver is able to format the
drives that are connected on this Serial ATA card only in one
condition…when i use File system as NTFS and allocation unit size as
512 byte.

I have no idea what does NT mean by Allocation unit and how is it
effecting the Commands at Miniport level.

any Ideas are appriciated.
Ajitabh


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntdev as: xxxxx@lsil.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%