cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping "mountvol" ID to specific volume

Darren_Dunham
Level 6

If I run "mountvol", it will show me the volumes that I can map to a drive letter or to a path.  But it only gives me a windows drive ID.

 

How do I map this ID to a specific running volume?  I can't give the storage foundation path to the volume, it just whines when I try.  But I need to programmatically mount the correct volume. 

Thanks!

(mountvol output:)


Possible values for VolumeName along with current mount points are:

    \\?\Volume{3b9a0744-7199-11e0-a472-806e6f6e6963}\
        C:\

    \\?\Volume{3b9a0745-7199-11e0-a472-806e6f6e6963}\
        D:\

    \\?\Volume{5965b149-0fea-46da-a0e5-0deeef166486}\
        *** NO MOUNT POINTS ***

    \\?\Volume{84e9b221-41ab-4685-be03-7e0abef75ae8}\
        *** NO MOUNT POINTS ***

1 ACCEPTED SOLUTION

Accepted Solutions

mikebounds
Level 6
Partner Accredited

You should use "vxassist assign" rathert than mountvol and then you specify diskgroup and volume:

vxassist -g dg_name assign vol_name DriveLetter={A|B .. Z}

If you want to map GUID to volume name, then use "vxprint -l" and this gives you the volu

Mike

View solution in original post

2 REPLIES 2

mikebounds
Level 6
Partner Accredited

You should use "vxassist assign" rathert than mountvol and then you specify diskgroup and volume:

vxassist -g dg_name assign vol_name DriveLetter={A|B .. Z}

If you want to map GUID to volume name, then use "vxprint -l" and this gives you the volu

Mike

Darren_Dunham
Level 6

Righto!  My Windows-fu is limited.  Thank you for that!

I had been looking for the mapping in vxprint, but the volumes themselves don't have anything like a GUID.  There is one on the plex, but I'm not going to mount that.