Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to mount a 70G x3 HDD - configured as RAID 5.
I'm currently running Red Hat Linux 7.3. From the /var/log/messages it tells me that my RAID 5 HDD sits on sdb. But when I tried to mount it I'll get this message :
[root@neptune root]# mount /dev/sdb /mnt/adaptec
mount: /dev/sdb is not a valid block device
I have to mount it and then format it before I could partition it right?
I've only done raid 5 once, but shouldn't a raid drive be /dev/md0. What you posted looks like the second SCSI drive connected to your machine instead of a raid array. Now, I think you can define what you want the array called, and if that is true then you could have defined sdb in the /etc/raidtab.
[root@neptune root]# mkfs -t ext2 /dev/hdb
mke2fs 1.27 (8-Mar-2002)
/dev/hdb is entire device, not just one partition!
Proceed anyway? (y,n) y
mkfs.ext2: No such device or address while trying to determine filesystem size
I understand that you have a hardware raid setup, but I read that message as saying sdb (2nd drive on scsi bus) is 150GB. Now three 73GB drives in raid 5 would equal that amount. So the next question I guess is do you have all the necessary kernel options either configured into the kernel or loaded as modules?
Check to see if the kernel has the SCSI adapter driver built in, or if it is using some type of generic support.
cd /usr/src/linux
make menuconfig
It is always a good idea (in my mind) to compile a kernel for your hardware rather than a distrobutions CD trying to do it for you. Verify that each device is supported and remove unwanted or un-used support that you don't need.
You can gather the necessary infomation about your system by typing lsmod lspci
Also, you can look at many files inside of /proc to get more info.
Is your RAID controller onboard or is it a PCI card?
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506
Rep:
What kernel are you useing?
What type of raid...software hardware?
What exact raid card are you useing?
Is it supported for that kernel version you are useing?
You can not mount and you can not format raw devices like /dev/sdb. You have to make a partition before formatting. After you have made the partition, you have to reboot and then you can format /dev/sdb1. Rebooting is needed after you created the partition with fdisk, cfdisk, or sfdisk.
Silicon Image is not a hardware RAID controller. It is a software RAID controller. It uses the main processor to handle the RAID requests. RAID 0 does not improve OS performance. RAID 1 increases OS performance because it can read two files instead of one file at a time. Also RAID 1, is more reliable than RAID 0 for a server or for any system that is using it to store the OS. Use RAID 0 for video capturing, huge graphic files, sound, but never use for an OS drive.
For RAID 5 to be effective, you need atleast four hard drives. Using three hard drives for RAID 5 is not enough if one hard drive fails.
Saying "We've installed Red Hat 7.3" does not give you any credit. Sheesh, say "I installed blah, blah" to give yourself credit. Please do not mix third person in first person.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.