Returns detailed information about an existing NSS logical volume. To get information about a traditional NetWare volume, use the getTraditionalVolumeInfo command.
<getVolumeInfo type=" "> <volumeName/> </getVolumeInfo>
<getVolumeInfo> <basicInfo> <mountPoint/> <volumeName/> <poolName/> <ndsVolumeName/> <ndsVolumeGUID/> <volumeGUID/> <owner/> <volumeState/> <nameSpaces value=" "/> <blockSize/> <volumeQuota/> <usedSize/> <totalObjects/> <totalFiles/> <createdTime value=" "/> <modifiedTime value=" "/> <archivedTime value=" "/> <volumeReadAhead/> </basicInfo> <attributeInfo> <supportedAttributes value=" "> <volumeEncrypted/> <readonly/> <salvage/> <compression/> <directoryQuota/> <userQuota/> <flushFiles/> <mfl/> <snapshot/> <backup/> <shredding/> <userTransaction/> <migration/> </supportedAttributes> <enabledAttributes value=" "> <readonly/> <salvage/> <compression/> <directoryQuota/> <userQuota/> <flushFiles/> <mfl/> <snapshot/> <backup/> <shredding/> <userTransaction/> <migration/> </enabledAttributes> </attributeInfo> <salvageInfo> <freeableSize/> <nonFreeableSize/> <deletedFiles/> <oldestDeletedTime value=" "/> <minKeepTime/> <maxKeepTime/> <lowWaterMark/> <highWaterMark/> </salvageInfo> <compressionInfo> <compressedFiles/> <compressedDeletedFiles/> <uncompressibleFiles/> <precompressionBytes/> <compressedBytes/> </compressionInfo> <deletedVolumeInfo> <deleteState value=" "> <originalVolumeName/> <originalVolumeGUID/> <deletedTime value=" "/> <scheduledPurgeTime value=" "/> <lastStatus/> <lastStatusSetter/> </deletedVolumeInfo> <result value=" "> <description/> </result> </getVolumeInfo>
Specifies the name of the volume to return information for.
Specifies that type is all or basic.
Linux only. Specifies the pool's mount point.
Specifies the name of the NSS storage pool on which the volume resides.
Specifies the fully distinguished name of the eDirectory volume object.
Specifies the GUID that identifies the eDirectory volume object.
Specifies the GUID that identifies the NSS volume.
Specifies the user's name of the volume's owner.
Specifies the current state of the volume (see Volume States).
Specifies a list of name spaces. The lookup value can be the following:
Specifies the size of the volume's block.
Specifies the size quota assigned to the NSS logical volume. If a number, the volume is restricted not to grow larger than the specified size. If none is returned, the volume has no assigned quota and can grow as big as the physical size of the NSS storage pool allows.
Specifies the total number of used bytes on the volume.
Specifies the total number of objects that are stored on the volume.
Specifies the total number of file objects that are stored on the volume.
Specifies a string representation of the UTC time when the volume was created.
Specifies a string representation of the UTC time when the volume was last modified.
Specifies a string representation of the UTC time when the volume was archived.
Specifies the current read ahead setting for the volume.
Specifies that type is all or attributes.
Specifies a combination of the attribute elements that are supported by the volume.
Specifies if the volume is encrypted (zATTR_ENCRYPTED).
Specifies the read only feature is supported or enabled.
Specifies the salvage feature is supported or enabled.
Specifies the compression feature is supported or enabled.
Specifies the directory quota feature is supported or enabled.
Specifies the user quota feature is supported or enabled.
Specifies the flush files feature is supported or enabled.
Specifies the modified file list feature is supported or enabled.
Specifies the snapshot feature is supported or enabled.
Specifies the backup bit is supported or enabled.
Specifies the data shredding feature is supported or enabled.
Specifies the user transaction feature is supported or enabled.
Specifies the migration feature is supported or enabled.
Specifies a list of attribute elements that are currently enabled on the volume.
Specifies that the type is all or salvage.
Specifies the number of purgeable bytes on the volume.
Specifies the number of nonpurgeable bytes on the volume.
Specifies the number of deleted files on the volume.
Specifies a string representation of the UTC time.
Specifies the number of seconds a file must remain in a salvageable state before the file system is allowed to automatically purge the file (if free space is needed). A value of 0 indicates that all deleted files are immediate candidates for automatic purging.
Specifies the low water mark percentage for the volume. If the amount of free space on the volume falls below this percentage, an automatic purge process is initiated.
Specifies the high water mark percentage for the volum.e If the amount of free space on the volume rises above this percentage, an automatic purge process is initiated.
Specifies that the type is all or compression.
Specifies the number of compressed files.
Specifies the number of compressed deleted files.
Specifies the number of uncompressible files.
Specifies the number of precompression bytes.
Specifies the number of compressed bytes.
Specifies that type is all or deletedVolume. This information is returned only if the volume is a volume that has been deleted but is not yet purged from the NSS storage pool.
Specifies the current state of the volume.
Specifies the original name of the volume before it was deleted.
Specifies the original GUID of the volume before it was deleted.
Specifies a string representation of the UTC time.
Specifies a string representation of the UTC time.
Specifies an error value or 0 (for no error) for the last reported error for the volume before it was deleted.
Specifies the source (which is the NSS standard source file line number format) that reported the lastStatus error.
Specifies an error value or 0 (for no error).
Specifies a text description of the returned result.
(Optional) Specifies what type of information to return. (See Volume Types.) The default value is all.
Specifies the decimal value of the name space mask for the volume.
(For createdtime, modifiedTime, archivedTime, oldestDeletedTime, deletedTime, and scheduledPurgeTime) Specifies the decimal UTC time.
(For supportedAttributes and enabledAttributes) Specifies the decimal value of the volume's bit masks.
(For deleteState) Specifies the decimal value of the delete state of the volume.
An encrypted volume uses the volumeEncrypted element, which cannot be modified on an existing volume. If you try to modify the volumeEncrypted element, the volume is not changed.
deleteState can have the following values:
A nssRequest packet to return the volume information is as follows:
<nssRequest> <volume> <getVolumeInfo type="all"> <volumeName>MYVOL</volumeName> </getVolumeInfo> </volume> </nssRequest>
A nssReply packet to the get volume information command follows:
<nssReply> <volume> <getVolumeInfo> <basicInfo> <volumeName>MYVOL</volumeName> <poolName>MYPOOL</poolName> <ndsVolumeName> .CN=MYSERVER_MYVOL.O=novell.T=MY_TREE. </ndsVolumeName> <ndsVolumeGUID> C2EAAA00-3211-11D6-B7-C7-00C04FA33547 </ndsVolumeGUID> <volumeGUID> C2C86990-3211-01D6-80-00-BD09318C30CA </volumeGUID> <owner>.[Supervisor].</owner> <volumeState>mounted</volumeState> <nameSpaces value="23"> DOS Long Macintosh Unix </nameSpaces> <blockSize>4096</blockSize> <volumeQuota>none</volumeQuota> <usedSize>36864</usedSize> <totalObjects>7</totalObjects> <totalFiles>7</totalFiles> <createdTime value="1015536291"> Mar 7, 2002 2:24:51 pm </createdTime> <modifiedTime value="1015536291"> Mar 7, 2002 2:24:51 pm </modifiedTime> <archivedTime value="0">Invalid UTC Time </archivedTime> </basicInfo> <attributeInfo> <supportedAttributes value="469762043"> <salvage/> <compression> <directoryQuota> <userQuota> <flushFiles> <mfl> <snapshot> <shredding> <userTransaction> <migration> </supportedAttributes> <enabledAttributesvalue="50593779"> <salvage/> <directoryQuota> <userQuota> <backup> <shredding>2</shredding> </enabledAttributes> </attributeInfo> <salvageInfo> <freeableSize>0</freeableSize> <nonFreeableSize>0</nonFreeableSize> <deletedFiles>0</deletedFiles> <oldestDeletedTime value="0"> Invalid UTC Time </oldestDeletedTime> <minKeepTime>0</minKeepTime> <maxKeepTime>0</maxKeepTime> <lowWaterMark>10</lowWaterMark> <highWaterMark>20</highWaterMark> </salvageInfo> <compressionInfo> <compressedFiles>0</compressedFiles> <compressedDeletedFiles>0 </compressedDeletedFiles> <uncompressibleFiles>0</uncompressibleFiles> <preCompressionBytes>0</preCompressionBytes> <compressedBytes>0</compressedBytes> </compressionInfo> <result value="0"> <description/>success</description> </result> </getVolumeInfo> </volume> <result value="0"> <description/>zOK</description> </result> </nssReply>
A nssRequest packet to return the volume information is as follows:
<nssRequest> <volume> <getVolumeInfo type="deletedVolume"> <volumeName>2FNC78F4IHL3_DV</volumeName> </getVolumeInfo> </volume> </nssRequest>
A nssReply packet to the get volume information command follows:
<nssReply> <volume> <getVolumeInfo> <deletedVolumeInfo> <deleteState value="3">auto purging paused </deleteState> <originalVolumeName>NSS2</originalVolumeName> <originalVolumeGUID> CA55AC24-3223-01D6-80-01-FBDA22AE6917 </originalVolumeGUID> <deletedTime value="1015544045"> Mar 7, 2002 4:34:05 pm </deletedTime> <scheduledPurgeTime value="1015889645"> Mar 11, 2002 4:34:05 pm </scheduledPurgeTime> <lastStatus>0</lastStatus> <lastStatusSetter>zlssLogicalVolume.c[8326] </lastStatusSetter> </deletedVolumeInfo> <result value="0"> <description/>success</description> </result> </getVolumeInfo> </volume> <result value="0"> <description/>zOK</description> </result> </nssReply>