Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hdisk1 errors

Status
Not open for further replies.

harpal

Technical User
Oct 3, 2001
115
GB
Hi,

I have noticed that our F80 has a problem with hdisk1 (rootvg) this needs to be swopped out I need advice on how best to plan for this in terms of removing old disk and installing new disk and keeping rootvg intact?

Any suggestions

Output of my errpt

root@hqax00 / >errpt
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
613E5F38 0115090804 P H LVDD I/O ERROR DETECTED BY LVM
A668F553 0115090804 P H hdisk1 DISK OPERATION ERROR
613E5F38 0115090704 P H LVDD I/O ERROR DETECTED BY LVM
A668F553 0115090704 P H hdisk1 DISK OPERATION ERROR
613E5F38 0115085604 P H LVDD I/O ERROR DETECTED BY LVM
A668F553 0115085604 P H hdisk1 DISK OPERATION ERROR
613E5F38 0115085504 P H LVDD I/O ERROR DETECTED BY LVM
A668F553 0115085504 P H hdisk1 DISK OPERATION ERROR
613E5F38 0115085204 P H LVDD I/O ERROR DETECTED BY LVM
A668F553 0115085204 P H hdisk1 DISK OPERATION ERROR
613E5F38 0115085204 P H LVDD I/O ERROR DETECTED BY LVM
A668F553 0115085204 P H hdisk1 DISK OPERATION ERROR
613E5F38 0115085204 P H LVDD I/O ERROR DETECTED BY LVM
A668F553 0115085204 P H hdisk1 DISK OPERATION ERROR
613E5F38 0115085104 P H LVDD I/O ERROR DETECTED BY LVM
A668F553 0115085104 P H hdisk1 DISK OPERATION ERROR
EAA3D429 0114082704 U S LVDD PHYSICAL PARTITION MARKED STALE
613E5F38 0114082704 P H LVDD I/O ERROR DETECTED BY LVM
A668F553 0114082704 P H hdisk1 DISK OPERATION ERROR
613E5F38 0114082604 P H LVDD I/O ERROR DETECTED BY LVM
A668F553 0114082604 P H hdisk1 DISK OPERATION ERROR
EAA3D429 0114060004 U S LVDD PHYSICAL PARTITION MARKED STALE
613E5F38 0114060004 P H LVDD I/O ERROR DETECTED BY LVM
A668F553 0114060004 P H hdisk1 DISK OPERATION ERROR
EAA3D429 0114060004 U S LVDD PHYSICAL PARTITION MARKED STALE
613E5F38 0114060004 P H LVDD I/O ERROR DETECTED BY LVM
A668F553 0114060004 P H hdisk1 DISK OPERATION ERROR
112FBB44 0107114004 T H ent0 ETHERNET NETWORK RECOVERY MODE
0D1F562A 0107114004 P S ent0 ADAPTER ERROR
112FBB44 0107113604 T H ent0 ETHERNET NETWORK RECOVERY MODE
0D1F562A 0107113604 P S ent0 ADAPTER ERROR

also is this disk likely to go bang at any time ?

Harpal

 
Is your rootvg mirrored?

If so I assume it's on hdisk0/1.

unmirrorvg rootvg hdisk1

reducevg rootvg hdisk1

rmdev -l hdisk1 -d

Replace the disk drive

cfgmgr

extendvg rootvg hdisk1

mirrorvg rootvg

make sure you have a newly created boot image

bosboot -ad /dev/hdisk1
bootlist -m normal hdisk0 hdisk1
 
Hi,

Thanks for your reply having a look @ hdisk0 and hdisk1 we do have mirroring but not @ at disk level but have certain logical volumes mirrored which might be a problem below is a lspv of both hdisk0 and hdisk1 and a lspv -l of hdisk0 and hdisk1

root@hqax00 / >lspv hdisk0
PHYSICAL VOLUME: hdisk0 VOLUME GROUP: rootvg
PV IDENTIFIER: 005587fa44fada780000000000000000 VG IDENTIFIER 005587fa44fadc0b
PV STATE: active
STALE PARTITIONS: 0 ALLOCATABLE: yes
PP SIZE: 16 megabyte(s) LOGICAL VOLUMES: 9
TOTAL PPs: 542 (8672 megabytes) VG DESCRIPTORS: 2
FREE PPs: 0 (0 megabytes)
USED PPs: 542 (8672 megabytes)
FREE DISTRIBUTION: 00..00..00..00..00
USED DISTRIBUTION: 109..108..108..108..109

