Thursday, September 21, 2017

SRDF command



how to check srdf relation and how to break it.

To check the srdf group number -
symrdf -sid 589 list

Create file srdf_devs mentioning the device pair -
vi srdf_devs

Split the srdf pair -
symrdf -sid 589 -rdfg 11 -file   srdf_devs split

Delete the pair -

symrdf -sid 589 -rdfg 11 -f srdf_devs deletepair -force

Wednesday, March 1, 2017

VI editor command

How to create file

1. vi <filename>
2. press i
type context
"ravi is great person"
3. press escape
4. type      :wq!
5. press enter

How to read file

type cat <filename>