Dm devices not created while scanning

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Dm devices not created while scanning
# 1  
Old 03-19-2014
Dm devices not created while scanning

Hello,
I have Red Hat 5.7 running on HP hardware box. All file systems (except root) are in LVM. I have to create a new file-system and Storage team allocated 8 luns to this server. I scanned them on OS level with below command
Code:
for x in {0..9}; do echo '- - -' > /sys/class/scsi_host/host$x/scan; done

When I checked in inq, I can only see sd device, it means OS is able to see new devices. But dm devices are not created
Code:
[root@plsas_fin ~]# inq -nodots | egrep -i "0FBB|0FBC|0FBD|0FBE|0FBF|0FC0|0FC1|0FC2"
/dev/sdac  :EMC     :SYMMETRIX       :5874  :0800fbb000 :     9144000
/dev/sdad  :EMC     :SYMMETRIX       :5874  :0800fbc000 :     9144000
/dev/sdae  :EMC     :SYMMETRIX       :5874  :0800fbd000 :     9144000
/dev/sdaf  :EMC     :SYMMETRIX       :5874  :0800fbe000 :     9144000
/dev/sdag  :EMC     :SYMMETRIX       :5874  :0800fbf000 :     9144000
/dev/sdah  :EMC     :SYMMETRIX       :5874  :0800fc0000 :     9144000
/dev/sdai  :EMC     :SYMMETRIX       :5874  :0800fc1000 :     9144000
/dev/sdaj  :EMC     :SYMMETRIX       :5874  :0800fc2000 :     9144000
/dev/sdak  :EMC     :SYMMETRIX       :5874  :0800fbb000 :     9144000
/dev/sdal  :EMC     :SYMMETRIX       :5874  :0800fbc000 :     9144000
/dev/sdam  :EMC     :SYMMETRIX       :5874  :0800fbd000 :     9144000
/dev/sdan  :EMC     :SYMMETRIX       :5874  :0800fbe000 :     9144000
/dev/sdao  :EMC     :SYMMETRIX       :5874  :0800fbf000 :     9144000
/dev/sdap  :EMC     :SYMMETRIX       :5874  :0800fc0000 :     9144000
/dev/sdaq  :EMC     :SYMMETRIX       :5874  :0800fc1000 :     9144000
/dev/sdar  :EMC     :SYMMETRIX       :5874  :0800fc2000 :     9144000

When I scan devices, I see below errors in /var/adm/messages
Code:
Mar 18 22:35:40 plsas_fin kernel: ata1: hard resetting link
Mar 18 22:35:41 plsas_fin kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Mar 18 22:35:41 plsas_fin kernel: ata1.00: configured for UDMA/100
Mar 18 22:35:41 plsas_fin kernel: ata1: EH complete
Mar 18 22:35:41 plsas_fin kernel: ata2: hard resetting link
Mar 18 22:35:41 plsas_fin kernel: ata2: SATA link down (SStatus 4 SControl 300)
Mar 18 22:35:41 plsas_fin kernel: ata2: EH complete

I can not see new devices in "multipath -ll". Did anybody faced this kind of issue or anybody can give some pointer ? It is production box, so reboot is not a option with me, unless that is last resort.
-------------------------------------------------------------
Seems like somebody removed few devices improperly and that left some unusable entries in /dev. I had to run multipath -F and that flushes and fixed the issue.

Last edited by solaris_1977; 03-20-2014 at 02:09 AM.. Reason: Issue resolved
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

scanning the file for a particular column

I have a file containing 4 columns. need to scan that file, if all the rows in the column4 have a value ZERO, it should print "everything is fine". And if all are not ZERO , at the first encounter of non ZERO value of 4th column it should print "some problem " may be a silly question, but at... (11 Replies)
Discussion started by: gotam
11 Replies

2. UNIX for Dummies Questions & Answers

passthrough devices vs. named devices

I am having trouble understanding the difference between a passthrough device and a named device and when you would use one or the other to access equipment. As an example, we have a tape library and giving the command "camcontrol devlist" gives the following output: akx# camcontrol... (1 Reply)
Discussion started by: thumper
1 Replies

3. Solaris

virus scanning options?

we have a mjial server running on solaris 9. we have about 10K attachment a day that we need to scan for virus type things. in the past we have been using Mcafee. problem is that since the new 5.10 version we find it is running too slow. the question is what AV products are can run on... (0 Replies)
Discussion started by: robsonde
0 Replies

4. UNIX for Advanced & Expert Users

Scanning file backwards

Is there any way to look for a directory path that is listed any number of lines *before* a keyword in an error message? I have a script that is trying to process different files that are always down a certain portion of a path, and if there is an error, then says there is an error, contact... (2 Replies)
Discussion started by: tekster757
2 Replies

5. Solaris

Paging without Scanning

Trying to reach a formula on Solaris 9 for calculating the Memory utilization percentage, i have encountered a lot of indicators and metrices, however i have faced a case today which confused me. How to get a Zero Scan Rate along an hour whilst the Paging activity (Pages IN & Pages Out) are not... (4 Replies)
Discussion started by: Negm
4 Replies

6. Shell Programming and Scripting

scanning for '0' value in .txt file

Hello I am a novice shell scripting programmer, so please bare with me. I have embedded a simple SQL statement into a shell script, which simply returns an integer (its a count (*) statement). The result of the statement is then oputput to .txt file. So, the number could be 0, 1,2, 10,... (4 Replies)
Discussion started by: man80
4 Replies

7. UNIX for Dummies Questions & Answers

scanning empty directories

Hi, I want to produce a text file representing a list of empty directories on a unix system starting from a specified directory. I hope I explained well my problem. Thanks in advance. (7 Replies)
Discussion started by: N065956BM
7 Replies

8. UNIX for Dummies Questions & Answers

-Computer hangs when scanning ports-

Hi everyone, I 've just installed Mandrake Linux v8.0 and everything worked fine untill, i think after having booted from Windows 2000, my computer 'hangs' at the pixelated pinguin startup screen and displays something like: Winbond Super Something Now scanning ports: 3f0 2f8 320 110 ... (3 Replies)
Discussion started by: Phaelanx
3 Replies
Login or Register to Ask a Question