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 have the following setup using a promise raid controller and would like to mount my raid drive (and all three partitions on it) so that i could access the files. I found nothing in the man pages about this.
8 gig samsung - running linux
2 40 gig maxtors - running windows XP in NFTS. (there are three partitions)
i tried the following by creating a directory as root called raid, but it did not work saying "it could not find the block"?
mount /dev/ataraid/d0 /mnt/raid
I would be greatfull to anyone who could help. I would also like to add this to automount and the grub loader (on the linux harddrive), is that possible?
We really need more info, like what you are trying to achieve. To linux, a raid device is nearly invisible, it's just a means to connect to a drive. You set raid parameters on the card, and it is invisible to the OS. I'm kind of lost as to where you are and where you want to go, but I think you are trying to mount something as a device that is not a device to the OS.
I have linux running on i harddrive with nothing else on the 'normal' ide controller. This is working fine, but the only way to get into windows is to unplug the hard drive.
What i would like to do is to be able to mount the raid hardrives(NTFS with windows XP) so that i can use the files, just like i used to when windows was on a seperate partition (not in raid).
I need grub to be able to boot windows XP (grub is installed on the linux drive)
What kernal are you running? Try 'uname -a' and see what it tells you.
For kernel 2.4.18+ you need to set 'CONFIG_BLK_DEV_ATARAID_PDC' to either '=Y' or '=M' which will tell your kernel to build the promise ata RAID support into the kernel or as a module.
From the Configure.help
Quote:
Support Promise software RAID (Fasttrak(tm))
CONFIG_BLK_DEV_ATARAID_PDC
Say Y or M if you have a Promise Fasttrak (tm) Raid controller
and want linux to use the softwareraid feature of this card.
This driver uses /dev/ataraid/dXpY (X and Y numbers) as device
names.
If you choose to compile this as a module, the module will be called
pdcraid.o.
My kernal version is 2.4.18-14 but i do not know what to do with this "CONFIG_BLK_DEV_ATARAID_PDC" could you please explain in easy steps as i have never used this before. I put it in the terminal but it did nothing.
i think you need to do a "modprobe ataraid" i have the samething you have
and what i did was modprobe ataraid then mount /dev/ataraid/d0p5 /mnt/raid
i think you have to modprobe another one too but i forgot what it is...
I am still attempting to mount the RAID.
With dmesg (as su) Here is what I get :
hde: WDC WD400BB-00DEA0, ATA DISK drive
blk: queue c03bf1c0, I/O limit 4095Mb (mask 0xffffffff)
hdg: QUANTUM FIREBALLP as40.0, ATA DISK drive
blk: queue c03bf620, I/O limit 4095Mb (mask 0xffffffff)
And Then:
hdg2: bad access: block=0, count=1
end_request: I/O error, dev 22:02 (hdg), sector 0
NTFS: Reading super block failed
So it will see the drives but not quite see the super block on the secondary RAID. It works and has XP on it. I would just like to be able to transfer files frome Linux to my other lesser OS.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.