Help mounting Raid
Hi,
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? Thanks, Ash |
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.
|
Sorry i wasnt clear, i hardly understand myself.
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) I hope this helps, Thanks |
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:
|
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.
Thanks for all your help, Asherve |
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... |
ok i got it ...first do this...
get on root... modprobe ataraid modprobe pdcraid mount /dev/ataraid/d0p5 /mnt/raid it could not be d0p5 could be some other number... use dmesg to check it out thats what i did...reply if any other help is needed... |
Me TOOOOO
I am having the same delema. I tried the modprobe, and get "command not found"
on the dmesg I get a bunch of stuff, where does it show what RAIDs are there. I can see where the two disk are, but still can't connect to them. I am thouroughly lost now. :Pengy: |
You probably need to be root or have sudo setup to use modprobe.
|
Still working on RAID Mount
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) It goes on to say: hde: host protected area => 1 hde: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=77545/16163, UDMA(100) hdg: host protected area => 1 hdg: 78177792 sectors (40027 MB) w/1902KiB Cache, CHS=77557/16/63, UDMA(100) Partition check: hde: [PTBL] [4865/255/63] hde1 hde2 <> hdg: unknown partition table 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. Thanx in advance |
Hi,
You have to find a file that i think is in the /etc directory and lists all devices that are running. Im really sorry but i cant currently get into Linux at the moment, but maybe someone else will remember what it is called. Then do modprobe ataraid and modprobe pdcraid Go into the file mentioned and it will tell you the raid drives, controller name and raid devices e.g. d0p5, d0, d0p1 i used the following commands to then mount; mount -t ntfs /dev/ataraid/d0p5 /mnt/raid I hope you can find a solution, i managed to. Good Luck! |
All times are GMT -5. The time now is 03:56 AM. |