"Unable to Detect Newly added HDD - Redhat 5"

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat "Unable to Detect Newly added HDD - Redhat 5"
# 1  
Old 11-09-2016
"Unable to Detect Newly added HDD - Redhat 5"

Hi Folks,
I am unable to detected newly added HDD in my redhat-5 OS.
I am expecting to get /dev/sdb.

Following are the utilized commands or syntax.

Code:
root@hostname% cat /etc/redhat-release
Red Hat Enterprise Linux Client release 5.4 (Tikanga)

Code:
echo "- - -" > /sys/class/scsi_host/host0/scan

Code:
% dmesg | grep -i hd
SCSI device sda: 1951170560 512-byte hdwr sectors (998999 MB)
SCSI device sda: 1951170560 512-byte hdwr sectors (998999 MB)

Code:
root@hostname% fdisk -l

Disk /dev/sda: 998.9 GB, 998999326720 bytes
255 heads, 63 sectors/track, 121454 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        1288    10241437+  83  Linux
/dev/sda3            1289       20410   153597465   83  Linux
/dev/sda4           20411      121454   811635930    5  Extended
/dev/sda5           20411       21685    10241406   83  Linux
/dev/sda6           21686       22960    10241406   83  Linux
/dev/sda7           22961       23441     3863601   82  Linux swap / Solaris

Code:
root@hostname% cat /proc/partitions
major minor  #blocks  name

   8     0  975585280 sda
   8     1     104391 sda1
   8     2   10241437 sda2
   8     3  153597465 sda3
   8     4          1 sda4
   8     5   10241406 sda5
   8     6   10241406 sda6
   8     7    3863601 sda7

Even tried installing sg3_utils, but no use.

Code:
root@hostname% /usr/bin/rescan-scsi-bus.sh -c
Host adapter 0 (megaraid_sas) found.
Scanning SCSI subsystem for new devices
Scanning host 0 channels 0 1 for  SCSI target IDs  0 1 2 3 4 5 6 7, all LUNs
0 new device(s) found.
0 device(s) removed.

Please share your inputs.

Thanks
Sricharan
This User Gave Thanks to Sricharan21 For This Post:
# 2  
Old 11-09-2016
What sort of hard drive is it? What is it plugged into? How did you add it? What is your machine?
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

2. Red Hat

Partitioning newly added disk to Redhat

Hi Everyone, I have added new Virtual disk to OS. The main point is I need to bring this whole Disk into LVM control, is it necessary to partition the disk using fdisk command and assign partition type as '8e', or can I directly add that disk into LVM, by running pvcreate command with out... (2 Replies)
Discussion started by: bobby320
2 Replies

3. Red Hat

Redhat 5 can't see my newly added LUN.

hi all, i have added new LUN to Redhat 5. i have already scanned LUN devices and it is confirmed that Kernel sees the newly added LUN's. i have used /proc/partitions and verified that my disks are there. However, i cannot find my disk using fdisk -l command. I am not sure what did i... (2 Replies)
Discussion started by: gisu0602
2 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. Red Hat

"if" and "then" statement is not working in RedHat

Dear experts, I'm trying to write a script to calculate the usage of Log Archive in a directory, so if it gets to a point where the directory size is 60%, then send out an FYI.. email. So if then it reaches to 80%, move the logs from that directory. I have written the script as follow but... (10 Replies)
Discussion started by: Afi_Linux
10 Replies

6. AIX

Aix5.3 "freeze" when mounting newly created fs

Hello, When I tried to mount /appli21 with smit, the terminal "freezed" (ssh connection still active but always showing the same window, no new telnel or ssh connection allowed) and I had to have the machine restarted to be able to connect again. my volum group datavg: VOLUME GROUP: datavg... (8 Replies)
Discussion started by: farmer
8 Replies

7. SuSE

VMDB Failure" followed by "Unable to open snapshot file"

keep getting an error when I try to revert to a snapshot: "VMDB Failure" followed by "Unable to open snapshot file" Im using vmware server 1.0.4, host OS is windows xp and guest OS is SLES. Is there anything I can do to recover the snapshot or am I in trouble!?!?! (0 Replies)
Discussion started by: s_linux
0 Replies

8. UNIX for Dummies Questions & Answers

extran NUll character added after end of line "\n"

Hi All, I am facing a strange situation and want to find why it is occuring . When i convert the whole line into Hexadecimal character i can find the junk value after new line (\n) . If i look in binary mode it is not visible. PLease let me know how possible the junk character is added... (1 Reply)
Discussion started by: arunkumar_mca
1 Replies
Login or Register to Ask a Question