Page 4 of 4 FirstFirst ... 234
Results 31 to 32 of 32

Thread: MD raid trouble.

  1. #31
    Join Date
    Jul 2010
    Location
    Michigan, USA
    Beans
    2,134
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: MD raid trouble.

    Quote Originally Posted by rcastberg View Post
    Got hold of pci sata controller today.

    I rezeroed the drives and set up partitioning again (As i have all data backed up)

    but when i create the array (Disk sda = 5YD24GMK):
    Code:
    mdadm --create --verbose /dev/md0 --level=6 --raid-devices=5 /dev/sd[aihcf]1
    mdadm: layout defaults to left-symmetric
    mdadm: chunk size defaults to 512K
    mdadm: layout defaults to left-symmetric
    mdadm: layout defaults to left-symmetric
    mdadm: layout defaults to left-symmetric
    mdadm: layout defaults to left-symmetric
    mdadm: layout defaults to left-symmetric
    mdadm: layout defaults to left-symmetric
    mdadm: size set to 1953511936K
    mdadm: Defaulting to version 1.2 metadata
    mdadm: ADD_NEW_DISK for /dev/sda1 failed: Device or resource busy
    Although the array goes on to resync (with sda1 in the group)

    Syslog from point when the partition was created.
    Code:
    Apr 21 18:34:50 Asgard kernel: [ 2374.434486] scsi_verify_blk_ioctl: 402 callbacks suppressed
    Apr 21 18:34:50 Asgard kernel: [ 2374.434494] mdadm: sending ioctl 1261 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.434501] mdadm: sending ioctl 1261 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.434934] mdadm: sending ioctl 1261 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.434940] mdadm: sending ioctl 1261 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.435244] mdadm: sending ioctl 1261 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.435249] mdadm: sending ioctl 1261 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.435655] mdadm: sending ioctl 1261 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.435660] mdadm: sending ioctl 1261 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.434486] scsi_verify_blk_ioctl: 402 callbacks suppressed
    Apr 21 18:34:50 Asgard kernel: [ 2374.434494] mdadm: sending ioctl 1261 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.434501] mdadm: sending ioctl 1261 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.434934] mdadm: sending ioctl 1261 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.434940] mdadm: sending ioctl 1261 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.435244] mdadm: sending ioctl 1261 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.435249] mdadm: sending ioctl 1261 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.435655] mdadm: sending ioctl 1261 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.435660] mdadm: sending ioctl 1261 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.447142] mdadm: sending ioctl 800c0910 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.447151] mdadm: sending ioctl 800c0910 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.447142] mdadm: sending ioctl 800c0910 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.447151] mdadm: sending ioctl 800c0910 to a partition!
    Apr 21 18:34:50 Asgard kernel: [ 2374.629142] md: could not open unknown-block(8,1).
    Apr 21 18:34:50 Asgard kernel: [ 2374.629231] md: md_import_device returned -16
    Apr 21 18:34:50 Asgard kernel: [ 2374.629142] md: could not open unknown-block(8,1).
    Apr 21 18:34:50 Asgard kernel: [ 2374.629231] md: md_import_device returned -16
    Apr 21 18:34:50 Asgard kernel: [ 2374.654839] md: bind<sda1>
    Apr 21 18:34:50 Asgard kernel: [ 2374.654839] md: bind<sda1>
    Apr 21 18:34:50 Asgard kernel: [ 2374.696994] md: bind<sdf1>
    Apr 21 18:34:50 Asgard kernel: [ 2374.696994] md: bind<sdf1>
    Apr 21 18:34:50 Asgard kernel: [ 2374.718340] md: bind<sdc1>
    Apr 21 18:34:50 Asgard kernel: [ 2374.718340] md: bind<sdc1>
    Apr 21 18:34:50 Asgard kernel: [ 2374.751766] md: bind<sdh1>
    Apr 21 18:34:50 Asgard kernel: [ 2374.751766] md: bind<sdh1>
    Apr 21 18:34:50 Asgard kernel: [ 2374.801788] md: bind<sdi1>
    Apr 21 18:34:50 Asgard kernel: [ 2374.801788] md: bind<sdi1>
    Apr 21 18:34:50 Asgard kernel: [ 2374.841492] md/raid:md0: not clean -- starting background reconstruction
    Apr 21 18:34:50 Asgard kernel: [ 2374.841526] md/raid:md0: device sdi1 operational as raid disk 4
    Apr 21 18:34:50 Asgard kernel: [ 2374.841533] md/raid:md0: device sdh1 operational as raid disk 3
    Apr 21 18:34:50 Asgard kernel: [ 2374.841539] md/raid:md0: device sdc1 operational as raid disk 1
    Apr 21 18:34:50 Asgard kernel: [ 2374.841544] md/raid:md0: device sdf1 operational as raid disk 2
    Apr 21 18:34:50 Asgard kernel: [ 2374.841549] md/raid:md0: device sda1 operational as raid disk 0
    Apr 21 18:34:50 Asgard kernel: [ 2374.842777] md/raid:md0: allocated 5334kB
    Apr 21 18:34:50 Asgard kernel: [ 2374.842842] md/raid:md0: raid level 6 active with 5 out of 5 devices, algorithm 2
    Apr 21 18:34:50 Asgard kernel: [ 2374.842847] RAID conf printout:
    Apr 21 18:34:50 Asgard kernel: [ 2374.842851]  --- level:6 rd:5 wd:5
    Apr 21 18:34:50 Asgard kernel: [ 2374.842856]  disk 0, o:1, dev:sda1
    Apr 21 18:34:50 Asgard kernel: [ 2374.842860]  disk 1, o:1, dev:sdc1
    Apr 21 18:34:50 Asgard kernel: [ 2374.842864]  disk 2, o:1, dev:sdf1
    Apr 21 18:34:50 Asgard kernel: [ 2374.842868]  disk 3, o:1, dev:sdh1
    Apr 21 18:34:50 Asgard kernel: [ 2374.842872]  disk 4, o:1, dev:sdi1
    Apr 21 18:34:50 Asgard kernel: [ 2374.842934] md0: detected capacity change from 0 to 6001188667392
    Apr 21 18:34:50 Asgard kernel: [ 2374.843215] md: resync of RAID array md0
    Apr 21 18:34:50 Asgard kernel: [ 2374.843220] md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
    Apr 21 18:34:50 Asgard kernel: [ 2374.843225] md: using maximum available idle IO bandwidth (but not more than 200000 KB/sec) for resync.
    Apr 21 18:34:50 Asgard kernel: [ 2374.843238] md: using 128k window, over a total of 1953511936k.
    Apr 21 18:34:50 Asgard kernel: [ 2374.841492] md/raid:md0: not clean -- starting background reconstruction
    Apr 21 18:34:50 Asgard kernel: [ 2374.841526] md/raid:md0: device sdi1 operational as raid disk 4
    Apr 21 18:34:50 Asgard kernel: [ 2374.841533] md/raid:md0: device sdh1 operational as raid disk 3
    Apr 21 18:34:50 Asgard kernel: [ 2374.841539] md/raid:md0: device sdc1 operational as raid disk 1
    Apr 21 18:34:50 Asgard kernel: [ 2374.841544] md/raid:md0: device sdf1 operational as raid disk 2
    Apr 21 18:34:50 Asgard kernel: [ 2374.841549] md/raid:md0: device sda1 operational as raid disk 0
    Apr 21 18:34:50 Asgard kernel: [ 2374.842777] md/raid:md0: allocated 5334kB
    Apr 21 18:34:50 Asgard kernel: [ 2374.842842] md/raid:md0: raid level 6 active with 5 out of 5 devices, algorithm 2
    Apr 21 18:34:50 Asgard kernel: [ 2374.842847] RAID conf printout:
    Apr 21 18:34:50 Asgard kernel: [ 2374.842851]  --- level:6 rd:5 wd:5
    Apr 21 18:34:50 Asgard kernel: [ 2374.842856]  disk 0, o:1, dev:sda1
    Apr 21 18:34:50 Asgard kernel: [ 2374.842860]  disk 1, o:1, dev:sdc1
    Apr 21 18:34:50 Asgard kernel: [ 2374.842864]  disk 2, o:1, dev:sdf1
    Apr 21 18:34:50 Asgard kernel: [ 2374.842868]  disk 3, o:1, dev:sdh1
    Apr 21 18:34:50 Asgard kernel: [ 2374.842872]  disk 4, o:1, dev:sdi1
    Apr 21 18:34:50 Asgard kernel: [ 2374.842934] md0: detected capacity change from 0 to 6001188667392
    Apr 21 18:34:50 Asgard kernel: [ 2374.843215] md: resync of RAID array md0
    Apr 21 18:34:50 Asgard kernel: [ 2374.843220] md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
    Apr 21 18:34:50 Asgard kernel: [ 2374.843225] md: using maximum available idle IO bandwidth (but not more than 200000 KB/sec) for resync.
    Apr 21 18:34:50 Asgard kernel: [ 2374.843238] md: using 128k window, over a total of 1953511936k.
    Apr 21 18:34:50 Asgard kernel: [ 2374.871632]  md0: unknown partition table
    Apr 21 18:34:50 Asgard kernel: [ 2374.871632]  md0: unknown partition table
    Apr 21 18:34:50 Asgard mdadm[1835]: RebuildFinished event detected on md device /dev/md0
    Apr 21 18:34:50 Asgard mdadm[1835]: RebuildFinished event detected on md device /dev/md0
    Apr 21 18:34:50 Asgard mdadm[1835]: RebuildStarted event detected on md device /dev/md0
    Apr 21 18:34:50 Asgard mdadm[1835]: RebuildStarted event detected on md device /dev/md0
    Does it finish resyncing correctly, and survive a reboot (not rebuilding after reboot)?

  2. #32
    Join Date
    Mar 2009
    Beans
    19

    Re: MD raid trouble.

    Sorry took a while to answer, had to let it finish the filesystem initialization.
    And no it didn't trigger a resync after reboot.

Page 4 of 4 FirstFirst ... 234

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •