Results 1 to 8 of 8
I add a new SCSI disk to my server(Which runs Redhat Linux 9), and "cat /proc/scsi/scsi" shows the correct information, but "fdisk -l" cannot list the new disk....
- 08-29-2007 #1Just Joined!
- Join Date
- Aug 2007
- Posts
- 4
Cannot mount a new SCSI disk
I add a new SCSI disk to my server(Which runs Redhat Linux 9), and "cat /proc/scsi/scsi" shows the correct information, but "fdisk -l" cannot list the new disk.
- 08-29-2007 #2
Hii hotman_x,
Welcome to Linux Forums. Sometimes linux wont detect attached harddisks. Though just check your attach harddisk has been detected by your distro
Code:
If it shows output its ok, nxt step now you need to create device nodes for the new disk.#dmesg |grep scsi
The MAKEDEV command is used to create new device nodes.
Code:
Reboot your machine fdisk -l should show your attached HDD.#cd /dev
#MAKEDEV sdX /* Here X means your a, b or c depending how many number of Scsi Hdd you have though for i.e if attched Hdd is secondary Scsi you should put b */Regards,
who |grep -i blonde |
date; cd~; unzip; touch;
strip; finger; mount; gasp;
yes; uptime; umount;
sleep

Newbie clicks
http://www.linuxforums.org/forum/lin...ead-first.html
- 08-29-2007 #3Wow ! I didn't know about Makedev command. Thanx a lot infoshirish.
Originally Posted by infoshirish
I am reading its manual right now.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 08-29-2007 #4Just Joined!
- Join Date
- Aug 2007
- Posts
- 4
There exists a disk file /dev/sdb, but it have not attached to any true disk. Can I still use "makedev /dev/sdb"?
I cannot access my server now. I'll try it later.
Thank you, infoshirish.
- 08-29-2007 #5
Post the output of fdisk -l and cat /proc/scsi/scsi here.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 08-29-2007 #6Just Joined!
- Join Date
- Aug 2007
- Posts
- 4
- 08-30-2007 #7Just Joined!
- Join Date
- Aug 2007
- Posts
- 4
I'm sorry the MAKEDEV did not work.
Here the output:
[root@test root]# cat /proc/scsi/scsi
Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: IBM-ESXS Model: DTN073C3UCDY10FN Rev: S29C
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 02 Lun: 00
Vendor: IBM Model: DDYS-T36950M Rev: S96H
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 03 Lun: 00
Vendor: IBM-ESXS Model: ST336607LC FN Rev: B25H
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 08 Lun: 00
Vendor: IBM Model: 32P0032a S320 1 Rev: 1
Type: Processor ANSI SCSI revision: 02
[root@test root]# fdisk -l
Disk /dev/sda: 73.4 GB, 73407488000 bytes
255 heads, 63 sectors/track, 8924 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 8670 69537352+ 83 Linux
/dev/sda3 8671 8924 2040255 82 Linux swap
Disk /dev/sdc: 36.4 GB, 36401479680 bytes
254 heads, 63 sectors/track, 4442 cylinders
Units = cylinders of 16002 * 512 = 8193024 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 4442 35540410+ 83 Linux
- 08-31-2007 #8
Execute this
Post output here.Code:dmesg | grep scsi
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote

