IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links
wiki:NebulousAdministration

Setting the state for a volume

Volumes that are up are both accessible and files will be allocated to them, volumes that are down are neither accessible nor will files be allocated to them, and volumes that are in a state of repair are accessible, but no new files will be allocated to them.

 neb-host ippXXX up
 neb-host ippXXX down
 neb-host ippXXX repair

Adding a new volume to the cluster

neb-voladd --vname ippXXX.0 --vhost ippXXX --uri file:///data/ippXXX.0/nebulous --mountpoint /data/ippXXX.0 --db nebulous --user nebulous --pass XXX
neb-voladm --vname ippXXX.0 --cab_id X --db nebulous --user nebulous --pass XXX 

Readding a volume that has lost all disks

In SQL:

 DELETE FROM mountedvol WHERE vol_id = XX;
 UPDATE volume SET name = 'oldnameX', path = 'oldpathX/nebulous', mountpoint = 'oldmountX' WHERE vol_id = XX;

Then add the remade volume as above.

Last modified 16 years ago Last modified on Apr 8, 2010, 6:46:56 PM
Note: See TracWiki for help on using the wiki.