LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Mounting external SCSI disks (https://www.linuxquestions.org/questions/red-hat-31/mounting-external-scsi-disks-111983/)

tdstrite 11-03-2003 04:01 PM

Mounting external SCSI disks
 
I have two external SCSI disks attached to a server running Advanced Server 2.1, and need to know how to get the system to recognize these disks. On Solaris, I would do a drvconfig; disks, then format, then newfs the disks. What would be the equivilent series of Linux commands to do the same thing.

Thanks!

AltF4 11-03-2003 05:00 PM

1) load your SCSI host adapter driver (unless already loaded or compiled into your kernel)
2) your devices should be visible now as /dev/sda (1st SCSI disk), /dev/sdb, /dev/sdc, etc.
3) fdisk /dev/sda (or sdb, sdc, etc) and create partitions (man fdisk)
4) mke2fs -j /dev/sda1 , mkreiserfs, whatever ... (man mkfs)
5) mount /dev/sda1 /media/disk1
6) enjoy :-)

tdstrite 11-04-2003 07:10 AM

Thanks, AltF4. The SCSI host adapter is loaded (verified by dmesg), however, fdisk still does not see them (fdisk /dev/sda results in 'Unable to open /dev/sda'). Same thing for sdb, sdc, ... etc. And yes, the disks are powered on and connected properly to the machine. Any ideas?

aqoliveira 11-04-2003 08:47 AM

howzit

I had similar problem try to ID if it? really /dev/sda couls be something else try using this cmd cdrecord --scanbus this will show all scsi devices and what name was associated with it. Also Just try fdisk -l this will list all devices on the box.

chow


All times are GMT -5. The time now is 09:49 PM.