Krzysztof
W.
Technical Project
Manager, Capgemini
Polska
Temat: Rezygnacja ze stripe
Witam.Pytanie z poziomu LVM, ale z innej beczki niz poprzednie na forum.
Jest sobie system na ktorym jest grupa vg00 zawierajaca dwa wolumeny fizyczne. Zostaly zalozone wolumeny logiczne jednak uzyto opcji -i oraz -I w celu zalozenia stripe (Stripes: 2).
Sytuacja wyglada tak:
# lvdisplay -v /dev/vg00/lvol4
--- Logical volumes ---
LV Name /dev/vg00/lvol4
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule striped
LV Size (Mbytes) 64
Current LE 8
Allocated PE 8
Stripes 2
Stripe Size (Kbytes) 8
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c3t6d0 4 4
/dev/dsk/c3t5d0 4 4
--- Logical extents ---
LE PV1 PE1 Status 1
00000 /dev/dsk/c3t6d0 00544 current
00001 /dev/dsk/c3t5d0 00000 current
00002 /dev/dsk/c3t6d0 00545 current
00003 /dev/dsk/c3t5d0 00001 current
00004 /dev/dsk/c3t6d0 00546 current
00005 /dev/dsk/c3t5d0 00002 current
00006 /dev/dsk/c3t6d0 00547 current
00007 /dev/dsk/c3t5d0 00003 current
Jak widac extenty sa rozlozone po obu dyskach. Mam zamiar przeniesc teraz fizyczne extenty na jeden z dyskow, w sensie pozbyt sie stripe. Chce wykonac pvmove:
# pvmove -n /dev/vg00/lvol4 /dev/dsk/c3t5d0
Operation cannot be performed because some of the data on the physical volume
is striped and striped mirroring is not supported. To enable data transfer for
a physical volume through mirroring/reduction, do not specify the striping
options (-i, -I) when creating logical volumes on that physical volume.
Ktos ma pomysl jak zmigrowac ten wolumen na jeden PV i pozbyc sie stripe?
Uzywam HP-UX 11.11 bez MirrorDisk/UX.
Pozdrawiam,
KW