--add-journal not working with 5.2.13??!!

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

 



I've been using arrays with journal for about 2 years. I created them with
journal. Now I tried to create a raid6 array without journal and add it after,
and it doesn't work(!)... This is with vanilla 5.2.13 and mdadm 4.1.

Here's the result:

# ~/mdadm-4.1-3/sbin/mdadm  -C /dev/md0 -l 6 -e 1.1 -n 15 --assume-clean /dev/sda[k-y]
# ~/mdadm-4.1-3/sbin/mdadm  --readonly /dev/md0

# cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4] 
md0 : active (read-only) raid6 sday[14] sdax[13] sdaw[12] sdav[11] sdau[10] sdat[9] sdas[8] sdar[7] sdaq[6] sdap[5] sdao[4] sdan[3] sdam[2] sdal[1] sdak[0]
      101580623872 blocks super 1.1 level 6, 512k chunk, algorithm 2 [15/15] [UUUUUUUUUUUUUUU]
      bitmap: 0/59 pages [0KB], 65536KB chunk

# ~/mdadm-4.1-3/sbin/mdadm /dev/md0 --add-journal /dev/sdaz
mdadm: Failed to hot add /dev/sdaz as journal, please try restart /dev/md0.

??? To re-assemble I first put its UUID in /etc/mdadm/mdadm.conf, then

# ~/mdadm-4.1-3/sbin/mdadm -S /dev/md0
mdadm: stopped /dev/md0

# ~/mdadm-4.1-3/sbin/mdadm  -A /dev/md0
mdadm: Fail create md0 when using /sys/module/md_mod/parameters/new_array
mdadm: device 30 in /dev/md0 has wrong state in superblock, but /dev/sdaz seems ok
mdadm: failed to RUN_ARRAY /dev/md0: Invalid argument

I don't compile modules in the kernel.

What am I missing?



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux