Re: [gentoo-user] Creating RAID devices - udev question

2005-11-21 Thread Neil Bothwick
On Sat, 19 Nov 2005 16:19:53 +1100, Brian Parish wrote: Removing the initramfs seemed like the line of least resistance here, so being basically lazy, that's what I did. /dev/md0 is now created and I can create my RAID array happily enough. This still doesn't survive a reboot though. i.e.

Re: [gentoo-user] Creating RAID devices - udev question

2005-11-19 Thread Brian Parish
On Saturday 19 November 2005 16:19, Brian Parish wrote: On Sunday 13 November 2005 17:33, Brian Parish wrote: On Sunday 13 November 2005 17:23, Richard Fish wrote: On 11/12/05, Mike Williams [EMAIL PROTECTED] wrote: On Sunday 13 November 2005 01:49, Brian Parish wrote: I am trying

Re: [gentoo-user] Creating RAID devices - udev question

2005-11-19 Thread Mike Williams
On Saturday 19 November 2005 14:15, Brian Parish wrote: This still doesn't survive a reboot though.  i.e. I have to run the mdadm --create command again.  I assumed that this required something in mdadm.conf, so I updated that with all the magic numbers shown by mdadm -D. No change though.

Re: [gentoo-user] Creating RAID devices - udev question

2005-11-19 Thread A. Khattri
On Sun, 20 Nov 2005, Brian Parish wrote: I have now implemented a smooth work-around by: 1. Setting the RAID in fstab to noauto and no checking 2. Creating a script in /etc/init.d which assembles and mounts the RAID set 3. Adding this script to the default group using rc-update Yes, this

Re: [gentoo-user] Creating RAID devices - udev question

2005-11-18 Thread Brian Parish
On Sunday 13 November 2005 17:33, Brian Parish wrote: On Sunday 13 November 2005 17:23, Richard Fish wrote: On 11/12/05, Mike Williams [EMAIL PROTECTED] wrote: On Sunday 13 November 2005 01:49, Brian Parish wrote: I am trying to add a software RAID 5 disk set to an existing machine

Re: [gentoo-user] Creating RAID devices - udev question

2005-11-12 Thread Mike Williams
On Sunday 13 November 2005 01:49, Brian Parish wrote: I am trying to add a software RAID 5 disk set to an existing machine installed using genkernel.  All the RAID support is compiled into the kernel, but no /dev/md? device files exist.  I can create these using mknod and make the RAID, but

Re: [gentoo-user] Creating RAID devices - udev question

2005-11-12 Thread Richard Fish
On 11/12/05, Mike Williams [EMAIL PROTECTED] wrote: On Sunday 13 November 2005 01:49, Brian Parish wrote: I am trying to add a software RAID 5 disk set to an existing machine installed using genkernel. All the RAID support is compiled into the kernel, but no /dev/md? device files exist. I

Re: [gentoo-user] Creating RAID devices - udev question

2005-11-12 Thread Brian Parish
On Sunday 13 November 2005 17:23, Richard Fish wrote: On 11/12/05, Mike Williams [EMAIL PROTECTED] wrote: On Sunday 13 November 2005 01:49, Brian Parish wrote: I am trying to add a software RAID 5 disk set to an existing machine installed using genkernel. All the RAID support is compiled

Re: [gentoo-user] Creating RAID devices

2005-06-01 Thread Emanuele Morozzi
Scott Storck wrote: I use the dmraid tools, but they are not in portage yet. Why not, I don't know. There has been a bug open in bugzilla about this for a long time, but nothing (noticabliy) is happening with this. I however, boot from such a partition, so that ebuild alone doesn't help me. I

Re: [gentoo-user] Creating RAID devices

2005-05-31 Thread Emanuele Morozzi
Richard Fish wrote: Emanuele Morozzi wrote: Can anybody help me? Sorry, I think you have us stumped. If you run: dmraid ... dmsetup ls and dmsetup reports no devices, then my guess is that dmraid is misconfigured or broken. But I don't know enough about dmraid to help. I will in

Re: [gentoo-user] Creating RAID devices

2005-05-31 Thread Emanuele Morozzi
Me: Hallo, I recently passed to udev, so now I cannot use my Raid. Gentoo si installed in /dev/hda. The Raid is a striping raid composed of /dev/sda /dev/sdb and consists of 4 partitions. I created it installing windows (work reason). The SATA controller is a Silicon 3512. Before, with devfs,

Re: [gentoo-user] Creating RAID devices

2005-05-31 Thread Scott Storck
Emanuele Morozzi schrieb: Me: Hallo, I recently passed to udev, so now I cannot use my Raid. Gentoo si installed in /dev/hda. The Raid is a striping raid composed of /dev/sda /dev/sdb and consists of 4 partitions. I created it installing windows (work reason). The SATA

Re: [gentoo-user] Creating RAID devices

2005-05-30 Thread Emanuele Morozzi
Can anybody help me? Scott Storck wrote: Emanuele Morozzi schrieb: You were right, now I have compiled the kernel with CONFIG_BLK_DEV_DM=y, but it's the same as before; there are not peculiar errors, but dmraid continues not to create the devices in /dev/mapper. Richard Fish wrote: This

Re: [gentoo-user] Creating RAID devices

