LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 11-03-2003, 05:01 PM   #1
LQ Newbie
Registered: Nov 2003
Posts: 4

Rep: Reputation: 0
Question 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.

Old 11-03-2003, 06:00 PM   #2
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
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 :-)
Old 11-04-2003, 08:10 AM   #3
LQ Newbie
Registered: Nov 2003
Posts: 4

Original Poster
Rep: Reputation: 0
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?
Old 11-04-2003, 09:47 AM   #4
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 620

Rep: Reputation: 30

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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cheep scsi disks berrance Linux - Hardware 0 12-06-2004 07:00 AM
mounting external disks? chunlee Linux - Newbie 1 06-12-2004 10:54 AM
mounting magneto-optical disks, external scsi drive freerangehuman Linux - Hardware 0 05-26-2004 02:11 PM
Mounting External SCSI Array After Linux has been Installed scottpioso Linux - Hardware 0 12-10-2003 04:20 PM
dualbooting from two scsi disks till Linux - General 0 02-20-2001 04:29 AM

All times are GMT -5. The time now is 03:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration