Computing.Net > Forums > Linux > Adding 3 hotswap scsi to linux-Help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Adding 3 hotswap scsi to linux-Help

Reply to Message Icon

Name: gian2oo1
Date: October 8, 2004 at 16:09:37 Pacific
OS: cent-os3 (rhel es 3.0 clo
CPU/Ram: p3 - 550mhz / 300+ mb ram
Comment:

Hello. I ordered three 9.1gb hot swapable scsi drives for my linux server. The server had 1 drive, now has 4. I am having some trouble finding them in /dev -- It is not RAID. Upon startup, the SCSI card shows somthing similair to:

Channel B
SCSI ID#0 - drive (original with O/S)
SCSI ID#1 - drive
SCSI ID#2 - tape backup
SCSI ID#3 - drive
SCSI ID#4 - drive

I found the guide @ the bottom of the post and read it over.

But I don't want to mess up and format my O/S. My drives are on scsi channel B, but 'df' shows:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 8001052 4767188 2827420 63% /
/dev/sda1 101089 14274 81596 15% /boot
none 159812 0 159812 0% /dev/shm


Also when I boot up I get these errors:

Oct 8 17:57:43 ibm2 kernel: I/O error: dev 08:21, sector 0
Oct 8 17:57:43 ibm2 last message repeated 2 times
Oct 8 17:57:43 ibm2 kernel: I/O error: dev 08:21, sector 64
Oct 8 17:57:43 ibm2 kernel: I/O error: dev 08:22, sector 0
Oct 8 17:57:43 ibm2 last message repeated 2 times
Oct 8 17:57:43 ibm2 kernel: I/O error: dev 08:22, sector 64
Oct 8 17:57:43 ibm2 kernel: I/O error: dev 08:23, sector 0
Oct 8 17:57:44 ibm2 last message repeated 2 times
Oct 8 17:57:44 ibm2 kernel: I/O error: dev 08:23, sector 64


So where in /dev are my 3 harddrives I plugged in? Is that error mean they are not working. Thank you for any help!

-Gian

Guide I read:


>>
>>
>>

Re the linux side of it:

#fdisk /dev/sdb
to partition it

#mkfs -t ext2 /dev/sdb1
to format it

#mkfs -t ext2 -j /dev/sdb1
for ext3 or

#mkfs -t reiserfs /dev/sdb1
for ReiserFS

Then add to /etc/fstab
#/dev/sdb1 /mnt/mountpoint ext3 default 2 1
where /mnt/mountpoint is a folder you have already created.
NB The last 2 digits of this line refer to whether the drive will be checked for integrity (fschk/scandisk) and included in a backup.

Make sure that the entry is terminated with a carriage return else it will be ignored.

If everything is ok you should be able to
#mount /mnt/mountpoint
and receive no error messages.

Good luck!=o)

>>
>>

Warm Regards,
Gian Spicuzza



Sponsored Link
Ads by Google

Response Number 1
Name: gian2oo1
Date: October 8, 2004 at 17:41:15 Pacific
Reply:

I am an idiot. I found the drives.../dev/sdb,c,d as usual (it's been a long day). But what explains those I/O errors?

Warm Regards,
Gian Spicuzza


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Adding 3 hotswap scsi to linux-Help

Adding a HD to my Mandrake Linux www.computing.net/answers/linux/adding-a-hd-to-my-mandrake-linux/6321.html

Win vs. Linux Help Me !!!!!!!! www.computing.net/answers/linux/win-vs-linux-help-me-/11255.html

Is it worth changing to Linux www.computing.net/answers/linux/is-it-worth-changing-to-linux/20441.html