Operating System - Linux
1828253 Members
2910 Online
109975 Solutions
New Discussion

how to remove failed/unmapped disk in RHEL AS 4

 
SOLVED
Go to solution
Jdamian
Respected Contributor

how to remove failed/unmapped disk in RHEL AS 4

Hi

dmesg and /var/log/messages show a lot of the following error message:

Buffer I/O error on device sdaw, logical block 0
end_request: I/O error, dev sdaw, sector 0

It always refers to device /dev/sdaw.
Powermt command reports

# powermt display dev=sdaw
Bad dev value sdaw, or not under Powerpath control

And "fdisk -l /dev/sdaw" shows nothing.

I guess that underlying LUN was unmapped.

How can I remove that failed/unmapped disk device file?

Thanx in advance
3 REPLIES 3
Michal Kapalka (mikap)
Honored Contributor

Re: how to remove failed/unmapped disk in RHEL AS 4

hi,

check the powermt command :

powermt display dev=all |more

powermt check

this should check if some HW path and disk attached are in failed state.

powermt config

powermt save

check the powermt swiches before you are start using it. ( for safety of course )

mikap
Matti_Kurkela
Honored Contributor
Solution

Re: how to remove failed/unmapped disk in RHEL AS 4

echo 1 > /sys/block/sdaw/device/delete

MK
MK
Jdamian
Respected Contributor

Re: how to remove failed/unmapped disk in RHEL AS 4

thank you