View previous topic :: View next topic |
Author |
Message |
Rearden n00b

Joined: 08 Aug 2005 Posts: 13
|
Posted: Sat Aug 13, 2005 2:40 am Post subject: Help mounting RAID 0 array at startup |
|
|
I want to be able to mount my NTFS RAID 0 array at startup. I can get it to mount fine if I use dmraid -ay, and then mounting the device in /dev/mapper. However, I've used dmsetup to create the dmtab file, but the devices that it creates in /dev/mapper aren't correct. One of the devices in /dev/mapper says it's not a good block device and the other says there are too many file systems mounted when I try to mount them without running dmraid.
My dmtab file looks like:
Code: |
pdc_ejfeffaj1: 0 482496147 linear 253:0 63
pdc_ejfeffaj: 0 482509312 striped 2 128 8:0 0 8:16 0
|
Also, I'd like to be able to mount this so that any user can have access to it, so what sort of configuration do I need to do to mount it as a user accessible drive?
Would it be best to simply put the "dmraid -ay" in an initialization script somewhere? If so, then what script would be best?
Thanks for any help. |
|
Back to top |
|
 |
kabage Guru

Joined: 31 Jan 2005 Posts: 340
|
Posted: Sat Aug 20, 2005 11:23 am Post subject: Yes |
|
|
If your not booting off the raid you could put dmraid -ay in local.start or something like that
if you want to boot the raid, dmraid will have to
be in initrd (initramsys ) you do not need to setup nodes, dmraid calls dmsetup to do that
(or it should)
I believe genkernel --dmraid (will make the proper init for you). _________________ The solutions are easy. Its finding them that is hard. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|