2005-05-30 Thread Richard Fish
Emanuele Morozzi wrote: Can anybody help me? Sorry, I think you have us stumped. If you run: dmraid ... dmsetup ls and dmsetup reports no devices, then my guess is that dmraid is misconfigured or broken. But I don't know enough about dmraid to help. I will in about 3-4 months, when I

Re: [gentoo-user] Creating RAID devices

2005-05-30 Thread Scott Storck
Emanuele Morozzi schrieb: Can anybody help me? Sorry, but I seem to have deleted this thread, and I can't remember exactly what all you wrote. If I remember correctly, you have a SATA raid controler on which you created a raid over two complete disks, right? -Scott --

Re: [gentoo-user] Creating RAID devices

2005-05-26 Thread Emanuele Morozzi
Scott Storck wrote: Emanuele Morozzi schrieb: You were right, now I have compiled the kernel with CONFIG_BLK_DEV_DM=y, but it's the same as before; there are not peculiar errors, but dmraid continues not to create the devices in /dev/mapper. Richard Fish wrote: This means that you do not

Re: [gentoo-user] Creating RAID devices

2005-05-25 Thread Emanuele Morozzi
You're right, the device manager was compiled as module, but I thought it was autoloaded at boot and finded no entry in /etc/modules.autoload.d/kernel-2.6. Now I try to copile directly into the kernel. Thanks Richard Fish wrote: This means that you do not have the device mapper driver

Re: [gentoo-user] Creating RAID devices

2005-05-25 Thread Emanuele Morozzi
You were right, now I have compiled the kernel with CONFIG_BLK_DEV_DM=y, but it's the same as before; there are not peculiar errors, but dmraid continues not to create the devices in /dev/mapper. Richard Fish wrote: This means that you do not have the device mapper driver compiled or loaded.

Re: [gentoo-user] Creating RAID devices

2005-05-25 Thread Richard Fish
Emanuele Morozzi wrote: You were right, now I have compiled the kernel with CONFIG_BLK_DEV_DM=y, but it's the same as before; there are not peculiar errors, but dmraid continues not to create the devices in /dev/mapper. What does dmsetup ls show (after running dmraid)? Did it create

Re: [gentoo-user] Creating RAID devices

2005-05-25 Thread Scott Storck
Emanuele Morozzi schrieb: You were right, now I have compiled the kernel with CONFIG_BLK_DEV_DM=y, but it's the same as before; there are not peculiar errors, but dmraid continues not to create the devices in /dev/mapper. Richard Fish wrote: This means that you do not have the device

Re: [gentoo-user] Creating RAID devices

2005-05-24 Thread Emanuele Morozzi
I had this idea too, but what I have to say is that in the first partition is running WindowsXP. I've created the raid while installing MS Windows. Using dmraid -ay and devfs, I was able to create the proper devices in /dev/mapper , but this is no more because I want udev; since I use udev

Re: [gentoo-user] Creating RAID devices

2005-05-24 Thread Emanuele Morozzi
A. Khattri wrote: I think you need to heed my earlier advice (which was to read the RAID HOWTO docs at tldp.org) so you understand what the different RAID levels mean. I've read the docs, and there's nothing new for me; I just knew the meaning of RAID levels. The raid and relative partitions

Re: [gentoo-user] Creating RAID devices

2005-05-24 Thread Emanuele Morozzi
This is the output of dmsetup ls: /proc/misc: No entry for device-mapper found Is device-mapper driver missing from kernel? Failure to communicate with kernel device-mapper driver. Command failed No, dmraid doesnt' create the devices (2.6.11-r9 with udev); I have tried to rerun Gentoo with the

Re: [gentoo-user] Creating RAID devices

2005-05-24 Thread Richard Fish
Emanuele Morozzi wrote: This is the output of dmsetup ls: /proc/misc: No entry for device-mapper found Is device-mapper driver missing from kernel? Failure to communicate with kernel device-mapper driver. Command failed This means that you do not have the device mapper driver compiled or

Re: [gentoo-user] Creating RAID devices

2005-05-23 Thread Emanuele Morozzi
A. Khattri wrote: On Fri, 20 May 2005, Emanuele Morozzi wrote: Gentoo si installed in /dev/hda. The Raid is a striping raid composed of /dev/sda /dev/sdb and consists of 4 partitions. I created it installing windows (work reason). The SATA controller is a Silicon 3512. Before, with devfs, I

Re: [gentoo-user] Creating RAID devices

2005-05-23 Thread A. Khattri
On Mon, 23 May 2005, Emanuele Morozzi wrote: I use mdadm and I have not compiled md and raid0 as modules, but directly into the kernel. The problem is that while booting md doesn't find the raid properly. If you,re interested, this is part of the output of fdisk -l

Re: [gentoo-user] Creating RAID devices

2005-05-20 Thread A. Khattri
On Fri, 20 May 2005, Emanuele Morozzi wrote: Gentoo si installed in /dev/hda. The Raid is a striping raid composed of /dev/sda /dev/sdb and consists of 4 partitions. I created it installing windows (work reason). The SATA controller is a Silicon 3512. Before, with devfs, I used dmraid to

Re: [gentoo-user] Creating RAID devices

2005-05-20 Thread Ognjen Bezanov
A. Khattri wrote: On Fri, 20 May 2005, Emanuele Morozzi wrote: Gentoo si installed in /dev/hda. The Raid is a striping raid composed of /dev/sda /dev/sdb and consists of 4 partitions. I created it installing windows (work reason). The SATA controller is a Silicon 3512. Before, with devfs, I