Red Hat Enterprise Linux
Procedure 4. Working Around Stale LUNs
1.
Determine which
To do this, run the following command:
ls -l /dev/mpath | grep <stale LUN>
2.
For example, if
results may appear:
lrwxrwxrwx 1 root root 7 Aug
../dm-4
lrwxrwxrwx 1 root root 7 Aug
-> ../dm-5
This means that 3600d0230003414f30000203a7bc41a00 is mapped to two
links:
and
dm-4
3.
Next, open
/etc/lvm/.cache
links that
<stale LUN>
Using the same example in the previous step, the lines you need to delete are:
/dev/dm-4
/dev/dm-5
/dev/mapper/3600d0230003414f30000203a7bc41a00
/dev/mapper/3600d0230003414f30000203a7bc41a00p1
/dev/mpath/3600d0230003414f30000203a7bc41a00
/dev/mpath/3600d0230003414f30000203a7bc41a00p1
F
feedback
contact information for this manual, 4
14
link entries in
mpath
is 3600d0230003414f30000203a7bc41a00, the following
<stale LUN>
2 10:33 /3600d0230003414f30000203a7bc41a00 ->
2 10:33 /3600d0230003414f30000203a7bc41a00p1
.
dm-5
. Delete all lines containing
maps to.
Index
are specific to the stale LUN.
/etc/lvm/.cache
<stale LUN>
mpath
and the
mpath
Need help?
Do you have a question about the ENTERPRISE LINUX - ONLINE STORAGE RECONFIGURATION GUIDE BETA and is the answer not in the manual?
Questions and answers