Rsm Command for allocate media from a media pool in Windows Server 2008

In this article I am going to explain about allocate media from a media pool by the help of rsm command in windows server 2008 operating system.
  • 1713

Rsm command for Allocate media from a media pool  in Windows Server 2008

The rsm command is used to manages media resources using removable storage.

Syntax of Rsm  command for Allocate media from a media pool :

rsm allocate /m <MediaPoolName> /o{errunavail|new|next} [/l{g|f} <LogicalMediaID>|/p{g|f}<PartitionID>] [/ln<LogicalMediaName>][/ld<LogicalMediaDescription>] [/pn<PartitionName>] [/pd<PartitionDescription>][/t<Timeout>] [/b]

Parameters in Rsm  command  for  Allocate media from a media pool

It contains following parameter, which is given below:
 
Parameter Description
/m <MediaPoolName> It is used to allocate media pool.
 /o It permits the use of parameters.
/I It specifies the media to be allocated, using the logical media ID.
LogicalMediaID It specifies the logical media ID.
/p It specifies the partition to be allocated using the partition ID..
<PartitionID> It specifies the partition ID.
/ln It specifies the friendly name to be assigned to the allocated media's logical media object.
<LogicalMediaName> It specifies logical media name.
/Id It specifies the description to be assigned to the allocated media's logical media object.
<LogicalMediaDescription> It specifies logical media description.
/pn It specifies the friendly name to be assigned to the allocated media's partition object.
<PartitionName> It specifies the name of the partition.
/pd It specifies the description to be assigned to the allocated media's partition object.
<PartitionDescription> It specifies the description of the partition.
/t It specifies the command time-out, in milliseconds and the default time-out value is infinite.
<Timeout> It specifies timeout in milliseconds.
/b It specifies only the GUID for the allocate operation is displayed.

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.