LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-08-2003, 11:04 AM   #1
the_newbie
LQ Newbie
 
Registered: Mar 2003
Location: UK
Posts: 4

Rep: Reputation: 0
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
 
Old 03-08-2003, 02:23 PM   #2
williamwbishop
Member
 
Registered: Feb 2003
Location: god's judge
Posts: 376

Rep: Reputation: 30
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.
 
Old 03-08-2003, 02:37 PM   #3
the_newbie
LQ Newbie
 
Registered: Mar 2003
Location: UK
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 03-08-2003, 04:24 PM   #4
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
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.
 
Old 03-08-2003, 05:32 PM   #5
the_newbie
LQ Newbie
 
Registered: Mar 2003
Location: UK
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 03-11-2003, 09:39 PM   #6
bkxsammy
Member
 
Registered: Oct 2002
Posts: 30

Rep: Reputation: 15
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...
 
Old 03-11-2003, 09:43 PM   #7
bkxsammy
Member
 
Registered: Oct 2002
Posts: 30

Rep: Reputation: 15
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...
 
Old 05-07-2003, 08:56 PM   #8
blurhappy
LQ Newbie
 
Registered: May 2003
Location: CA
Distribution: Redhat 9.0
Posts: 8

Rep: Reputation: 0
Question 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.
 
Old 05-07-2003, 10:03 PM   #9
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
You probably need to be root or have sudo setup to use modprobe.
 
Old 05-24-2003, 11:28 AM   #10
blurhappy
LQ Newbie
 
Registered: May 2003
Location: CA
Distribution: Redhat 9.0
Posts: 8

Rep: Reputation: 0
Question 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
 
Old 05-24-2003, 06:02 PM   #11
the_newbie
LQ Newbie
 
Registered: Mar 2003
Location: UK
Posts: 4

Original Poster
Rep: Reputation: 0
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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting RAID filesystem manudath Linux - Software 0 02-24-2005 08:32 PM
Mounting linear-raid partition daniel_lidstrom Linux - Software 2 12-29-2004 05:04 AM
Mounting RAID thezero Linux - Newbie 8 05-11-2004 11:16 PM
mounting a windows raid drive Peter Geraedts Linux - Newbie 0 04-12-2004 12:56 PM
Help!! Mounting a raid array Cannedsoup Linux - Hardware 1 07-07-2003 06:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration