IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 3 and Version 4 of Nebulous_Notes


Ignore:
Timestamp:
Oct 8, 2010, 12:05:52 PM (16 years ago)
Author:
watersc1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Nebulous_Notes

    v3 v4  
    1717
    1818
     19=== Removing a host from nebulous permanently ===
     20
     21If the RAID fails on the data partition and we lose the data from that partition, we need to do the following in the nebulous database:
     22
     23 1. Remove the entry in the {{{mountedvol}}} table (should be auto-removed by {{{nebdiskd}}}):
     24   * {{{DELETE FROM mountedvol WHERE vol_id = XX;}}}
     25 1. Convert the entry in the {{{volume}}} table to point to a dummy location:
     26   * {{{UPDATE volume SET name = 'ippNNN.0X', path = '/data/ippNNN.0X/nebulous', mountpoint = '/data/ippNNN.0X' WHERE vol_id = XX;}}
     27 1. Add the new volume:
     28   * {{{neb-voladd --vname ippXXX.0 --vhost ippXXX --uri file:///data/ippXXX.0/nebulous --mountpoint /data/ippXXX.0 --db nebulous --user nebulous --pass XXX}}}
     29   * {{{neb-voladm --vname ippXXX.0 --cab_id X --db nebulous --user nebulous --pass XXX}}}