[svlug] sid mdadm and new kernel
Ivan Sergio Borgonovo
mail at webthatworks.it
Sun Jul 23 10:22:20 PDT 2006
I can't make mdadm work with any non-first-install kernel on sid.
What I mean is that I have problems installing any other sid precompiled kernel that is not the one that was installed on the first installation of etch/sid.
In the working kernel
mdadm -E /dev/mdN
mdadm -E /dev/.static/dev/mdN
give
mdadm: No md superblock detected on /dev/.static/dev/md0
mdadm -D --scan
mdadm -E --scan
give back different uuid for same mdN
when I run
mdadm -E --scan in busybox of the not working kernel I have the same result of the booting kernel but not the same for -D
md0 and md3 get exchanged in the new kernel and /root contains my /home inspite of /
I tryed different combination of mdamd.conf (see below) followed by dpkg-reconfigure mdadm with no success.
The best I obtained was to recreate initramfs with -r /dev/md3 but then the boot process stops just a bit later.
The best solution would be to find a way so that mdX don't stroll and I can have different kernels without messing up with config everytime I want to change between them.
I'm out of ideas.
dark:/etc/mdadm# cat /etc/mdadm/mdadm.conf
DEVICE /dev/.static/dev/sda[4567] /dev/.static/dev/sdb[4567]
#DEVICE /dev/sda[4567] /dev/sdb[4567]
#detail
#ARRAY /dev/md0 level=raid0 num-devices=2
UUID=4291d65d:7af4bb1b:3a8ba259:e57cebcb
#ARRAY /dev/md1 level=raid0 num-devices=2
UUID=03e7ca3b:cdd3288f:da259b26:3a39d48f
#ARRAY /dev/md2 level=raid0 num-devices=2
UUID=04131c90:724fb434:05f163c9:e3c1cf82
#ARRAY /dev/md3 level=raid0 num-devices=2
UUID=4409264c:1fac8bed:89c05b47:9fa02385
#examine
#ARRAY /dev/md3 level=raid0 num-devices=2
UUID=4291d65d:7af4bb1b:3a8ba259:e57cebcb
#ARRAY /dev/md0 level=raid0 num-devices=2
UUID=03e7ca3b:cdd3288f:da259b26:3a39d48f
#ARRAY /dev/md1 level=raid0 num-devices=2
UUID=04131c90:724fb434:05f163c9:e3c1cf82
#ARRAY /dev/md2 level=raid0 num-devices=2
UUID=4409264c:1fac8bed:89c05b47:9fa02385 MAILADDR ivan
More information about the svlug
mailing list