Differences between revisions 1 and 13 (spanning 12 versions)
Revision 1 as of 2009-08-18 15:18:18
Size: 174
Comment: todo
Revision 13 as of 2009-11-13 13:32:05
Size: 3396
Editor: ReneStandke
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:

Line 6: Line 8:
gives a list of fids which need an archval copy
Line 7: Line 10:


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 ||
Line 8: Line 93:
creates a new volume

Usage:
vos create -server <machine name> -partition <partition name> -name <volume name>
Line 10: Line 100:
show information about a volume
Line 11: Line 102:
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

}}}
Line 12: Line 122:
list all objects on a specified osd

vos listobjects -osd <osd or policy id>
Line 14: 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 16: Line 142:
get a list of wipe candidates on OSDs

Usage:
vos wipecand -server <machine names>+

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>+

AfsOsd/UsageInstructions/VosSubcommands (last edited 2010-03-17 12:18:33 by ReneStandke)