cancel
Showing results for 
Search instead for 
Did you mean: 

diskpart not working - how to convert to dynamic??

lara400
Level 3

Hi,

Still brand new to Veritas so apologise for the lack of knowledge!

I am trying to convert a disk to a dynamic disk via diskpart but it errors out - I think it is because Veritas takes over the dynamic disk group creation action.

Anyway, how do I convert a disk to dynamic via the command line? I have no diskgroups so I assume I create a disk group (again how to do this via command line?) and then add the disk? I guess I also need to initialize the disk as well..(command line please again).

I saw some commands like vxdg and vxassist but the syntax does not make much sense sometimes. ie I tried

vxdg init mydiskg => but I get more options back?

I just want to initialize a disk, convert it to dynamic and then let diskpart carry on an format it...

I also noticed that Veritas allocates drive D: per defualt to a CD-ROM drive - no idea why it would do this as I do not even have a CD-ROM drive on the server! This is annoying me as the drive letter I want to use and the volume I want to use is D: and volume 1.........Vertitas puts both of these onto a CD-ROM drive - anyway of disablin CD-ROM drive and that volume?

If I disable it via diskpart then it says it cannot delete a removal media volume....! So annoying!!

Thanks,

3 REPLIES 3

Marianne
Level 6
Partner    VIP    Accredited Certified

Any reason why you want to use cmd and not the GUI?

Like the OS, SF on Windows is best used with the GUI.

Please mention your OS and SF versions - it makes it a lot easier to point to relevent documentation.

You can also find manuals here:

https://sort.symantec.com/documentation

Wally_Heim
Level 6
Employee

Hi Lara400,

Here is a link to the latest version of SFW's Admin Guide.

https://sort.symantec.com/public/documents/sfha/6.0/windows/productguides/pdf/SFW_Admin_60.pdf

You might want to read up on the vxdg and vxassist commands to help you with your needed command line syntax.  From there you might also need to use the vxvol command.

As for the drive letter being used, SFW does not automaticaly assign drive letters.  In the Windows OS, automatically mounting drive letters to new partations, volumes, cdrom drives, usb drives and other mountable media is handled by Mount Manager which is an OS item.  SFW can make calls to Mount Manager to assign and remove drive letters as needed.

You can use VEA as Marianne recommends to modify and/or remove the problem drive letter as needed.

Thanks,

Wally

kjbss
Level 5
Partner Accredited

Here are examples of CLI to create a disk group and add a disk to it and look at some things:

 c:\>vxdg init -g datadg Harddisk1
Successfully created dynamic disk group datadg

c:\>vxdg -g datadg adddisk Harddisk2
Successfully added disk(s) to the dynamic disk group datadg

c:\>vxdisk -g datadg diskinfo Harddisk1 
Disk information
    Device Name :   Harddisk1
    Media Name  :   Disk1
    Disk Group  :   datadg
    Disk Style  :   MBR
    Length      :   1072676864
    FreeSpace   :   1072676864
    BusType     :   100
    EnclosureId :   DISKS@SFWHA-01
    Port        :   2
    Target      :   1
    Channel     :   0
    LUN         :   0
    Signature   :   3074550520
    Status      :   Imported
    Serial Number:
    Vendor ID   :   VMware,
    Product ID  :   VMware
    Adapter     :   LSI Adapter, SAS 3000 series, 8-port with 1068
    Comment     :
    Spare       :   No
    Reserved    :   No
    Hot Use     :   Yes
    Write Cache Enabled      :   No
    SCSI-3 Reserved          :   No
    Track Alignment
    VID/PID                  :    Default/Default
    Track Alignment Offset   :    64
    Track Alignment Setting  :    Disable
    Thin Provisioning
    Provision Type           :    -
    Provisioned Size         :    -
    Allocation Unit          :    -
    Veritas Disk ID (VDID)   :    \\?\PhysicalDrive1@SFWHA-01

c:\>vxprint -g datadg

Diskgroup = datadg
TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
dm Harddisk1    Disk1        -        2095072  -        -        -       -
dm Harddisk2    Disk2        -        2095072  -        -        -       -
dg datadg       datadg       -        -        -        -        -       -