home‎ > ‎mirror‎ > ‎

func=chunk

Change the mirror status of a chunk.

usage

infx mirror func=chunk chunk offset space state [ state=o|d ]
     mirror a chunk
       required:
         chunk - the chunk
         offset - the offset into the chunk in mb
         space - the storage space name
         state - the state of the chunk o=online d=down

example

Change a chunk status to down.

demo1@bobii:/infx/inst/demo1>infx mirror func=chunk space=mtest chunk=mtest.002 offset=0 state=d

onspaces -s mtest -p /infx/inst/demo1/chks/mtest.002 -o 0 -D -y
Chunk status successfully changed.