- 论坛徽章:
- 0
|
东方蜘蛛 发表于 2012-06-19 16:08 ![]()
可以用下面命令修改:
vxmend fix empty plex
vxmend fix clean plex
蜘蛛大侠,非常感谢您的支持。
我用的是VxVM 3.2,会不会有些不同版本的命令不一样?查了man手册,对部分命令还有一些疑问,盼解答。
1、手册中提到vxmend fix都需要“The associated volume must be disabled”,我的vol现在都是enable状态,而且业务暂时也不能停;
2、手册中只有vxmend fix empty volume,没有vxmend fix empty plex
fix The fsgen and gen usage types support the follow-
ing vxmend fix operations:
vxmend fix active plex
Sets the state for the named plex to
ACTIVE. The state for the volume is set
to SYNC. The associated volume must be
disabled, and the named plex must be in
the STALE state.
When starting a volume in the SYNC
state, all ACTIVE plexes are enabled and
are synchronized to have the same con-
tents using a special read/write-back
recovery mode. Any STALE plexes are
then recovered by copying data from the
ACTIVE plexes.
vxmend fix clean plex
Sets the state for the named plex to
CLEAN. The associated volume must be
disabled, the named plex must be in the
STALE state, and the volume must have no
additional plexes in the CLEAN state.
A volume is not startable if one plex is
in the CLEAN state and some plexes are
in the ACTIVE state. Thus, several
vxmend fix operations are normally used
in conjunction to set all plexes in a
volume to STALE and then to set one plex
to CLEAN. A volume start operation will
then enable the CLEAN plex and recover
the STALE plexes by copying data from
the one CLEAN plex.
vxmend fix empty volume
Sets the named volume and all of its
VxVM 3.2 Last change: 31 Jul 2001 5
Maintenance Commands vxmend(1M)
associated plexes to the EMPTY state.
The volume can then be re-initialized
using vxvol start or any of the vxvol
init operations. This operation
requires that the volume be disabled.
vxmend fix stale plex
Sets the state for the named plex to
STALE. The associated volume must be
disabled, and the named plex must be
ACTIVE or CLEAN. This operation names
plexes that will be recovered by copying
data from other plexes by a vxvol start
operation.
|
|