Skip to content

Fix MountDisks failure on reserved/unmountable partitions#758

Merged
imadityaa merged 1 commit into
microsoft:mainfrom
rajchaurasia03:users/rajchaurasia/fixDiskMountIssue
Jul 21, 2026
Merged

Fix MountDisks failure on reserved/unmountable partitions#758
imadityaa merged 1 commit into
microsoft:mainfrom
rajchaurasia03:users/rajchaurasia/fixDiskMountIssue

Conversation

@rajchaurasia03

Copy link
Copy Markdown
Contributor

Summary

MountDisks fails with "The volume at index '' does not have either a volume index nor label defined. A mount point cannot be assigned to a partition that does not have volume information associated." on any target disk that has a reserved/metadata partition without a mountable identity. This blocks the profile before the workload (e.g. FIO) ever runs.

Fix

Added an IsMountable(DiskVolume) guard and apply it alongside the existing access-path filter in
CreateMountPointsAsync. A volume is considered mountable only when it has the identity its
platform's mount operation actually requires:

  • Windows — a volume index or a drive letter.
  • Unix — a device path (e.g. /dev/sdc1).

Reserved/metadata partitions have none of these and are now skipped instead of being handed to the
disk manager. Real data volumes are unaffected and still get mounted exactly once.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@rajchaurasia03 rajchaurasia03 changed the title Fix MountDisks failure on reserved/unmountable partitions (e.g. Windows MSR) Fix MountDisks failure on reserved/unmountable partitions Jul 21, 2026
@rajchaurasia03

Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree company="Microsoft"

@imadityaa
imadityaa merged commit b17e9bd into microsoft:main Jul 21, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants