Hi folks,
$ lspv hdisk1
PHYSICAL VOLUME: hdisk1 VOLUME GROUP: oracledata
PV IDENTIFIER: 00016001e0441e02 VG IDENTIFIER 000160016f674e9d
PV STATE: active
STALE PARTITIONS: 0 ALLOCATABLE: yes
PP SIZE: 64 megabyte(s) LOGICAL VOLUMES: 2
TOTAL PPs: 135 (8640 megabytes) VG DESCRIPTORS: 2
FREE PPs: 116 (7424 megabytes)
USED PPs: 19 (1216 megabytes)
FREE DISTRIBUTION: 27..08..27..27..27
USED DISTRIBUTION: 00..19..00..00..00
If you look at this there are 166 PP's free @ 64Mb each = 7.5Mb (Approx) still free on this harddisk that hasn't been allocated as yet. My df shows
/dev/lv00 20054016 363768 99% 19148 1% /opt
So opt appears to still have about 9.5Gb space allocated though, which correctly means that I am not using the full amount of both of the hard disks here (just over 1 is allocated). I could increase the number of PP's to add extra space. You've got 116 free at 64mb each = 7.25 mb.
$ lspv hdisk2
PHYSICAL VOLUME: hdisk2 VOLUME GROUP: oracledata
PV IDENTIFIER: 000160016f32d004 VG IDENTIFIER 000160016f674e9d
PV STATE: active
STALE PARTITIONS: 0 ALLOCATABLE: yes
PP SIZE: 64 megabyte(s) LOGICAL VOLUMES: 1
TOTAL PPs: 135 (8640 megabytes) VG DESCRIPTORS: 1
FREE PPs: 0 (0 megabytes)
USED PPs: 135 (8640 megabytes)
FREE DISTRIBUTION: 00..00..00..00..00
USED DISTRIBUTION: 27..27..27..27..27
This disk appears to be used looking at the all free PP being used.
$ lspv -l hdisk1
hdisk1:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
loglv00 1 1 00..01..00..00..00 N/A
lv00 18 18 00..18..00..00..00 /opt
$ lspv -l hdisk2
hdisk2:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
lv00 135 135 27..27..27..27..27 /opt
$ lslv lv00
LOGICAL VOLUME: lv00 VOLUME GROUP: oracledata
LV IDENTIFIER: 000160016f674e9d.2 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs WRITE VERIFY: off
MAX LPs: 512 PP SIZE: 64 megabyte(s)
COPIES: 1 SCHED POLICY: parallel
LPs: 153 PPs: 153
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 32
MOUNT POINT: /opt LABEL: /opt
MIRROR WRITE CONSISTENCY: on
EACH LP COPY ON A SEPARATE PV ?: yes
Or was the fact that the /opt filesystem was only copied across two disks?
I am a bit confused here, should I run the following command to mirror the LV00 onto hdisk1?
i.e.
mklvcopy LV00 2 hdisk1 (is that correct?)
Thanking you all in advance
Regards
Katherine
$ lspv hdisk1
PHYSICAL VOLUME: hdisk1 VOLUME GROUP: oracledata
PV IDENTIFIER: 00016001e0441e02 VG IDENTIFIER 000160016f674e9d
PV STATE: active
STALE PARTITIONS: 0 ALLOCATABLE: yes
PP SIZE: 64 megabyte(s) LOGICAL VOLUMES: 2
TOTAL PPs: 135 (8640 megabytes) VG DESCRIPTORS: 2
FREE PPs: 116 (7424 megabytes)
USED PPs: 19 (1216 megabytes)
FREE DISTRIBUTION: 27..08..27..27..27
USED DISTRIBUTION: 00..19..00..00..00
If you look at this there are 166 PP's free @ 64Mb each = 7.5Mb (Approx) still free on this harddisk that hasn't been allocated as yet. My df shows
/dev/lv00 20054016 363768 99% 19148 1% /opt
So opt appears to still have about 9.5Gb space allocated though, which correctly means that I am not using the full amount of both of the hard disks here (just over 1 is allocated). I could increase the number of PP's to add extra space. You've got 116 free at 64mb each = 7.25 mb.
$ lspv hdisk2
PHYSICAL VOLUME: hdisk2 VOLUME GROUP: oracledata
PV IDENTIFIER: 000160016f32d004 VG IDENTIFIER 000160016f674e9d
PV STATE: active
STALE PARTITIONS: 0 ALLOCATABLE: yes
PP SIZE: 64 megabyte(s) LOGICAL VOLUMES: 1
TOTAL PPs: 135 (8640 megabytes) VG DESCRIPTORS: 1
FREE PPs: 0 (0 megabytes)
USED PPs: 135 (8640 megabytes)
FREE DISTRIBUTION: 00..00..00..00..00
USED DISTRIBUTION: 27..27..27..27..27
This disk appears to be used looking at the all free PP being used.
$ lspv -l hdisk1
hdisk1:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
loglv00 1 1 00..01..00..00..00 N/A
lv00 18 18 00..18..00..00..00 /opt
$ lspv -l hdisk2
hdisk2:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
lv00 135 135 27..27..27..27..27 /opt
$ lslv lv00
LOGICAL VOLUME: lv00 VOLUME GROUP: oracledata
LV IDENTIFIER: 000160016f674e9d.2 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs WRITE VERIFY: off
MAX LPs: 512 PP SIZE: 64 megabyte(s)
COPIES: 1 SCHED POLICY: parallel
LPs: 153 PPs: 153
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 32
MOUNT POINT: /opt LABEL: /opt
MIRROR WRITE CONSISTENCY: on
EACH LP COPY ON A SEPARATE PV ?: yes
Or was the fact that the /opt filesystem was only copied across two disks?
I am a bit confused here, should I run the following command to mirror the LV00 onto hdisk1?
i.e.
mklvcopy LV00 2 hdisk1 (is that correct?)
Thanking you all in advance
Regards
Katherine