[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help on RAID (sarge RC2) - newbie



> > > Make sure the raid1 module is set to load (run modconf)
> > > Make sure mdadm is set to autostart in /etc/default/mdadm (run
> > > dpkg-reconfigure mdadm to generate the file)

> The stock debian kernels have RAID support as modules.  That's all I'm using.
>
> The modules loaded are 'raid1' and 'md'
>
> I think what you are missing is the filesystem type (set during fdisk/cfdisk)
> On my RAID disks, I have it set as type '83' (Linux Raid Autodetect)
> which gets the kernel to do all the dirty work (which is how I get
> away with no mdadm.conf).

Darryl,

Thanks for your help.

So a step-by-step howto should be something like:

1. Install Debian on HD "A"
2. Load md and raid1 modules ("modprobe raid1 etc...")
3. Add both modules in /etc/modules
4. Install "mdadm"
5. Zero array devices ("mdadm --zero-superblock /dev/hdX")
6. Partition HD "B" and "C" ("cfdisk /dev/hdX")
7. Create RAID ("mdadm -Cv /dev/md0 -l1 -n2 /dev/hdB /dev/hdC")
8. Format array ("mkfs.ext3 -j /dev/md0")
9. Mount array ("mount /dev/md0 /mnt/array")
10. Insert line "/dev/md0 /mnt/array ext3 defaults 0 0" in "/etc/fstab" file
11. Set automatic array startup ("dpkg-reconfigure mdadm")
12. reboot

Is this OK ??

TIA

K.




____________________________________________________________
6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero!
Scaricalo su INTERNET GRATIS 6X http://www.libero.it




Reply to: