Skip Navigation Links | |
Exit Print View | |
Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual Sun QFS and Sun Storage Archive Manager 5.3 Information Library |
1. User Commands (Man Pages Section 1)
2. Maintenance Commands (Man Pages Section 1M)
3. Library Functions (Man Pages Section 3)
4. Library Functions (Man Pages Section 3X)
5. File Formats (Man Pages Section 4)
NAME samgetvol - Obtains disk file system storage information SYNOPSIS samgetvol [-h] [-r] [-w] mntpoint AVAILABILITY Oracle Corporation Internal DESCRIPTION The samgetvol command provides a test interface to the SANergy Volume Map API routine. The samgetvol command must be run as root. OPTIONS This command accepts the following options: -h Causes samgetvol to print a short usage message and exit. -r Causes samgetvol to query the FS_GetMaxLeases API for the read lease period. The result is written to the output. -w Causes samgetvol to query the FS_GetMaxLeases API for the write lease period. The result is written to the output. mntpoint A file system mount point. For example, /qfs1. The samgetvol program operates by calling the routine AFS_GetVol to obtain information about the file system mounted on mntpoint. The result of this operation is written to stdout. EXAMPLES The following example shows output from the samgetvol command: ceres# samgetvol -rw /qfs1 msgLen = 504 [0x1f8] vendorStatus = 0 [0] VolCookie = 0 0 0 20 73 56 6d 43 0 b 0 0 3a 94 59 aa 0 1 4 5 0 0 0 0 0 0 3 0 2 ed a0 0 fsType = 3 (SPARC SAM-FS) system = endian= 1/cpu= 2///os= 3/fs= 2// glomType = 3 (SAM_RAID0) glomInfo = 16384 [0x4000] nDisks = 5 [0x5] blockSize = 512 [0x200] Disk[0] idOffset = 268699648 [0x10040800] blockOffset = 524800 [0x80200] idLength = 16 [0x10] nBlocks = 10486400 [0xa00280] flags = 0x2 ( META ) diskID: 53 42 4c 4b fd 18 7e 20 3a 94 59 aa 0 0 0 0 Disk[1] idOffset = 268699648 [0x10040800] blockOffset = 524800 [0x80200] idLength = 16 [0x10] nBlocks = 10486400 [0xa00280] flags = 0 diskID: 53 42 4c 4b fd 18 7e 20 3a 94 59 aa 0 0 0 1 Disk[2] idOffset = 5637736448 [0x150090800] blockOffset = 11011200 [0xa80480] idLength = 16 [0x10] nBlocks = 10486400 [0xa00280] flags = 0x1 ( STRIPE_SUB ) diskID: 53 42 4c 4b fd 18 7e 20 3a 94 59 aa 0 0 0 2 Disk[3] idOffset = 2048 [0x800] blockOffset = 0 [0] idLength = 16 [0x10] nBlocks = 494109 [0x78a1d] flags = 0 diskID: 53 42 4c 4b fd 18 7e 20 3a 94 59 aa 0 0 0 3 Disk[4] idOffset = 253340672 [0xf19ac00] blockOffset = 494802 [0x78cd2] idLength = 16 [0x10] nBlocks = 494109 [0x78a1d] flags = 0x1 ( STRIPE_SUB ) diskID: 53 42 4c 4b fd 18 7e 20 3a 94 59 aa 0 0 0 4 read lease = 30s write lease = 30s SEE ALSO samgetmap(1M), samunhold(1M).