2 usage examples, Usage examples – Acronis Disk Director 11 Advanced Workstation - User Guide User Manual

Page 79

Advertising
background image

79

Copyright © Acronis, Inc., 2000-2010

Options

[/os:<id>]

Specifies the ID of the operating system layout under which the operation will be executed.
If not specified, the operation is executed under the currently running operating system.

/disks:<id_list>

Specifies the hard disk IDs, on which the operation will be executed (separated by commas).

[/ps:"<MBR|GPT>"]

Specifies the disk partitioning scheme — MBR or GPT.
If not specified, the MBR partitioning scheme is used.

[/type:"<Dynamic|Basic>"]

Specifies the disk type — Dynamic or Basic.
If not specified, the Basic disk type is used.

list

Lists IDs of all the operating systems, disks, disk groups and volumes on the machine.

9.2 Usage examples

Create a volume

\ADDCommandLine.exe create /os:1 /disks:2 /type:Logical /start:1024 /size:61440
/fs:NTFS /clustersize:4096 /label:MyData /letter:S /reboot

This will create the 60-GB logical NTFS volume MyData (S:) on the second hard drive with 1-GB
offset. The volume will have a 4-KB cluster size. The operation will be performed under the
current operating system with reboot.

\ADDCommandLine.exe create /os:1 /disks:3,4 /type:Spanned /size:1536000 /fs:NTFS
/clustersize:4096 /label:Media /letter:Y /reboot

This will create the 1.5-TB spanned NTFS volume Media (Y:) on the third and fourth hard drives.
The volume will have a 4-KB cluster size. The operation will be performed under the current
operating system with reboot.

Resize a volume

\ADDCommandLine.exe resize /os:1 /volume:7 /start:2048 /size:10240 /reboot

This will resize the seventh volume to 10 GB under the current operating system after reboot.
The volume will be resized with 2-GB offset.

Initialize a disk

\ADDCommandLine.exe initialize /os:1 /disks:5 /ps:MBR /type: Basic

This will initialize the fifth disk as a basic disk with MBR partitioning scheme.

Delete a volume

\ADDCommandLine.exe delete /os:1 /volume:6

This will delete the sixth volume under the currently running operating system.

Advertising