Summary:
Retrieves information about the filesystems mounted on the specified server.
Request specification:
Name |
Min/Max |
Type |
Description |
|
|
|
|
|
|
|
|
|
|
Server ID. If omitted, a list of file systems mounted in the current server will be retrieved. |
|
|
|
|
|
Returns:
Name |
Min/Max |
Type |
Description |
|
|
|
Mount information. |
|
|
|
|
|
|
|
Contains Permanently mounted filesystems have corresponding entries in |
|
|
|
Device name, e.g. |
|
|
|
Mount point, e.g. |
|
|
|
Filesystem type. |
|
|
|
Contains Temporarily mounted filesystems exist only in the "active" state. Trying to make the temporary mount inactive will remove the mount from the system. |
|
|
|
|
Returns:
Name |
Min/Max |
Type |
Description |
|
|
|
Mount information. |
|
|
|
|
|
|
|
Device name. Can be a letter of the physical drive on the Hardware Node or the name of the loopback-mounted filesystem image. |
|
|
|
The drive letter the filesystem is mounted to. |
|
|
|
The total size of the media in the mounted physical drive or the size of the loopback-mounted file, in bytes. |
|
|
|
|
Description:
On Linux, the
get_mounts
call retrieves information about currently mounted filesystems (usually a device, but can also be a directory name or a dummy).
On Windows, it is possible to mount a physical drive or a filesystem image. Depending on the source, the
get_mounts
call returns the following information:
device
parameter will contain the drive letter. For example, if a Hardware Node has a CD-ROM drive with a letter D:
assignment, and this drive is mounted on a server as drive F:
, the device
parameter will contain the D:
and the point
parameter will contain the F:.
The size
parameter will contain the total size of the media in the drive (hard disk partition, floppy disk, CD-ROM, etc.). device
parameter will contain the name and path of the file and the point
parameter will contain the drive letter that the image file is mounted to. The size
parameter will contain the file size in bytes. Example:
Input
<packet version="4.0.0" id="2">
<target>vzadevm</target>
<data>
<vzadevm>
<get_mounts>
<eid>ba17a0c5-9036-473c-a813-aa6f5b36cf16</eid>
</get_mounts>
</vzadevm>
</data>
</packet>
Output
<ns1:packet priority="0" version="4.0.0">
<ns1:origin>devm</ns1:origin>
<ns1:target>vzclient5</ns1:target>
<ns1:data>
<ns2:devm>
<ns2:mount>
<ns2:device>/dev/VolGroup00/LogVol00</ns2:device>
<ns2:filesystem>ext3</ns2:filesystem>
<ns2:permanent>1</ns2:permanent>
<ns2:active>1</ns2:active>
<ns2:point>/</ns2:point>
</ns2:mount>
<ns2:mount>
<ns2:device>LABEL=/boot</ns2:device>
<ns2:filesystem>ext3</ns2:filesystem>
<ns2:permanent>1</ns2:permanent>
<ns2:point>/boot</ns2:point>
</ns2:mount>
<ns2:mount>
<ns2:device>/dev/sdb1</ns2:device>
<ns2:filesystem>auto</ns2:filesystem>
<ns2:permanent>1</ns2:permanent>
<ns2:point>/vz</ns2:point>
</ns2:mount>
<ns2:mount>
<ns2:device>/dev/hdd</ns2:device>
<ns2:filesystem>auto</ns2:filesystem>
<ns2:point>/media/cdrom</ns2:point>
</ns2:mount>
<ns2:mount>
<ns2:device>/dev/hdc</ns2:device>
<ns2:filesystem>auto</ns2:filesystem>
<ns2:point>/media/cdrom1</ns2:point>
</ns2:mount>
<ns2:mount>
<ns2:device>/dev/hdb</ns2:device>
<ns2:filesystem>auto</ns2:filesystem>
<ns2:point>/media/cdrom2</ns2:point>
</ns2:mount>
<ns2:mount>
<ns2:device>/dev/hda</ns2:device>
<ns2:filesystem>auto</ns2:filesystem>
<ns2:point>/media/cdrom3</ns2:point>
</ns2:mount>
<ns2:mount>
<ns2:device>/dev/fd0</ns2:device>
<ns2:filesystem>auto</ns2:filesystem>
<ns2:point>/media/floppy</ns2:point>
</ns2:mount>
</ns2:devm>
</ns1:data>
</ns1:packet>
Example:
Input
<packet version="4.0.0">
<target>vzadevm</target>
<data>
<vzadevm>
<get_mounts>
<eid>7f29d970-3e31-46f3-9b59-2654329e3e55</eid>
</get_mounts>
</vzadevm>
</data>
</packet>
Output
<?xml version="1.0" encoding="UTF-8"?><ns1:packet xmlns:ns1="http://www.swsoft.com/webservices/vzl/4.0.0/protocol" xmlns:ns2="http://www.swsoft.com/webservices/vza/4.0.0/vzadevm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="2dc464871d0t428bre80" time="2007-05-15T13:27:38+0000" priority="0" version="4.0.0">
<ns1:origin>vzadevm</ns1:origin>
<ns1:target>vzclient2</ns1:target>
<ns1:dst>
<ns1:director>gend</ns1:director>
</ns1:dst>
<ns1:data>
<ns2:vzadevm>
<ns2:mount>
<ns2:device>root.efd</ns2:device>
<ns2:filesystem>auto</ns2:filesystem>
<ns2:size>174094336</ns2:size>
<ns2:point>C:</ns2:point>
</ns2:mount>
<ns2:mount>
<ns2:device>C:\img.efd</ns2:device>
<ns2:filesystem>auto</ns2:filesystem>
<ns2:size>6027264</ns2:size>
<ns2:point>F:</ns2:point>
</ns2:mount>
<ns2:mount>
<ns2:device>lpbk0000.efd</ns2:device>
<ns2:filesystem>auto</ns2:filesystem>
<ns2:size>1000011776</ns2:size>
<ns2:point>K:</ns2:point>
</ns2:mount>
</ns2:vzadevm>
</ns1:data>
<ns1:src>
<ns1:director>gend</ns1:director>
</ns1:src>
</ns1:packet>