Summary: | checkfs starts up md raid devices using a hazardously wrong concept | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rumi Szabolcs <rumi> |
Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | aliz |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Rumi Szabolcs
2003-11-12 22:25:18 UTC
So what is wrong with expecting to know how, and setup a proper /etc/raidtab if they are using raid ? Most other initsystem out there (all I checked) do expect this. Its the same as to say: You should not use /etc/fstab to try and detiremine what partitions to mount. the raid stuff worked perfectly on my system ... i only had to setup /etc/raidtab (like i had it in slackware) and /etc/fstab and everything else fell into place ... Well, automounting filesystems from fstab is trivial among all Unices. The md device is a Linux-specific creature, so I don't think it should be trivial to start it up without the system administrator explicitly wanting this to happen. Another point of view is that in the Gentoo concept, not even starting up network interfaces, or syslog, etc. from rc is a trivial default, one has to explicitly add them via rc-update, so with this in mind one would expect that he also has to explicitly add some raidstart script into rc, or, if that functionality is integrated into some other script then one has to enable it via some generic configuration mechanism, like conf.d for example. It is not done automatically - you need to setup raidtab ... ? i dont know what you mean by 'setup raidtab' ... what i mean is this: root@rux0r 0 root # cat /etc/raidtab raiddev /dev/md0 raid-level 0 nr-raid-disks 4 persistent-superblock 1 chunk-size 4 device /dev/hde raid-disk 0 device /dev/hdf raid-disk 1 device /dev/hdg raid-disk 2 device /dev/hdh raid-disk 3 raiddev /dev/md1 raid-level 0 nr-raid-disks 4 persistent-superblock 1 chunk-size 4 device /dev/hdi raid-disk 0 device /dev/hdj raid-disk 1 device /dev/hdk raid-disk 2 device /dev/hdl raid-disk 3 root@rux0r 0 root # grep md /etc/fstab /dev/md0 /stuff reiserfs rw,notail 0 0 /dev/md1 /raid reiserfs rw,notail 0 0 dont create bogus files |