[sheepdog-users] How to use vdi getattr

Marcin Mirosław marcin at mejor.pl
Mon Feb 3 15:32:10 CET 2014


W dniu 03.02.2014 14:49, Valerio Pachera pisze:
> Hi,
>
> dog vdi getattr --help
> Usage: dog vdi getattr [-a address] [-p port] [-h] <vdiname> <key>
> Options:
>    -a, --address           specify the daemon address (default: localhost)
>    -p, --port              specify the daemon port
>    -h, --help              display this help and exit
>
> What are the 'key' I can use?

Hi!The same as you used when you issue setattr, per analogy to 
get/setfattr on filesystem. This is something set by user not by 
sheepdog internally.
$ dog vdi setattr ttt a b
$ dog vdi getattr ttt a
b

Marcin




More information about the sheepdog-users mailing list