Re: confused. sarge raid5 -should i use mdadm or raidtools2
On Thursday 06 January 2005 11:27 am, Greg Folkert wrote:
> On Thu, 2005-01-06 at 05:21 -0500, Mitchell Laks wrote:
> > Hi,
> > I would like to set up a Debian box running Sarge, to include a storage
> > array using raid5 with boot off a separate system disk.
>
> [...]
>
> raidtools2 == deprecated, mdadm == supercedes raidtools
i am curious. i am running 2.6.8 kernel on sarge. i tried to avoid recompiling
my kernel and would prefer to load the raid5 driver as a module, and thus use
initrd.img. however, in my initial setup, after i ran mknod /dev/md0 and then
rebooted, /dev/md0 dissapeared, (perhaps this udev? is the culpret? who
knows?). well what do i do to make it appear each boot? or perhaps, once i
create the initrd with raid5 module in it, then it will appear without my
doing mknod /dev/md0 each time, or do i need a script in /etc/rcS.d
or /etc/rc2.d to do
mknod /dev/md0 b 9 0
each reboot?
any ideas?
mknod /dev/md0
Mitchell
>
> Hope that helps. I have a machine that boots off /dev/md0.
>
> greg@asbestos:~$ df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/md1 1989568 103480 1886088 6% /
> tmpfs 485756 0 485756 0% /dev/shm
> /dev/md0 141760 8752 133008 7% /boot
> /dev/md4 9989504 18308 9971196 1% /home
> /dev/md3 995008 660 994348 1% /tmp
> /dev/md5 15426176 186464 15239712 2% /usr
> /dev/md2 9989504 174972 9814532 2% /var
>
> I use mdadm exclusively.
>
> greg@asbestos:~$ apt-cache show mdadm
> Package: mdadm
> Priority: optional
> Section: admin
> Installed-Size: 252
> Maintainer: Mario Joussen <joussen@debian.org>
> Architecture: i386
> Version: 1.8.1-1
> Replaces: mdctl
> Depends: libc6 (>= 2.3.2.ds1-4), makedev, debconf (>> 0.5)
> Conflicts: mdctl (<< 0.7.2), raidtools2 (<< 1.00.3-12.1)
> Filename: pool/main/m/mdadm/mdadm_1.8.1-1_i386.deb
> Size: 104964
> MD5sum: 0550c71ce7c24d77b93bac373cd98839
> Description: Manage MD devices aka Linux Software Raid
> mdadm is a program that can be used to create, manage, and monitor MD
> devices. As such it provides a similar set of functionality to the
> raidtools packages.
> .
> Unlike raidtools, mdadm can perform (almost) all of its functions
> without having a configuration file.
>
>
> mdadm, is the future. Although raidtools2 can co-exist alongside.
Reply to: