System information

Pro ced u re 25.10. Wo rkin g Aro und St ale Lo g ical U n it s
1. Determine which mpath link entries in /etc/l vm/cache/. cache are specific to
the stale logical unit. To do this, run the following command:
$ ls -l /dev/mpath | grep stale-logical-unit
Examp le 25.19 . Det ermin e sp ecif ic mpath lin k en t ries
For example, if stale-logical-unit is
3600d0230003414f30000203a7bc41a00, the following results may appear:
lrwxrwxrwx 1 root root 7 Aug 2 10:33
/3600d0230003414f30000203a7bc41a00 -> ../dm-4
lrwxrwxrwx 1 root root 7 Aug 2 10:33
/3600d0230003414f30000203a7bc41a00p1 -> ../dm-5
This means that 3600d0230003414f30000203a7bc41a00 is mapped to two
mpath links: d m-4 and d m-5.
2. Next, open /etc/l vm/cache/. cache. Delete all lines containing stale-
logical-unit and the mpath links that stale-logical-unit maps to.
Examp le 25.20. Delet e relevan t lin es
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
[7] The target_IP and port variab les refer to the IP ad d ress and p o rt co mb inatio n o f a targ et/p o rtal,
res p ectively. Fo r mo re info rmatio n, refer to Sec tio n 25.2.1, iSCSI API” and Sec tio n 25.12, Sc anning
iSCSI Interco nnec ts .
[8 ] Refer to Sec tio n 25.12, Sc anning iSCSI Interco nnects fo r info rmatio n o n proper_target_name.
[9 ] Fo r info rmatio n o n ho w to retrieve a sessio n's SID value, refer to Sectio n 25.2.1, iSCSI API .
[10 ] This is a sing le co mmand sp lit into multip le lines, to ac co mmo d ate p rinted and PDF versio ns o f
this d o cument. All c o ncatenated lines p reced ed b y the b ackslash (\) s ho uld b e treated as o ne
co mmand , sans b acks las hes .
[11] Prio r to Red Hat Enterp rise Linux 5.4, the d efault NO P-O ut req ues ts time o ut was 15 s eco nd s.
Device St at es
199