Product Documentation and Knowledge Base - HomeDocumentation


Charon-VAXCharon-AXPCharon-PDPCharon-SSPCharon-PAR

mkdskcmd

Name

mkdskcmd –CHARON virtual disk container creation utility.

Synopsis

mkdskcmd [OPTION] ...

Description

Create virtual disk container files for use the the CHARON family of virtual machines.  By default, this utility will display a usage message.

Mandatory arguments to long options are mandatory for short options too.

-a, --avtable PATHNAME

Use this option to specify an alternate location, PATHNAME, of the known disk device table.

-c, --blcount BLOCKCOUNT

Specify the number of blocks, BLOCKCOUNT, in the virtual disk container file.  Use this option with -z, --blsize to set the block size.

-d, --disk NAME

Specify the NAME of a known disk type.  Use -l, --list to see a list of disk types supported by the utility.

-h, --help

Display the utility usage message.

-l, --list

Display a list of the known disk types.

-o, --output FILENAME

Specify the pathname of the virtual disk container file.

-s, --silent

Do not write any output to the terminal.

-z, --blsize BLOCKSIZE

Specify the BLOCKSIZE in bytes when creating a custom virtual disk container file.  This option must be used with -c, --blcount.

Exit Status

The mkdskcmd utility exits 0 on success and non-zero if an error occurs.

Examples

The following example creates the virtual disk container file /usr/local/vm/leela/disk0.vdisk using the geometry of a Seagate ST446452W 46GB disk drive.

mkdskcmd -o /usr/local/vm/leela/disk0.vdisk -d ST446452W

This example creates a virtual disk container file, /usr/local/vm/bender/disk0.vdisk, using a block size of 4,096 bytes and a total of 16,384 blocks.

mkdskcmd -o /usr/local/vm/bender/disk0.vdisk -z 4096 -c 16384



© Stromasys, 1999-2024  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.