LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-07-2004, 12:46 PM   #1
KePSuX
Member
 
Registered: Nov 2002
Location: Fredericksburg Va
Distribution: Gentoo
Posts: 59

Rep: Reputation: 15
Mounting various SCSI devices


Ok, this is a really obscure set of questions.

Background:
I have an Intel Dual Xeon SE7525GP2 motherbord running Fedora. The purpose of this machine is Data acquisition for various law enforcement organizations. In addition to the normal IDE and SATA channels on the system it has a Adaptec Ultra133 card along with a Adaptec 293020 SCSI card. These cards are run into removable harddrive bays. Four bays for various IDE devices and two for the SCSI line.

Question 1-
The system boots off an internal SATA harddrive without a hitch, until one of the other drives is introduced to the system via the removable bays. It stops booting even before the Kernel starts to load, which makes me assume the system has reallocated the devices in /dev and my /boot/ partition is no longer located at /dev/sda1 as it should be. How can I tell the system that no matter what happens or is introduced to it that my internal SATA drive *must* be /dev/sda ?

Question 2-
If I can get the system to boot properly with extra devices hooked to it, is there a good way to manage the constantly changing file systems/number of drives/types of drives that will be introduced to it? Ideally it would be nice for the system to just boot and detect what lines have drives. From there determine what file system is on the disc and mount it onto an easy to access mount point.

Question 3- Just to make things more confusing, it has a USB based memory stick reader and will need to mount a USB keychain at certain times. Is there a utility that will tell me what device in /dev an item is being detected on so I can manually mount it if needed? Fedora has about a billion entries in /dev and with this many devices that could be names the same thing it makes it very hard to determine which device is where.

I realize this will end in the fstab from hell, but any pointers or help anyone can throw me would be awesome.
 
Old 10-08-2004, 03:11 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
1. use a boot disk OR check to make sure only your boot and root partitions are auto mounted.
2. you should be able to setup your fstab to contain the random drives, just set them to not auto mount and then you can mount/unmount when you want.
3. Check out this page for your USB drive:
http://www.extremetech.com/article2/...1256766,00.asp
 
Old 10-08-2004, 05:05 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 18,087

Rep: Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507Reputation: 2507
To summarize your problem...

As I see it the OS will load the SCSI modules before the SATA modules so your SCSI drives will be assigned first. And the first recognized disk will be sda, the next sdb and so on. The same thing goes for your USB drive. It will be assigned a /dev/sdx when the modules are loaded in the boot sequence and assigned a sdx.

I only have a rudementary understanding of all of this... There might be a way to change the order using the scsihosts boot parameter using grub.

http://www.linuxpowered.com/LDP/HOWT...mlbparams.html
http://www.ibiblio.org/pub/Linux/doc...-2.4-HOWTO.pdf
 
  


Reply


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
SCSI tape devices sbalasuriya Linux - Software 3 09-28-2004 02:14 PM
allow non root users add devices to /proc/scsi/scsi ? ewto Linux - Newbie 5 10-14-2003 12:36 PM
mounting 2 ide-scsi devices /dev/cdrom and /dev/cdrom1 issue penguin123 Linux - Hardware 3 09-26-2003 09:36 PM
Can't Mount my SCSI devices! ewto Linux - Newbie 9 09-10-2003 01:44 AM
Mounting SCSI devices MasterC Linux - Hardware 12 09-25-2002 03:06 AM

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

All times are GMT -5. The time now is 10:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration