Trying to load NTFS

Hi

I am trying to load NTFS on a drive which is 19 MB in size. From Disk Management, when i format the disk, i get many scsi read/write commands. I complete all the commands (in storport miniport driver).

Still it gives a error message like format was not complete and file system is not loaded.

  1. Is 19 MB disk size enough to load NTFS?
  2. Am i missing something here or doing some mistake?

Thanks,
Amogha

Have you done the obvious thing and tried this with a 19MB volume that
doesn’t include your StorPort miniport?

-scott


Scott Noone
Consulting Associate and Chief System Problem Analyst
OSR Open Systems Resources, Inc.
http://www.osronline.com

wrote in message news:xxxxx@ntfsd…

Hi

I am trying to load NTFS on a drive which is 19 MB in size. From Disk
Management, when i format the disk, i get many scsi read/write commands. I
complete all the commands (in storport miniport driver).

Still it gives a error message like format was not complete and file system
is not loaded.

  1. Is 19 MB disk size enough to load NTFS?
  2. Am i missing something here or doing some mistake?

Thanks,
Amogha

The disk is connected through the HBA hence the driver is required(miniport driver).

Thanks

Right…But what about a completely unrelated 19MB volume?

-scott


Scott Noone
Consulting Associate and Chief System Problem Analyst
OSR Open Systems Resources, Inc.
http://www.osronline.com

wrote in message news:xxxxx@ntfsd…

The disk is connected through the HBA hence the driver is required(miniport
driver).

Thanks

Hi Scott,

I didn’t get you. I am exposing a disk which is connected to HBA. This disk size is of 20MB. When i initialize, the size is reduced to 19MB.

Now i am trying to load NTFS. During this the OS issues many scsi read/write commands which the driver handles successfully.

Still it shows a error message stating format failed.

Thanks,

Create a 20MB virtual disk and see if you can format it. Windows has all of
this support built in now so it’s easy to test (not exactly 20MB, but small
enough to prove a point):

C:\Windows\system32>format f:
The type of the file system is RAW.
The new file system is NTFS.

WARNING, ALL DATA ON NON-REMOVABLE DISK
DRIVE F: WILL BE LOST!
Proceed with Format (Y/N)? y
Formatting 18M
Volume label (32 characters, ENTER for none)?
Creating file system structures.
Format complete.
18.9 MB total disk space.
16.7 MB are available.

Looks like it’s supported to me (on Win7, at least).

-scott


Scott Noone
Consulting Associate and Chief System Problem Analyst
OSR Open Systems Resources, Inc.
http://www.osronline.com

wrote in message news:xxxxx@ntfsd…

Hi Scott,

I didn’t get you. I am exposing a disk which is connected to HBA. This disk
size is of 20MB. When i initialize, the size is reduced to 19MB.

Now i am trying to load NTFS. During this the OS issues many scsi read/write
commands which the driver handles successfully.

Still it shows a error message stating format failed.

Thanks,

Hi Scott,

I agree that on a 19 MB disk windows loads NTFS. But my question is even after successful completion of read/write commands, why file system is not loaded. Format is getting failed. Why?

Thanks

Did you see what IRP is failing using any of the tracing softwares like
filespy, procmon, etc? Which IRP failed? Can’t just say format is failing.
Once you figure out which IRP is failing, then start exploring from that
angle.

Ayush Gupta
Software Consultant & Owner,
AI Consulting

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Thursday, June 02, 2011 8:48 PM
To: Windows File Systems Devs Interest List
Subject: RE:[ntfsd] Trying to load NTFS

Hi Scott,

I agree that on a 19 MB disk windows loads NTFS. But my question is even
after successful completion of read/write commands, why file system is not
loaded. Format is getting failed. Why?

Thanks


NTFSD is sponsored by OSR

For our schedule of debugging and file system seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

I can see SRB’s in driver(miniport driver). I am completing all read/write SRB’s successfully.

>I agree that on a 19 MB disk windows loads NTFS

If you knew that why did you ask if NTFS supported 19MB volumes in your
first post?

Obviously something is different about the two cases. If it’s not because of
requests failing, it might be because of the data being returned. The I/O
generated during a format of a 19MB volume should be fairly minimal
(especially if quick format also fails). So, collect traces and see what’s
different.

If the pre-cooked tools for capturing data aren’t working for you, you can
always just grab a copy of diskperf and add some DbgPrints. That way you can
also instrument it to break in and inspect suspect packets.

-scott


Scott Noone
Consulting Associate and Chief System Problem Analyst
OSR Open Systems Resources, Inc.
http://www.osronline.com

wrote in message news:xxxxx@ntfsd…

Hi Scott,

I agree that on a 19 MB disk windows loads NTFS. But my question is even
after successful completion of read/write commands, why file system is not
loaded. Format is getting failed. Why?

Thanks