The server daemon is called sheep(8). A command line utility is available via dog(8). QEMU virtual machines use the sheep daemon via a block driver available in qemu(1).
For more information, run 'dog <command> <subcommand> --help'.
Options:
-s, --snapshot specify a snapshot id or tag name
-e, --exist only check objects exist or not,
neither comparing nor repairing
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
Description:
check and repair image's consistency
Options:
-P, --prealloc preallocate all the data objects
-y, --hyper create a hyper volume
-c, --copies specify the data redundancy level
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-r, --raw raw output mode: omit headers, separate fields with
single spaces and print all sizes in decimal bytes
-v, --verbose print more information than default
-z, --block_size_shift specify the bit shift num for data object size
-T, --time show elapsed time
Description:
create an image
Options:
-s, --snapshot specify a snapshot id or tag name
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-r, --raw raw output mode: omit headers, separate fields with
single spaces and print all sizes in decimal bytes
-v, --verbose print more information than default
-T, --time show elapsed time
-R, --reduce-identical-snapshotsdo not create snapshot if working VDI doesn't have its own objects
Description:
create a snapshot
Options:
-s, --snapshot specify a snapshot id or tag name
-P, --prealloc preallocate all the data objects
-n, --no-share share nothing with its parent
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-r, --raw raw output mode: omit headers, separate fields with
single spaces and print all sizes in decimal bytes
-v, --verbose print more information than default
-T, --time show elapsed time
Description:
clone an image
Options:
-s, --snapshot specify a snapshot id or tag name
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
Description:
delete an image
Options:
-s, --snapshot specify a snapshot id or tag name
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-f, --force do operation forcibly
-r, --raw raw output mode: omit headers, separate fields with
single spaces and print all sizes in decimal bytes
-v, --verbose print more information than default
-T, --time show elapsed time
Description:
rollback to a snapshot
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-r, --raw raw output mode: omit headers, separate fields with
single spaces and print all sizes in decimal bytes
-h, --help display this help and exit
-o, --oid specify the object id of the tracking object
-T, --time show elapsed time
Description:
list images
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
Description:
show images in tree view format
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
Description:
show images in Graphviz dot format
Available subcommands:
location show object location information
map show object map information
dump-inode dump inode information
Options:
-i, --index specify the index of data objects
-s, --snapshot specify a snapshot id or tag name
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
Description:
show object information in the image
Options:
-i, --index specify the index of data objects
-s, --snapshot specify a snapshot id or tag name
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-o, --oid specify the object id of the tracking object
-T, --time show elapsed time
Description:
show the object epoch trace in the image
Options:
-d, --delete delete a key
-x, --exclusive write in an exclusive mode
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
Description:
set a VDI attribute
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
Description:
get a VDI attribute
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
Description:
resize an image
Options:
-s, --snapshot specify a snapshot id or tag name
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
Description:
read data from an image
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-w, --writeback use writeback mode
-h, --help display this help and exit
-T, --time show elapsed time
Description:
write data to an image
Options:
-s, --snapshot specify a snapshot id or tag name
-F, --from create a differential backup from the snapshot
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
Description:
create an incremental backup between two snapshots and outputs to STDOUT
Options:
-s, --snapshot specify a snapshot id or tag name
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
Description:
restore snapshot images from a backup provided in STDIN
Options:
-c, --copies specify the data redundancy level
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
-f, --force do operation forcibly
Description:
set the vdi's redundancy level
Available subcommands:
list list locked VDIs
unlock unlock locked VDI forcibly
Options:
-s, --snapshot specify a snapshot id or tag name
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
Description:
See 'dog vdi lock' for more information
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-r, --raw raw output mode: omit headers, separate fields with
single spaces and print all sizes in decimal bytes
-h, --help display this help and exit
-l, --local issue request to local node
-T, --time show elapsed time
Description:
kill node
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-r, --raw raw output mode: omit headers, separate fields with
single spaces and print all sizes in decimal bytes
-h, --help display this help and exit
-T, --time show elapsed time
Description:
list nodes
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-r, --raw raw output mode: omit headers, separate fields with
single spaces and print all sizes in decimal bytes
-h, --help display this help and exit
-T, --time show elapsed time
Description:
show information about each node
Available subcommands:
info show recovery information of nodes (default)
set-throttle set new throttling
get-throttle get current throttling
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-P, --progress show progress of recovery in the node
-r, --raw raw output mode: omit headers, separate fields with
single spaces and print all sizes in decimal bytes
-T, --time show elapsed time
Description:
show recovery information or set/get recovery speed throttling of nodes
Available subcommands:
info show multi-disk information
plug plug more disk(s) into node
unplug unplug disk(s) from node
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-r, --raw raw output mode: omit headers, separate fields with
single spaces and print all sizes in decimal bytes
-A, --all show md information of all the nodes
-f, --force ignore the confirmation
-h, --help display this help and exit
-T, --time show elapsed time
Description:
See 'dog node md' for more information
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-r, --raw raw output mode: omit headers, separate fields with
single spaces and print all sizes in decimal bytes
-w, --watch watch the stat every second
-h, --help display this help and exit
-T, --time show elapsed time
Description:
show stat information about the node
Available subcommands:
level manipulate loglevel
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
Description:
show or set log level of the node
Available subcommands:
set set new vnodes
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
Description:
set new vnodes
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
Description:
initialize store format of the node
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-r, --raw raw output mode: omit headers, separate fields with
single spaces and print all sizes in decimal bytes
-h, --help display this help and exit
-v, --verbose print more information than default
-T, --time show elapsed time
-d, --diff just output the changes between the two adjacent epochesfor cluster info
Description:
show cluster information
Options:
-b, --store specify backend store
-c, --copies specify the default data redundancy (number of copies)
-l, --lock Lock vdi to exclude multiple users
-t, --strict do not serve write request if number of nodes is not sufficient
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-z, --block_size_shift specify the shift num of default data object size
-T, --time show elapsed time
-V, --fixedvnodes disable automatic vnodes calculation
-R, --recyclevid enable recycling of VID
-f, --force do not prompt for confirmation
-F, --avoid-diskfull skip recovery if recovery process can cause disk full
Description:
create a Sheepdog store
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
Description:
stop Sheepdog
Available subcommands:
save save snapshot to localpath
list list snapshot of localpath
load load snapshot from localpath
show show vdi list from snapshot
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
-m, --multithread use multi-thread for 'cluster snapshot save'
Description:
snapshot/restore the cluster
Available subcommands:
force force recover cluster immediately
enable enable automatic recovery and run once recover if necessary
disable disable automatic recovery
Options:
-a, --address specify the daemon address (default: localhost)
-f, --force do not prompt for confirmation
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
Description:
See 'dog cluster recover' for more information
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
Description:
reweight the cluster
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
Description:
check and repair cluster
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-h, --help display this help and exit
-T, --time show elapsed time
-c, --copies specify the default data redundancy (number of copies)
-f, --force do not prompt for confirmation
Description:
set the cluster's redundancy level
Options:
-h, --help display this help and exit
-T, --time show elapsed time
-o, --orig-version version of converting file
Description:
upgrade inode object file
Options:
-h, --help display this help and exit
-T, --time show elapsed time
-o, --orig-version version of converting file
Description:
upgrade epoch log file
Options:
-a, --address specify the daemon address (default: localhost)
-p, --port specify the daemon port
-r, --raw raw output mode: omit headers, separate fields with
single spaces and print all sizes in decimal bytes
-h, --help display this help and exit
-T, --time show elapsed time
-f, --force do not prompt for confirmation
-w, --workqueue specify workqueue type
-t, --total a number of total operation (e.g. I/O request)
-n, --nr-threads a number of worker threads (only used for fixed workqueue)
Description:
benchmark I/O performance