FAT32 format failure on W2K

Hi all!
I am trying to change the disk on key capacity in the disk filter driver.
Some disks on key on W2K cannot be formatted FAT32, only NTFS.
The following sequence is seen for fast format:

IOCTL_DISK_CHECK_VERIFY
READ 0x1000 from 0
WRITE 0x1000 to 0
IOCTL_DISK_IS_WRITABLE
IOCTL_DISK_GET_DRIVE_GEOMETRY
IOCTL_DISK_GET_PARTITION_INFO
IOCTL_DISK_GET_DRIVE_LAYOUT

After some retries it fails. NTFS sends the same ioctls, but succeeds.
Any idea?

Thanks,
Dani

What sizes are the disks that are failing? FAT32 is limited to, I
think, a 32 GB partition.

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dani Polovets
Sent: Wednesday, August 29, 2007 11:56
To: Windows File Systems Devs Interest List
Subject: [ntfsd] FAT32 format failure on W2K

Hi all!
I am trying to change the disk on key capacity in the disk filter
driver.
Some disks on key on W2K cannot be formatted FAT32, only NTFS.
The following sequence is seen for fast format:

IOCTL_DISK_CHECK_VERIFY
READ 0x1000 from 0
WRITE 0x1000 to 0
IOCTL_DISK_IS_WRITABLE
IOCTL_DISK_GET_DRIVE_GEOMETRY
IOCTL_DISK_GET_PARTITION_INFO
IOCTL_DISK_GET_DRIVE_LAYOUT

After some retries it fails. NTFS sends the same ioctls, but succeeds.
Any idea?

Thanks,
Dani


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: xxxxx@evitechnology.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

It is about 500 M.
Additional info is that the original disk size is changed by the filter at
some point of time, but not from the moment the device is connected.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Wednesday, August 29, 2007 7:05 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] FAT32 format failure on W2K

What sizes are the disks that are failing? FAT32 is limited to, I
think, a 32 GB partition.

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dani Polovets
Sent: Wednesday, August 29, 2007 11:56
To: Windows File Systems Devs Interest List
Subject: [ntfsd] FAT32 format failure on W2K

Hi all!
I am trying to change the disk on key capacity in the disk filter
driver.
Some disks on key on W2K cannot be formatted FAT32, only NTFS.
The following sequence is seen for fast format:

IOCTL_DISK_CHECK_VERIFY
READ 0x1000 from 0
WRITE 0x1000 to 0
IOCTL_DISK_IS_WRITABLE
IOCTL_DISK_GET_DRIVE_GEOMETRY
IOCTL_DISK_GET_PARTITION_INFO
IOCTL_DISK_GET_DRIVE_LAYOUT

After some retries it fails. NTFS sends the same ioctls, but succeeds.
Any idea?

Thanks,
Dani


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: xxxxx@evitechnology.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Minimum partition size for FAT32 is 512M, you should use FAT16 for smaller
volumes.

Alexei.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Dani Polovets
Sent: Wednesday, August 29, 2007 9:31 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] FAT32 format failure on W2K

It is about 500 M.
Additional info is that the original disk size is changed by the filter at
some point of time, but not from the moment the device is connected.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Wednesday, August 29, 2007 7:05 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] FAT32 format failure on W2K

What sizes are the disks that are failing? FAT32 is limited to, I
think, a 32 GB partition.

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dani Polovets
Sent: Wednesday, August 29, 2007 11:56
To: Windows File Systems Devs Interest List
Subject: [ntfsd] FAT32 format failure on W2K

Hi all!
I am trying to change the disk on key capacity in the disk filter
driver.
Some disks on key on W2K cannot be formatted FAT32, only NTFS.
The following sequence is seen for fast format:

IOCTL_DISK_CHECK_VERIFY
READ 0x1000 from 0
WRITE 0x1000 to 0
IOCTL_DISK_IS_WRITABLE
IOCTL_DISK_GET_DRIVE_GEOMETRY
IOCTL_DISK_GET_PARTITION_INFO
IOCTL_DISK_GET_DRIVE_LAYOUT

After some retries it fails. NTFS sends the same ioctls, but succeeds.
Any idea?

Thanks,
Dani


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: xxxxx@evitechnology.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: xxxxx@vmware.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Thanks, Alexei, but the same failure occurred on FAT16.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Alexei Jelvis
Sent: Wednesday, August 29, 2007 8:41 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] FAT32 format failure on W2K

Minimum partition size for FAT32 is 512M, you should use FAT16 for smaller
volumes.

Alexei.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Dani Polovets
Sent: Wednesday, August 29, 2007 9:31 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] FAT32 format failure on W2K

It is about 500 M.
Additional info is that the original disk size is changed by the filter at
some point of time, but not from the moment the device is connected.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Wednesday, August 29, 2007 7:05 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] FAT32 format failure on W2K

What sizes are the disks that are failing? FAT32 is limited to, I
think, a 32 GB partition.

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dani Polovets
Sent: Wednesday, August 29, 2007 11:56
To: Windows File Systems Devs Interest List
Subject: [ntfsd] FAT32 format failure on W2K

Hi all!
I am trying to change the disk on key capacity in the disk filter
driver.
Some disks on key on W2K cannot be formatted FAT32, only NTFS.
The following sequence is seen for fast format:

IOCTL_DISK_CHECK_VERIFY
READ 0x1000 from 0
WRITE 0x1000 to 0
IOCTL_DISK_IS_WRITABLE
IOCTL_DISK_GET_DRIVE_GEOMETRY
IOCTL_DISK_GET_PARTITION_INFO
IOCTL_DISK_GET_DRIVE_LAYOUT

After some retries it fails. NTFS sends the same ioctls, but succeeds.
Any idea?

Thanks,
Dani


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: xxxxx@evitechnology.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: xxxxx@vmware.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Does this error occur if your filter is not attached?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dani Polovets
Sent: Thursday, August 30, 2007 03:44
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] FAT32 format failure on W2K

Thanks, Alexei, but the same failure occurred on FAT16.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Alexei Jelvis
Sent: Wednesday, August 29, 2007 8:41 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] FAT32 format failure on W2K

Minimum partition size for FAT32 is 512M, you should use FAT16 for
smaller
volumes.

Alexei.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Dani Polovets
Sent: Wednesday, August 29, 2007 9:31 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] FAT32 format failure on W2K

It is about 500 M.
Additional info is that the original disk size is changed by the filter
at
some point of time, but not from the moment the device is connected.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Wednesday, August 29, 2007 7:05 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] FAT32 format failure on W2K

What sizes are the disks that are failing? FAT32 is limited to, I
think, a 32 GB partition.

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dani Polovets
Sent: Wednesday, August 29, 2007 11:56
To: Windows File Systems Devs Interest List
Subject: [ntfsd] FAT32 format failure on W2K

Hi all!
I am trying to change the disk on key capacity in the disk filter
driver.
Some disks on key on W2K cannot be formatted FAT32, only NTFS.
The following sequence is seen for fast format:

IOCTL_DISK_CHECK_VERIFY
READ 0x1000 from 0
WRITE 0x1000 to 0
IOCTL_DISK_IS_WRITABLE
IOCTL_DISK_GET_DRIVE_GEOMETRY
IOCTL_DISK_GET_PARTITION_INFO
IOCTL_DISK_GET_DRIVE_LAYOUT

After some retries it fails. NTFS sends the same ioctls, but succeeds.
Any idea?

Thanks,
Dani


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: xxxxx@evitechnology.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: xxxxx@vmware.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: xxxxx@evitechnology.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

—Does this error occur if your filter is not attached?
No.

If the filter is attached the error doesn’t occur too until the filter
starts to encrypt the disk and changes its size (this is an encryption
filter).
No problem with NTFS format, only FAT16 and FAT32.
No problem on XP/Vista.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Thursday, August 30, 2007 6:23 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] FAT32 format failure on W2K

Does this error occur if your filter is not attached?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dani Polovets
Sent: Thursday, August 30, 2007 03:44
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] FAT32 format failure on W2K

Thanks, Alexei, but the same failure occurred on FAT16.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Alexei Jelvis
Sent: Wednesday, August 29, 2007 8:41 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] FAT32 format failure on W2K

Minimum partition size for FAT32 is 512M, you should use FAT16 for
smaller
volumes.

Alexei.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Dani Polovets
Sent: Wednesday, August 29, 2007 9:31 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] FAT32 format failure on W2K

It is about 500 M.
Additional info is that the original disk size is changed by the filter
at
some point of time, but not from the moment the device is connected.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Wednesday, August 29, 2007 7:05 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] FAT32 format failure on W2K

What sizes are the disks that are failing? FAT32 is limited to, I
think, a 32 GB partition.

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dani Polovets
Sent: Wednesday, August 29, 2007 11:56
To: Windows File Systems Devs Interest List
Subject: [ntfsd] FAT32 format failure on W2K

Hi all!
I am trying to change the disk on key capacity in the disk filter
driver.
Some disks on key on W2K cannot be formatted FAT32, only NTFS.
The following sequence is seen for fast format:

IOCTL_DISK_CHECK_VERIFY
READ 0x1000 from 0
WRITE 0x1000 to 0
IOCTL_DISK_IS_WRITABLE
IOCTL_DISK_GET_DRIVE_GEOMETRY
IOCTL_DISK_GET_PARTITION_INFO
IOCTL_DISK_GET_DRIVE_LAYOUT

After some retries it fails. NTFS sends the same ioctls, but succeeds.
Any idea?

Thanks,
Dani


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: xxxxx@evitechnology.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: xxxxx@vmware.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: xxxxx@evitechnology.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Check the IOCTLs which return the disk size.


Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

“Dani Polovets” wrote in message news:xxxxx@ntfsd…
> —Does this error occur if your filter is not attached?
> No.
>
> If the filter is attached the error doesn’t occur too until the filter
> starts to encrypt the disk and changes its size (this is an encryption
> filter).
> No problem with NTFS format, only FAT16 and FAT32.
> No problem on XP/Vista.
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
> Sent: Thursday, August 30, 2007 6:23 PM
> To: Windows File Systems Devs Interest List
> Subject: RE: [ntfsd] FAT32 format failure on W2K
>
> Does this error occur if your filter is not attached?
>
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Dani Polovets
> Sent: Thursday, August 30, 2007 03:44
> To: Windows File Systems Devs Interest List
> Subject: RE: [ntfsd] FAT32 format failure on W2K
>
> Thanks, Alexei, but the same failure occurred on FAT16.
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Alexei Jelvis
> Sent: Wednesday, August 29, 2007 8:41 PM
> To: Windows File Systems Devs Interest List
> Subject: RE: [ntfsd] FAT32 format failure on W2K
>
> Minimum partition size for FAT32 is 512M, you should use FAT16 for
> smaller
> volumes.
>
> Alexei.
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Dani Polovets
> Sent: Wednesday, August 29, 2007 9:31 AM
> To: Windows File Systems Devs Interest List
> Subject: RE: [ntfsd] FAT32 format failure on W2K
>
>
> It is about 500 M.
> Additional info is that the original disk size is changed by the filter
> at
> some point of time, but not from the moment the device is connected.
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
> Sent: Wednesday, August 29, 2007 7:05 PM
> To: Windows File Systems Devs Interest List
> Subject: RE: [ntfsd] FAT32 format failure on W2K
>
> What sizes are the disks that are failing? FAT32 is limited to, I
> think, a 32 GB partition.
>
> mm
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Dani Polovets
> Sent: Wednesday, August 29, 2007 11:56
> To: Windows File Systems Devs Interest List
> Subject: [ntfsd] FAT32 format failure on W2K
>
> Hi all!
> I am trying to change the disk on key capacity in the disk filter
> driver.
> Some disks on key on W2K cannot be formatted FAT32, only NTFS.
> The following sequence is seen for fast format:
>
> IOCTL_DISK_CHECK_VERIFY
> READ 0x1000 from 0
> WRITE 0x1000 to 0
> IOCTL_DISK_IS_WRITABLE
> IOCTL_DISK_GET_DRIVE_GEOMETRY
> IOCTL_DISK_GET_PARTITION_INFO
> IOCTL_DISK_GET_DRIVE_LAYOUT
>
> After some retries it fails. NTFS sends the same ioctls, but succeeds.
> Any idea?
>
> Thanks,
> Dani
>
>
>
> —
> NTFSD is sponsored by OSR
>
> For our schedule debugging and file system seminars
> (including our new fs mini-filter seminar) visit:
> http://www.osr.com/seminars
>
> You are currently subscribed to ntfsd as: xxxxx@evitechnology.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> —
> NTFSD is sponsored by OSR
>
> For our schedule debugging and file system seminars
> (including our new fs mini-filter seminar) visit:
> http://www.osr.com/seminars
>
> You are currently subscribed to ntfsd as: unknown lmsubst tag argument:
> ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> —
> NTFSD is sponsored by OSR
>
> For our schedule debugging and file system seminars
> (including our new fs mini-filter seminar) visit:
> http://www.osr.com/seminars
>
> You are currently subscribed to ntfsd as: xxxxx@vmware.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> —
> NTFSD is sponsored by OSR
>
> For our schedule debugging and file system seminars
> (including our new fs mini-filter seminar) visit:
> http://www.osr.com/seminars
>
> You are currently subscribed to ntfsd as: unknown lmsubst tag argument:
> ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> —
> NTFSD is sponsored by OSR
>
> For our schedule debugging and file system seminars
> (including our new fs mini-filter seminar) visit:
> http://www.osr.com/seminars
>
> You are currently subscribed to ntfsd as: xxxxx@evitechnology.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> —
> NTFSD is sponsored by OSR
>
> For our schedule debugging and file system seminars
> (including our new fs mini-filter seminar) visit:
> http://www.osr.com/seminars
>
> You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>