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

Re: No swap on my Debian Sid system



Ok, this is funny. I doublechecked some things on my system, and here's a
couple of useful outputs:

jack@nostromo:~$ cat /etc/mdadm/mdadm.conf
DEVICE partitions
ARRAY /dev/md2 level=raid1 num-devices=2 UUID=9dae3f6b:a3e79fbb:6044c75b:9f1939bd
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=6f583480:58ae2560:eac2cfa7:882022da
ARRAY /dev/md0 level=raid1 num-devices=2
UUID=877c34c4:dfed29c7:4338e75f:35082da1

So, /dev/md1 (the one created during installation for swap raid) exists,
but:

jack@nostromo:~$ dmesg | grep md1
md: md1 stopped.

I asked myself why:

jack@nostromo:~$ sudo /sbin/mdadm -Q /dev/md1
Password:
/dev/md1: is an md device which is not active
/dev/md1: is too small to be an md component.

And mdstat says:

jack@nostromo:~$ cat /proc/mdstat
Personalities : [raid1]
md2 : active raid1 sda3[0] sdb3[1]
      229046656 blocks [2/2] [UU]

md0 : active raid1 sda1[0] sdb1[1]
      14651136 blocks [2/2] [UU]

unused devices: <none>

I looked for bugs on Debian and this one looks quite right (and soooo long
to read):

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=294404

I should probably try to start the /dev/md1 RAID device manually after
boot: if I understood correctly the manpage,

# mdadm -A /dev/md1 /dev/sda2 /dev/sdb2

after stopping the swap shoudl work. What do you think?

Thanks for helping!

-- 
Best Regards, Jack
Linux User #264449
Powered by Debian GNU/Linux on AMD64



Reply to: