LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-23-2007, 04:05 PM   #1
tractng
Member
 
Registered: Nov 2007
Posts: 75

Rep: Reputation: 15
second/third disks


Guys,

Just installed Redhat ES4.


For the second/third disks (sata), they go into syba controller which I had to install the driver.

The instructions are follow:

A) . # 'sh /mnt/floppy/load-driver-from-floppy.sh' (DATA DRIVES)
(or use the the proper script depending on your kernel)

B) . if you want to make sure you can see the drives, you may want
to 'mke2fs /dev/sda' and 'mount /dev/sda /test' the hard disk(s).
(Depending on your system configuration, the SATA drives could be /dev/sdb, /dev/sdc, /dev/sdd.....)

C) . insmod sii3132. As an example add the following lines at the end
of the script in /etc/rc.d/rc.sysinit

'insmod scsi_mod'
'insmod sii3132'

Right after I follow step B)

mount /dev/sdb (I get mount point does not exit).

Do I have to create a directory for it first and then reference to it?

Thanks,
Tony
 
Old 11-23-2007, 04:55 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,285

Rep: Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165
Yes you need a directory first - "/test" in the instructions.

When I want to know what happens with disks, I look at "dmesg" and "fdisk -l".
 
Old 11-23-2007, 06:35 PM   #3
tractng
Member
 
Registered: Nov 2007
Posts: 75

Original Poster
Rep: Reputation: 15
I got it to mount, but when I rebooted, I don't see the disks any more in /dev, fdisk -l, or dmesg.

I added the following to fstab:

[root@lnx3 syba]#
[root@lnx3 etc]# more fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
LABEL=/boot1 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/home /home ext3 defaults 1 2
LABEL=/opt /opt ext3 defaults 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/usr1 /usr ext3 defaults 1 2
LABEL=/usr/local /usr/local ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
LABEL=SWAP-sda10 swap swap defaults 0 0
LABEL=/mnt/vol1 /mnt/vol1 ext2 defaults 0 0
/dev/scd0 /media/cdrecorder auto pamconsole,fscontext=system_ubject_r:removable_t,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,fscontext=system_ubject_r:removable_t,exec,noauto,managed 0 0


When I reboot linux, I see a quick message saying the /mnt/vol1 does not exist (really quick- not sure how to pause it).

Before rebooting, when I did fdisk -l, I see a message saying not a valid parition table see below:


Disk /dev/sdb: 250.0 GB, 250058268160 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488395055 sectors
Units = sectors of 1 * 512 = 512 bytes

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes

Disk /dev/sdc doesn't contain a valid partition table.
[root@lnx3 syba]#

Also, can you verify if I enter the two lines correctly at the right place (/etc/rc.d/rc.sysinit):

if [ -x /sbin/redhat-support-check -a -f /var/lib/supportinfo ]; then
/sbin/redhat-support-check || {
echo $"Normal startup will continue in 10 seconds."
sleep 10
}
fi

# Let rhgb know that we're leaving rc.sysinit
if [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --ping ; then
/usr/bin/rhgb-client --sysinit
fi

insmod scsi_mod
insmod sii3132

[root@lnx3 rc.d]#



Any help is appreciated.

Tony

Last edited by tractng; 11-23-2007 at 06:53 PM.
 
Old 11-23-2007, 08:08 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,285

Rep: Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165
Mmmm - there's a lot (... all) not to like about those instructions. I didn't say anything earlier as I don't use RH (or Fedora) and I hoped it might work for you.
Ain't the way I'd elect to get modules loaded.

I'd be looking at that script to see what it did - as in where it copied the modules to. "lsmod" will tell you if they loaded o.k. - doesn't sound like it if "fdisk -l" doesn't show the disk. You should also be able to find them with "locate scsi_mod", "locate sii3132" - if not, try "updatedb" then the locates again.
Once you have the drivers loaded, you should see the disks - use whatever GUI RH comes with to partition/format them. If you want to use LABEL like that, you have to specify the label when you do the mkfs (might be called "format" in the GUI).

This may be better in a RH/Fedora forum - click the "Report" button on your post and add a note requesting to have it moved.
 
Old 11-24-2007, 01:05 AM   #5
tractng
Member
 
Registered: Nov 2007
Posts: 75

Original Poster
Rep: Reputation: 15
Syg00,

fdisk -l did show the disk before the reboot.

Once it got rebooted, it doesn't show up.


Tony
 
  


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
getting disks in C son_t Programming 6 03-13-2007 08:05 AM
Installation Disks not recognized as official disks when booting with floppy coal-fire-ice Mandriva 13 12-09-2004 05:29 PM
What disks do I need Zuggy Linux - General 1 11-06-2004 03:59 PM
Which disks? desolator Linux - Newbie 8 12-01-2003 04:38 PM
Which disks? cap'n leaky Debian 1 11-01-2003 06:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:24 AM.

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