LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-09-2008, 03:11 PM   #1
erinduffy
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Rep: Reputation: 0
Missing something where mounting an external scsi drive on SUSE 10.3


Hello. I am a Linux neophyte.

I have a hefty external SCSI drive (1TB) that I wish to connect to a Linux box running SUSE 10.3. I am using an Adaptec 29160 card for the connection. This card is recognized, as shown in the relevant clip from lspci:

03:00.0 SCSI storage controller: Adaptec AIC-7892A U160/m (rev 02)

The first few lines of /proc/scsi/aic7xxx/7 are:

Adaptec AIC7xxx driver version: 7.0
Adaptec 29160 Ultra160 SCSI adapter
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
Allocated SCBs: 4, SG List Length: 128

OK, but now I am stumped. What is the device name for the external SCSI drive, and how do I thus mount?

I'll appreciate any help. Thank you in advance.
 
Old 03-09-2008, 03:30 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
If you type the command as root ' /sbin/fdisk -l ' you can see drives the system has and partitions with their device block IDs.

Then ou use the mount command. Type ' man mount ' to learn the many options the basics for say a vfat partition on say /deb/sdb and first partition /dev/sdb1. You also will need a directory to mount to as well like /mnt/sdb1.
mount -t vfat /dev/sdb1 /mnt/sdb1

For say an ext2 partition.
mount -t ext2 /dev/sdb1 /mnt/sdb1

Brian
 
Old 03-09-2008, 03:36 PM   #3
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Device names for SCSI drives go /dev/sda, /dev/sdb, /dev/sdc etc... for drives 1, 2, 3 etc... respectively.

Typically you mount partitions of a drive. The drive partitions are numbers appended to the name e.g. /dev/sda1, /dev/sda2, /dev/sda3 would be 3 partitions on the first drive whereas /dev/sdc1 and /dev/sdc2 would be 2 partitions on the third drive.

There are many tools for partitioning drives. The most common available is "fdisk". Typing "fdisk -l" should show you all drives and the partitions they have. Doing "fdisk /dev/sdb" would put you into a screen to modify partitions on the second drive.

In Linux you can format a partition by putting a filesystem on it then mount that that. The mkfs command is used for doing the filesystem creation.

Alternatively you could create a meta disk (software RAID) out of multiple disks or partitions or a Logical Volume Manager (LVM) volume group (VG) to make what appears to be one large volume (logical disk) that can split into logical volumes (LVs) which are like logical partitions of the logical disk.

You can get more information on most Linux commands by typing:
"man <command>"
-OR-
"info <command>".
Usually info will give you what man would as well as any additional information if someone wrote an info page for it. (Most commands have man - not all have info.)
 
Old 03-09-2008, 05:34 PM   #4
erinduffy
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Original Poster
Rep: Reputation: 0
more information

Hi again - Thanks both to Brian and to JLightner. So, I guess I forgot to mention that -- though the scsi controller is recognized -- it doesn't appear that it actually recognizes the disk! So, when I do something like "fdisk -l", I learn about /dev/sda, which is for the first internal seagate scsi drive, and /dev/sdb, which is for the second internal seagate scsi drive. I would assume, then, that /dev/sdc would be for the scsi drive I've connected to the adaptec card, but... Also, on boot, though again it recognizes the card it doesn't recognize the drive. I know I'm likely missing something very, very fundamental, but what is it? Again, I appreciate your help. -Erin
 
Old 03-09-2008, 07:01 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Does the controller recognize the drive during the controller's boot scan (If so enabled)? If not then it probably is a hardware issue.
The drive must be powered on prior to booting the computer.
The drives bus terminator switch should enabled if it is the only external device or the last in the chain?
All of the drives both internal and external must have a unique ID 0-15 not including 7 which is the default controller ID number.

How many drives are actually connected to the SCSI controller? It sounds like only one?
 
Old 03-10-2008, 09:06 AM   #6
erinduffy
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Original Poster
Rep: Reputation: 0
blasted cable

Hi - So, it turns out that the cable wasn't working properly. Having scrounged a new one from our "stuff" room, I can now see the drive. I guess I'm off to the races. Thanks for all the hand-holding. -Erin
 
Old 03-10-2008, 04:37 PM   #7
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Sounded like a termination issue or wrong cable for the type of scsi interface. Scsi can be a pain with mix modes and stuff.

Brian
 
  


Reply



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
External USB Hard Drive Mounting Problem with SuSe Linux 9.0 des_a Linux - Distributions 6 03-22-2007 10:08 PM
mounting magneto-optical disks, external scsi drive freerangehuman Linux - Hardware 0 05-26-2004 01:11 PM
Hanging Suse mounting external USB drive with RH9 on it ohagankh Linux - Hardware 3 04-13-2004 04:42 PM
Mounting External SCSI Array After Linux has been Installed scottpioso Linux - Hardware 0 12-10-2003 03:20 PM
Mounting external SCSI disks tdstrite Red Hat 3 11-04-2003 08:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:58 PM.

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