Volume name

Any idea where the Hard drive volume name stored in a volume ?

Thanks.

Joe


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

It isn’t.

=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Joseph Smith
Sent: Wednesday, July 27, 2005 9:03 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Volume name

Any idea where the Hard drive volume name stored in a volume ?

Thanks.

Joe


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com — Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 You are currently subscribed to
ntdev as: xxxxx@hollistech.com To unsubscribe send a blank email to
xxxxx@lists.osr.com

What is the “volume name” in this context?

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: Joseph Smith
To: Windows System Software Devs Interest List
Sent: Thursday, July 28, 2005 5:02 AM
Subject: [ntdev] Volume name

Any idea where the Hard drive volume name stored in a volume ?

Thanks.

Joe


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@storagecraft.com To unsubscribe send a blank email to xxxxx@lists.osr.com

In the BPB

Jamey

----- Original Message -----
From: Maxim S. Shatskih
To: Windows System Software Devs Interest List
Sent: Wednesday, July 27, 2005 10:42 PM
Subject: Re: [ntdev] Volume name

What is the “volume name” in this context?

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: Joseph Smith
To: Windows System Software Devs Interest List
Sent: Thursday, July 28, 2005 5:02 AM
Subject: [ntdev] Volume name

Any idea where the Hard drive volume name stored in a volume ?

Thanks.

Joe


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@storagecraft.com To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

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

From SDK:

\?\Volume{GUID}\

The operating system assigns a unique volume name to a volume when the computer first encounters it

My question is: is the Volume name stored any where in the volume ? If not, is it generated according to some properties of the disk (Inquiry 0x83) ? If not, does it mean it will be inconsistent under Multipath solution.

Thanks

“Maxim S. Shatskih” wrote:
What is the “volume name” in this context?

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: Joseph Smith
To: Windows System Software Devs Interest List
Sent: Thursday, July 28, 2005 5:02 AM
Subject: [ntdev] Volume name

Any idea where the Hard drive volume name stored in a volume ?

Thanks.

Joe


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@storagecraft.com To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

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

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

The volume name you refer to is not stored on the volume. I think that
Mark Russinovich covered this pretty well in an article he wrote a few
years back for windowsnt journal or something like that.

Here: http://www.windowsitpro.com/Article/ArticleID/8127/8127.html?Ad=1

It might be an issue for a multipath solution, depending on exactly
what your multipath solution is. If the paths reflect back to the same
physical media and the paths are hidden from the storage stack starting
from disk and above you should be ok.


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Joseph Smith
Sent: Thursday, July 28, 2005 12:52 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Volume name

From SDK:

\?\Volume{GUID}\ <file:>

The operating system assigns a unique volume name to a volume when the
computer first encounters it

My question is: is the Volume name stored any where in the volume ? If
not, is it generated according to some properties of the disk (Inquiry
0x83) ? If not, does it mean it will be inconsistent under Multipath
solution.

Thanks

“Maxim S. Shatskih” wrote:

What is the “volume name” in this context?

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

----- Original Message -----

From: Joseph Smith mailto:xxxxx

To: Windows System Software Devs Interest List
mailto:xxxxx

Sent: Thursday, July 28, 2005 5:02 AM

Subject: [ntdev] Volume name

Any idea where the Hard drive volume name stored in a
volume ?

Thanks.

Joe


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection
around
http://mail.yahoo.com http:</http:> —
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 You are currently subscribed
to ntdev as: xxxxx@storagecraft.com To unsubscribe send a blank email to
xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

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


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com — Questions? First check the Kernel Driver FAQ
at http://www.osronline.com/article.cfm?id=256 You are currently
subscribed to ntdev as: xxxxx@stratus.com To unsubscribe send a
blank email to xxxxx@lists.osr.com</mailto:xxxxx></mailto:xxxxx></file:>

No. The MountMgr database is in HKLM\SYSTEM\MountedDevices. It maps the “MountDev IDs” to these GUIDs.

When a volume appears, MountMgr asks its MountDev ID and search the map for the GUID. If not found - MountMgr will invent a new GUID and add there. Then MountMgr creates the \?\Volume{guid} symlink.

Drive letters are kept in the same registry database and are derived - in turn - from the volume GUID, this is also the task of MountMgr.

MountDev ID is any BLOB of bytes not interpreted by MountMgr at all - it only compares them for equality. The format depends on the volume manager, but for usual hard disk partition it is 12 bytes - disk MBR signature, then partition offset. For removable devices it is the same as the PnP device interface name for MountDev interface. For software RAIDs like Dynamic Disk it is something invented by the RAID developers.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: Joseph Smith
To: Windows System Software Devs Interest List
Sent: Thursday, July 28, 2005 8:51 PM
Subject: Re: [ntdev] Volume name

From SDK:

\?\Volume{GUID}\

The operating system assigns a unique volume name to a volume when the computer first encounters it

My question is: is the Volume name stored any where in the volume ? If not, is it generated according to some properties of the disk (Inquiry 0x83) ? If not, does it mean it will be inconsistent under Multipath solution.

Thanks

“Maxim S. Shatskih” wrote:
What is the “volume name” in this context?

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: Joseph Smith
To: Windows System Software Devs Interest List
Sent: Thursday, July 28, 2005 5:02 AM
Subject: [ntdev] Volume name

Any idea where the Hard drive volume name stored in a volume ?

Thanks.

Joe

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@storagecraft.com To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

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

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@storagecraft.com To unsubscribe send a blank email to xxxxx@lists.osr.com