
Using
the
migratepv
command
Use
the
following
information
as
a
guide
for
how
to
use
the
logical
volume
manager
(LVM)
migratepv
command
to
migrate
data
that
is
associated
with
physical
volumes.
You
can
use
the
LVM
migratepv
command
to
migrate
data
that
is
associated
with
physical
volumes.
The
following
examples
show
how
to
use
the
migratepv
command.
#
migratepv
hdisk1
hdisk2
#
migratepv
-l
datalv
hdisk3
hdisk9
In
the
example,
all
data
migrates
from
hdisk1
to
hdisk2
.
The
migratepv
command
updates
all
LVM
references.
From
the
time
that
the
command
completes,
the
LVM
no
longer
uses
hdisk1
to
access
data
that
was
previously
stored
there.
As
the
data
is
physically
moved,
the
target
physical
volume
must
have
enough
spare
physical
volumes
to
accommodate
data
from
the
source
physical
volumes.
After
this
command
completes,
you
can
remove
the
source-physical
volume
from
the
volume
group.
To
avoid
disrupting
users,
use
the
migratepv
command
while
the
system
is
active.
The
migratepv
command
migrates
data
by
performing
the
following
actions:
v
Creating
a
mirror
of
the
logical
volumes
that
you
are
moving
v
Synchronizing
the
logical
volumes
v
Removing
the
original
logical
volume
You
can
use
the
migratepv
command
to
move
data
from
one
physical
volume
to
another
physical
volume
within
the
same
volume
group.
The
following
usage
parameters
apply
to
this
command:
migratepv
[-i]
[-l
LVname]
SourcePV
DestinationPV...
Note:
You
can
specify
more
than
one
destination
physical
volume.
First,
identify
the
source
disk
from
which
you
want
to
migrate
the
data.
Then,
identify
the
target
disk
to
which
you
want
to
migrate
the
data.
You
can
only
migrate
to
disks
that
are
already
in
the
rootvg
volume
group.
To
get
a
list
of
disks
that
are
already
in
the
rootvg
volume
group,
run
the
lsvg
-p
rootvg
command.
The
following
example
displays
output
when
you
issue
the
lsvg
-p
rootvg
command:
#
lsvg
-p
rootvg
rootvg:
PV_NAME
PV
STATE
TOTAL
PPs
FREE
PPs
FREE
DISTRIBUTION
hdisk0
active
515
116
57..00..00..00..59
hdisk1
active
515
515
00..00..00..00..00
Now,
determine
the
space
that
is
currently
in
use
on
the
disk
that
you
want
to
migrate.
This
is
the
total
physical
partitions
(PPs)
value
minus
the
free
PPs
value
for
the
desired
disk.
In
the
preceding
example,
refer
to
hdisk0
,
which
is
using
(515
-
116)
PPs
or
399
physical
partitions.
Chapter
9.
Migrating
data
to
a
storage
unit
145
Содержание DS8000 - ADDITIONAL INFORMATION
Страница 1: ...IBM System Storage DS8000 User s Guide V ersion 1 Release 4 SC26 7915 02 ...
Страница 2: ......
Страница 3: ...IBM System Storage DS8000 User s Guide V ersion 1 Release 4 SC26 7915 02 ...
Страница 8: ...vi DS8000 User s Guide ...
Страница 10: ...viii DS8000 User s Guide ...
Страница 12: ...x DS8000 User s Guide ...
Страница 14: ...xii DS8000 User s Guide ...
Страница 26: ...xxiv DS8000 User s Guide ...
Страница 106: ...78 DS8000 User s Guide ...
Страница 168: ...140 DS8000 User s Guide ...
Страница 202: ...174 DS8000 User s Guide ...
Страница 204: ...176 DS8000 User s Guide ...
Страница 212: ...184 DS8000 User s Guide ...
Страница 242: ...214 DS8000 User s Guide ...
Страница 246: ...218 DS8000 User s Guide ...
Страница 249: ......
Страница 250: ... Printed in USA SC26 7915 02 ...