Asier ha scritto: > El Viernes, 19 de Septiembre de 2008, escribió: > >>> As you know, from dmraid 1.0.0.rc14-3 we use an udev rule to allow dmraid >>> arrays to be brought up in the event that the member disks of an array >>> are present. This udev rule runs /sbin/dmraid-activate to activate only >>> arrays that don't appear to be degraded. >>> If you don't use initramfs, udev can't find /sbin/dmraid-activate when it >>> is triggered (because / isn't mounted). >>> Default debian kernel uses initramfs, and I want support this >>> configuration. Sorry, you must use initramfs. A possible workaround is a >>> simple sh script in /etc/init.d with: >>> udevadm trigger --subsystem-match=block --action=add >>> >>> Anyway I suggest to use initramfs >> Please forget it, I was completely wrong. > > Today I don't have access to the server. Tomorrow I will try:
Hi, Try this .deb: http://sd6.iuculano.it/dmraid-testing/dmraid_1.0.0.rc14-4~unreleased2_amd64.deb I think this should fix this issue. Make sure that after .deb installation there isn't any difference between /etc/udev/rules.d/85_dmraid.rules and the file in attachment. Giuseppe.
# This file causes drives with dmraid arrays to be checked, and if all # drives are present, brought up. # See udev(8) for syntax SUBSYSTEM=="block", ACTION=="add|change", ENV{ID_TYPE}=="disk", ENV{ID_FS_USAGE}=="raid", KERNEL=="hd[a-z]|sd[a-z]", \ RUN+="/sbin/dmraid-activate %k"
signature.asc
Description: OpenPGP digital signature