LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 03: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, 03:55 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,542

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
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, 05: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 05:53 PM.
 
Old 11-23-2007, 07:08 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,542

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


All times are GMT -5. The time now is 12:45 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