Originally posted by: SystemAdmin
Having an issue on new server using glvm when trying to pull missing drive back in. Servers were synced and lv's and pv's all open/sync. Repointed rpvclient to none and then moved backup server to remote site. Backup server is running only one rpvserver and its pointing to correct address on main site:
rpvserver drive is hdisk2 on backup:
-
lsattr -El rpvserver0
auto_online y Configure at System Boot True
client_addr 10.0.2.17 Client IP Address True
rpvs_pvid 00c21b557bd495bb0000000000000000 Physical Volume Identifier True
-
lsrpvserver
rpvserver0 00c21b557bd495bb hdisk2
-
lsdev -Ccrpvserver
rpvserver0 Available Remote Physical Volume Server
-
lsdev -Ccdisk
hdisk0 Available 01-08-00 SAS Disk Drive
hdisk1 Available 01-08-00 SAS Disk Drive
hdisk2 Available 01-08-00 SAS RAID 5 Disk Array
rpv is up and listening:
-
netstat -a |grep rpv
tcp 0 0 *.rpv
. LISTEN
Main site is 10.0.2.17
Looking at main site:
hdisk3 is the rpvclient
-
lsattr -El hdisk3
io_timeout 180 I/O Timeout Interval True
local_addr 10.0.2.17 Local IP Address (Network 1) True
local_addr2 none Local IP Address (Network 2) True
local_addr3 none Local IP Address (Network 3) True
local_addr4 none Local IP Address (Network 4) True
pvid 00c21b557bd495bb0000000000000000 Physical Volume Identifier True
server_addr 10.2.21.12 Server IP Address (Network 1) True
server_addr2 none Server IP Address (Network 2) True
server_addr3 none Server IP Address (Network 3) True
server_addr4 none
backup site is 10.2.21.12 and is reachable via ping and other services. rpv is in the services
-
lspv hdisk3
PHYSICAL VOLUME: hdisk3 VOLUME GROUP: datavg
PV IDENTIFIER: 00c21b557bd495bb VG IDENTIFIER 00f79fc900004c000000013b76dc921c
PV STATE: missing
STALE PARTITIONS: 82 ALLOCATABLE: yes
PP SIZE: 512 megabyte(s) LOGICAL VOLUMES: 7
TOTAL PPs: 1585 (811520 megabytes) VG DESCRIPTORS: 1
FREE PPs: 652 (333824 megabytes) HOT SPARE: no
USED PPs: 933 (477696 megabytes) MAX REQUEST: ???????
FREE DISTRIBUTION: 297..316..39..00..00
USED DISTRIBUTION: 20..01..278..317..317
MIRROR POOL: GEBack
I do a resume:
-
chdev -l hdisk3 -a resume=yes
hdisk3 changed
When I try to make it available I get:
-
chpv -v a hdisk3
/etc/chpv
26: "/dev/hd6": 0403-012 A test command parameter is not valid.
/etc/chpv
26: "/dev/hd6": 0403-012 A test command parameter is not valid.
/etc/chpv
26: "/dev/hd6": 0403-012 A test command parameter is not valid.
/etc/chpv
26: "/dev/hd6": 0403-012 A test command parameter is not valid.
/etc/chpv
26: "/dev/hd6": 0403-012 A test command parameter is not valid.
/etc/chpv
26: "/dev/hd6": 0403-012 A test command parameter is not valid.
/etc/chpv
26: "/dev/hd6": 0403-012 A test command parameter is not valid.
0516-1010 chpv: Warning, the physical volume hdisk3 has open logical
volumes. Continuing with change.
Drive remains missing. I do a varyonvg and still stays missing. Now - this drive was never in rootvg and there is nothing associated with it in rootvg and it was sync'd as of yesterday. Why is it looking at paging? lppchk -v is consistent an we updated Friday to the latest fix package for 7.1.
# instfix -i|grep AIX
All filesets for 7.1.0.0_AIX_ML were found.
All filesets for 7100-00_AIX_ML were found.
All filesets for 7100-01_AIX_ML were found.
All filesets for 7100-02_AIX_ML were found.
#lspv
hdisk0 00f79fc97e95aa66 rootvg active
hdisk1 00f79fc976a51785 rootvg active
hdisk2 00f79fc976dc907e datavg active
hdisk3 00c21b557bd495bb datavg active
-
lspv -l hdisk3
hdisk3:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
loglv00 1 1 00..01..00..00..00 N/A
usrtmp 4 4 04..00..00..00..00 /usr/tmp/sched
gmdoc 696 696 00..00..78..309..309 /gmdoc
print 16 16 16..00..00..00..00 /printermgmt
usrlocal 8 8 00..00..00..00..08 /usr/local
gpms 8 8 00..00..00..08..00 /gpms
gedata 200 200 00..00..200..00..00 /gpmsdata
#
-
lsvg -l datavg
datavg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
gpms jfs2 8 16 2 open/stale /gpms
gedata jfs2 200 400 2 open/stale /gpmsdata
print jfs2 16 32 2 open/stale /printermgmt
usrlocal jfs2 8 16 2 open/stale /usr/local
usrtmp jfs2 4 8 2 open/stale /usr/tmp/sched
gmdoc jfs2 696 1392 2 open/stale /gmdoc
loglv00 jfs2log 1 2 2 open/stale N/A
I notied that the chpv is different than our other systems on 7.1 below ML 02. I noticed that it spits out 7 lines - same number of LV's on the drive. Anyone else have this issue. Looks like the new chpv may have a parsing issue.
Thanks for any help you can give.
rschu
#AIX-Forum