root@hqax00 / >lspv hdisk1
PHYSICAL VOLUME: hdisk1 VOLUME GROUP: rootvg
PV IDENTIFIER: 005587fa422e638c0000000000000000 VG IDENTIFIER 005587fa44fadc0b
PV STATE: active
STALE PARTITIONS: 2 ALLOCATABLE: yes
PP SIZE: 16 megabyte(s) LOGICAL VOLUMES: 11
TOTAL PPs: 542 (8672 megabytes) VG DESCRIPTORS: 1
FREE PPs: 158 (2528 megabytes)
USED PPs: 384 (6144 megabytes)
FREE DISTRIBUTION: 49..00..00..00..109
USED DISTRIBUTION: 60..108..108..108..00


root@hqax00 / >lspv -l hdisk0
hdisk0:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
hd5 1 1 01..00..00..00..00 N/A
hd4 79 79 19..06..03..00..51 /
hd9var 10 10 01..00..01..00..08 /var
lv06 198 198 34..00..06..108..50 /oracle
hd2 77 77 24..00..53..00..00 /usr
hd3 32 32 30..00..02..00..00 /tmp
hd6 128 128 00..102..26..00..00 N/A
hd8 1 1 00..00..01..00..00 N/A
hd1 16 16 00..00..16..00..00 /home

root@hqax00 / >lspv -l hdisk1
hdisk1:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
hd5 1 1 01..00..00..00..00 N/A
hd4 79 79 25..00..03..51..00 /
lv06 34 34 34..00..00..00..00 /oracle
hd6 128 128 00..102..26..00..00 N/A
lv00 4 4 00..04..00..00..00 /usr/welcome_arcade
lv01 2 2 00..02..00..00..00 /usr/welcome
hd8 1 1 00..00..01..00..00 N/A
hd2 77 77 00..00..53..24..00 /usr
hd9var 10 10 00..00..01..09..00 /var
hd3 32 32 00..00..08..24..00 /tmp
hd1 16 16 00..00..16..00..00 /home


Many Thanks Harpal

 
Looks like you need to add a 3rd disk and move the lv off of hdisk1 that do not have a copy on hdisk0.

You don't have any space on hdisk0.

migratepv -l lv00 hdisk1 newhdiskN
migratepv -l lv01 hdisk1 newhdiskN

Or you could backup/restore on the new disk.
 
Thanks

I was looking more along the line of a exportvg of rootvg and then removing the hdisk1 and popping in a replacement and then importing rootvg back.

is this plasable.

Many Thanks

Harpal
 
But harpal, from the output of lspv -l hdisk0 and lspv -l hdisk1 , I dont thin you have LV mirroring of any of the
logical volumes as both the oupt showns muber of LP equal to
number of PP. I think hdisk1 was intially mirrored but is no
more a part of any king of mirror.

theycallmetim is right that either you add another disk2
to rotvg and migrate LV from hdisk1 to hdisk2 and then
remove hdisk1 or take backup of LV on tape and then remove
th disk.
 
command exportvg should probably be called rmvg, don't do that without a backup.

IBM Certified -- AIX 4.3 Obfuscation
 
The exportvg command removes all of the info about the disk from the system (ODM) but the data is still existent on the disk but can be moved to another machine where you run importvg and the info is added from the disk to the ODM on the new system.

It looks to be mirrored with the exception of /oracle and the 2 additional /usr/welcome* filesystems.

Whatever is on hdisk1 though is no longer in sync with hdisk0 because the partitions have been marked stale on hdisk1.
 
my bad ;-) not explaining properly. i blame lack of sleep.

IBM Certified -- AIX 4.3 Obfuscation
 
hi,

guy's thanks for all your input I have a successful mksysb backup of the system which is about 2 weeks old, thinking the best solution maybe to remove the hdisk1 and pop new disk in and run a mksysb. does this sound ok any ideas on this one?

regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top