Size: 2270
Comment:
|
Size: 3396
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 66: | Line 66: |
{{{ }}} | |
Line 73: | Line 73: |
{{{ }}} | gather file statistic from server Usage: vos traverse -server <machine names> |
Line 75: | Line 79: |
{{{ }}} | 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> |
Line 77: | Line 85: |
{{{ }}} | 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> |
Line 80: | Line 99: |
== vos examine == show information about a volume |
|
Line 81: | Line 102: |
== vos create == {{{ }}} == vos examine == |
vos examine -id <volume name or ID> |
Line 104: | Line 122: |
{{{ }}} | list all objects on a specified osd vos listobjects -osd <osd or policy id> |
Line 106: | Line 127: |
{{{ }}} | 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 || |
Line 108: | Line 142: |
{{{ }}} | get a list of wipe candidates on OSDs Usage: vos wipecand -server <machine names>+ |
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>
vos salvage
RPC failed with code 1492325127
vos traverse
gather file statistic from server
Usage: vos traverse -server <machine names>
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>
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>+