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 am using RH9 and a vp6 mobo running the RAID0 via the mobo hardware with 2 80 gig HDs, everything is running fine. Although I had one question
Should is see both drives combined as one 160 Gig drive?? I had thought it would show as one 80 gig drive instead as 1 160 gig drive? How could i have 160 gig of stoarge if the data is being stripes to each drive?
For RAID 0, if the file is 4 kilobytes in size. Half of it (2 kilobytes) will be stored on one drive. The other half (2 kilobytes) will be stored on the other drive. If you have 3 hard drives, it will write 1/3 of the file size to each hard drive. Four hard drives will be 1/4 of the file will be written to each hard drive and so on.
RAID 0 or RAID 5 does not work as well for partitioning. Its best to use RAID 0 or RAID 5 as whole.
RAID 5 is RAID 0 + parity. It needs three hard drives.
RAID 1 is mirroring, so you don't get double the size and you don't get increased throughput. The advantage of RAID 1 over RAID 0 is data backup. RAID 0 has no data backup and you will have a higher chance of losing your data.
OK i see well still but i am confused If RAID stores the same data on both drives, and i store 80 gig of data, then how could i go past 80 gig if the max on one drive IS 80 gig??
Heee confusing huh um yeah i left it default runinng RH9 um files system is 3 or whatever the newest one is i forget the name
RAID 0 doesn't store the same data on each drive. RAID 0 takes _half_ of each file and puts one half on each drive.
Each drive has data that is completely different from the data on the other drive.
So if you have a file that is "ABCDEF", ABC is on drive 1 and DEF is on drive 2.
If the file is, say 15 MB, it's split so 7.5 MB of the file is stored on drive 1 and the other 7.5 MB is stored on drive 2.
Because the RAID is writing to both disks at the same time, you could write an 80GB file to disk and 40GB would be written to drive 1 and the other 40GB would be written to drive 2. This would leave you with 40 GB of space on each disk - 80Gb remaining free space in total.
How many partitions did you make. What is the total space that your data took up. Type df -h at the prompt.
After you got the information, you have to buy a cheap hard drive. Next, at the command prompt login as root and copy the files to the cheap hard drive. Then go into the controller BIOS and delete the raid array. Next make the array as a mirror. Copy the files to the RAID array. You have to change your fstab file for your setup.
Quote:
So if you have a file that is "ABCDEF", ABC is on drive 1 and DEF is on drive 2.
Thats half right, but it works by writing ACE on the first drive and on the second drive its writting BDF.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.