5978
Comment:
|
← Revision 19 as of 2010-03-17 12:18:33 ⇥
7103
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
Line 8: | Line 5: |
gives a list of fids which need an archval copy Usage: vos archcand -server <machine name> {{{ #vos archcand -server zyklop20 |
gives a list of fids which need an archval copy Usage: vos archcand -server <machine name> {{{ #vos archcand -server zyklop20 |
Line 23: | Line 15: |
Other Options: || '''wipeable''' || ignore files < minwipesize || || '''force''' || check also volumes without osd policy || || '''localauth''' || use server tickets|| || '''verbose''' || verbose || || '''encrypt''' || encrypt commands|| || '''noresolve''' || don't resolve addresses|| |
Other Options: ||'''wipeable''' ||ignore files < minwipesize || ||'''force''' ||check also volumes without osd policy || ||'''localauth''' ||use server tickets || ||'''verbose''' ||verbose || ||'''encrypt''' ||encrypt commands || ||'''noresolve''' ||don't resolve addresses || |
Line 37: | Line 29: |
Usage: vos statistic -server <server> {{{ |
Usage: vos statistic -server <server> {{{ |
Line 52: | Line 41: |
Usage: vos getvariable <Server> <variable> |
Usage: vos getvariable <Server> <variable> |
Line 59: | Line 48: |
Line 63: | Line 51: |
Usage: vos setvariable -server <machine name> -name <of the variable> -value <to be set> |
Usage: vos setvariable -server <machine name> -name <of the variable> -value <to be set> Usage: {{{ # vos setvariable zyklop20 LogLevel 1 LogLevel = 1 }}} |
Line 69: | Line 58: |
RPC failed with code 1492325127 |
sanity check for a volume Usage: vos salvage -id <volume name or ID> {{{ # vos salvage tn.testosd -localauth Salvaging volume 536900068 536900068: 332 local (953.813 mb) and 25 in OSDs (182.814 gb), 0 errors }}} |
Line 75: | Line 68: |
Usage: vos traverse -server <machine names> {{{ # vos traverse -server zyklop19 |
Usage: vos traverse -server <machine names> {{{ # vos traverse -server zyklop19 |
Line 126: | Line 119: |
}}} |
}}} * First table: * Files - counter of all files in the size range * First % run % Column: * gives you an overview in which sizerange your files are * 1. Column: percent of the current sizerange * 2. Column: general percent * Data * Files*Size * Second % run % Column: * gives you an overview how much space which data need * 1. Column: percent of the current sizerange * 2. Column: general percent * Second table: * overview of all servers with all their objects and data * Third table * shows you which data are not replicated or "save" * if !replicated => Data ist replicated * arch. osd <ID> <Name> ... this data is save on a arch server, but needed to be copied to an other arch server * all other entries say, that the data on these server are '''not''' replicated or in other way save |
Line 131: | Line 150: |
Usage: vos splitvolume -id <volume name or ID> -newname <name of the new volume> -dirvnode <vnode number of directory where the volume should be split> |
Usage: vos splitvolume -id <volume name or ID> -newname <name of the new volume> -dirvnode <vnode number of directory where the volume should be split> |
Line 135: | Line 153: |
dump a volume Usage: vos dump -id <volume name or ID> || '''osd''' || dump OSD files as normal files (include data) || || '''metadataonly''' || dump only directories and OSD metadata || |
dump a volume Usage: vos dump -id <volume name or ID> ||'''osd''' ||dump OSD files as normal files (include data) || ||'''metadataonly''' ||dump only directories and OSD metadata || |
Line 145: | Line 165: |
Usage: vos create -server <machine name> -partition <partition name> -name <volume name> |
Usage: vos create -server <machine name> -partition <partition name> -name <volume name> |
Line 152: | Line 170: |
vos examine -id <volume name or ID> | vos examine -id <volume name or ID> |
Line 158: | Line 177: |
RWrite 536900068 ROnly 536900069 Backup 536900070 | RWrite 536900068 ROnly 536900069 Backup 536900070 |
Line 166: | Line 185: |
RWrite: 536900068 | RWrite: 536900068 |
Line 168: | Line 187: |
server zyklop19.ifh.de partition /vicepa RW Site | server zyklop19.ifh.de partition /vicepa RW Site |
Line 174: | Line 192: |
vos listobjects -osd <osd or policy id> | vos listobjects -osd <osd or policy id> -volume |
Line 177: | Line 195: |
vos setfields: change volume info fields Usage: vos setfields -id <volume name or ID> |
vos setfields: change volume info fields Usage: vos setfields -id <volume name or ID> |
Line 183: | Line 200: |
|| '''clearuse''' || clear dayUse || || '''noauth''' || don't authenticate || || '''verbose''' || verbose|| || '''encrypt''' || encrypt commands || || '''noresolve''' || don't resolve addresses || || '''localauth''' || use server tickets || |
||'''clearuse''' ||clear dayUse || ||'''noauth''' ||don't authenticate || ||'''verbose''' ||verbose || ||'''encrypt''' ||encrypt commands || ||'''noresolve''' ||don't resolve addresses || ||'''localauth''' ||use server tickets || |
Line 194: | Line 213: |
Usage: vos wipecand -server <machine names>+ |
Usage: vos wipecand -server <machine names> {{{ # vos wipecand -server zyklop19 processing zyklop19 }}} |
Contents
vos commands
vos archcand
gives a list of fids which need an archval copy
Usage: vos archcand -server <machine name>
#vos archcand -server zyklop20 Fid Weight Blocks 536900071.2.3 5015500 1000000 Totally 1 files with 1000000 blocks
Other Options:
wipeable |
ignore files < minwipesize |
force |
check also volumes without osd policy |
localauth |
use server tickets |
verbose |
verbose |
encrypt |
encrypt commands |
noresolve |
don't resolve addresses |
vos statistic
show data flow statistic of a given server
Usage: vos statistic -server <server>
#vos statistic -server zyklop19 Since 2009-11-08 04:00:01 (455348 seconds == 5 days, 6:29:08 hours) Total number of bytes received 0 0 bytes Total number of bytes sent 0 0 bytes
vos getvariable
return the value of a given variable
Usage: vos getvariable <Server> <variable>
#vos getvariable zyklop20 LogLevel LogLevel = 0
vos setvariable
set value of the specific variable in volserver
Usage: vos setvariable -server <machine name> -name <of the variable> -value <to be set> Usage:
# vos setvariable zyklop20 LogLevel 1 LogLevel = 1
vos salvage
sanity check for a volume Usage: vos salvage -id <volume name or ID>
# vos salvage tn.testosd -localauth Salvaging volume 536900068 536900068: 332 local (953.813 mb) and 25 in OSDs (182.814 gb), 0 errors
vos traverse
gather file statistic from server
Usage: vos traverse -server <machine names>
# vos traverse -server zyklop19 servers: zyklop19 File Size Range Files % run % Data % run % ---------------------------------------------------------------- 0 B - 4 KB 330 92.70 92.70 142.768 KB 0.00 0.00 4 KB - 8 KB 1 0.28 92.98 8.000 KB 0.00 0.00 8 KB - 16 KB 0 0.00 92.98 0 B 0.00 0.00 16 KB - 32 KB 0 0.00 92.98 0 B 0.00 0.00 32 KB - 64 KB 0 0.00 92.98 0 B 0.00 0.00 64 KB - 128 KB 0 0.00 92.98 0 B 0.00 0.00 128 KB - 256 KB 0 0.00 92.98 0 B 0.00 0.00 256 KB - 512 KB 0 0.00 92.98 0 B 0.00 0.00 512 KB - 1 MB 0 0.00 92.98 0 B 0.00 0.00 1 MB - 2 MB 0 0.00 92.98 0 B 0.00 0.00 2 MB - 4 MB 0 0.00 92.98 0 B 0.00 0.00 4 MB - 8 MB 0 0.00 92.98 0 B 0.00 0.00 8 MB - 16 MB 2 0.56 93.54 28.000 MB 0.02 0.02 16 MB - 32 MB 0 0.00 93.54 0 B 0.00 0.02 32 MB - 64 MB 0 0.00 93.54 0 B 0.00 0.02 64 MB - 128 MB 0 0.00 93.54 0 B 0.00 0.02 128 MB - 256 MB 0 0.00 93.54 0 B 0.00 0.02 256 MB - 512 MB 0 0.00 93.54 0 B 0.00 0.02 512 MB - 1 GB 3 0.84 94.38 2.793 GB 1.54 1.56 1 GB - 2 GB 0 0.00 94.38 0 B 0.00 1.56 2 GB - 4 GB 0 0.00 94.38 0 B 0.00 1.56 4 GB - 8 GB 11 3.09 97.47 73.192 GB 40.34 41.90 8 GB - 16 GB 9 2.53 100.00 105.406 GB 58.10 100.00 ---------------------------------------------------------------- Totals: 356 Files 181.420 GB Storage usage: --------------------------------------------------------------- 1 local_disk 332 files 953.821 MB Osd 2 zyklop20-al 24 objects 180.489 GB arch. Osd 4 arch 1 objects 953.673 MB --------------------------------------------------------------- Total 357 objects 182.351 GB Data without a copy: --------------------------------------------------------------- if !replicated: 1 local_disk 332 files 953.821 MB Osd 2 zyklop20-al 23 objects 179.557 GB --------------------------------------------------------------- Total 355 objects 180.489 GB
- First table:
- Files - counter of all files in the size range
- First % run % Column:
- gives you an overview in which sizerange your files are
- 1. Column: percent of the current sizerange
- 2. Column: general percent
- gives you an overview in which sizerange your files are
- Data
- Files*Size
- Second % run % Column:
- gives you an overview how much space which data need
- 1. Column: percent of the current sizerange
- 2. Column: general percent
- gives you an overview how much space which data need
- Second table:
- overview of all servers with all their objects and data
- Third table
- shows you which data are not replicated or "save"
if !replicated => Data ist replicated
arch. osd <ID> <Name> ... this data is save on a arch server, but needed to be copied to an other arch server
all other entries say, that the data on these server are not replicated or in other way save
- shows you which data are not replicated or "save"
vos split
split a volume at a certain directory
Usage: vos splitvolume -id <volume name or ID> -newname <name of the new volume> -dirvnode <vnode number of directory where the volume should be split>
vos dump
dump a volume
Usage: vos dump -id <volume name or ID>
osd |
dump OSD files as normal files (include data) |
metadataonly |
dump only directories and OSD metadata |
vos create
creates a new volume
Usage: vos create -server <machine name> -partition <partition name> -name <volume name>
vos examine
show information about a volume
vos examine -id <volume name or ID>
#vos examine tn.testosd tn.testosd 536900068 RW 190365038 K On-line zyklop19.ifh.de /vicepa 354 files RWrite 536900068 ROnly 536900069 Backup 536900070 MaxQuota 200000000 K, osd policy 1 Creation Thu Jun 4 13:37:30 2009 Copy Thu Jun 4 13:37:30 2009 Backup Wed Jun 24 00:20:01 2009 Last Update Fri Nov 13 11:01:03 2009 26755260 accesses in the past day (i.e., vnode references) RWrite: 536900068 number of sites -> 1 server zyklop19.ifh.de partition /vicepa RW Site
vos listobjects
list all objects on a specified osd
vos listobjects -osd <osd or policy id> -volume
vos setfields
vos setfields: change volume info fields
Usage: vos setfields -id <volume name or ID>
Other Options
clearuse |
clear dayUse |
noauth |
don't authenticate |
verbose |
verbose |
encrypt |
encrypt commands |
noresolve |
don't resolve addresses |
localauth |
use server tickets |
vos wipecand
get a list of wipe candidates on OSDs
Usage: vos wipecand -server <machine names>
# vos wipecand -server zyklop19 processing zyklop19