This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
решение_gmirror_ggate [2010/02/27 12:34] val |
решение_gmirror_ggate [2010/04/07 12:00] val |
||
---|---|---|---|
Line 9: | Line 9: | ||
[gate1:~] # cat /etc/hosts | [gate1:~] # cat /etc/hosts | ||
... | ... | ||
- | 10.0.0.1 master | ||
10.0.0.2 slave | 10.0.0.2 slave | ||
+ | ... | ||
[gate2:~] # cat /etc/hosts | [gate2:~] # cat /etc/hosts | ||
... | ... | ||
- | 10.0.0.2 master | ||
10.0.0.1 slave | 10.0.0.1 slave | ||
+ | ... | ||
[gateN:~] # fdisk -BI ad1 | [gateN:~] # fdisk -BI ad1 | ||
Line 77: | Line 77: | ||
[gate1:~] # ggated | [gate1:~] # ggated | ||
+ | [gate2:~] # killall ggated | ||
[gate2:~] # gmirror load | [gate2:~] # gmirror load | ||
- | [gate2:~] # gmirror status | ||
[gate2:~] # gmirror label -v gm0 /dev/ad1s1e | [gate2:~] # gmirror label -v gm0 /dev/ad1s1e | ||
+ | [gate2:~] # gmirror status | ||
[gate2:~] # fsck -y -t ufs /dev/mirror/gm0 | [gate2:~] # fsck -y -t ufs /dev/mirror/gm0 | ||
[gate2:~] # mount /dev/mirror/gm0 /opt | [gate2:~] # mount /dev/mirror/gm0 /opt |