[Bug 1221967] [NEW] Segfault on rebuild

Brian Spisak bspisak at hotmail.com
Fri Sep 6 23:03:00 UTC 2013


Public bug reported:


Hi, 
I have a 4 disk RAID5 array with a failed disk. I removed the bad disk and inserted a new disk. However, when I try to rebuild with the new disk, dmraid crashes.  (See details below.)

I read elsewhere that ntfs may cause problems?  I have two ntfs
partitions. Can this be part of the problem? I need  to rebuild my array
before I loose another disk!  (Of course, I'm backed up.... but
still..... :-)

Thanks for any help!

# dmraid -f isw -R isw_chifcdfhf /dev/sdc
ERROR: isw: wrong number of devices in RAID set "isw_chifcdfhf_RAID5" [3/4] on /dev/sdd
ERROR: isw: wrong number of devices in RAID set "isw_chifcdfhf_RAID5" [3/4] on /dev/sde
ERROR: isw: wrong number of devices in RAID set "isw_chifcdfhf_RAID5" [3/4] on /dev/sdf
Segmentation fault (core dumped)

# dmraid -r
*** Group superset isw_chifcdfhf
--> *Inconsistent* Active Subset
name   : isw_chifcdfhf_RAID5
size   : 3907041280
stride : 256
type   : raid5_la
status : inconsistent
subsets: 0
devs   : 3
spares : 0

# dmraid -s 
/dev/sdf: isw, "isw_chifcdfhf", GROUP, ok, 1953525166 sectors, data@ 0
/dev/sde: isw, "isw_chifcdfhf", GROUP, ok, 1953525166 sectors, data@ 0
/dev/sdd: isw, "isw_chifcdfhf", GROUP, ok, 1953525166 sectors, data@ 0

# # df -T | grep mapper
/dev/mapper/isw_chifcdfhf_RAID5p5 fuseblk  2804317180 884804828 1919512352  32% /mnt/data
/dev/mapper/isw_chifcdfhf_RAID5p2 fuseblk    10485752   4082644    6403108  39% /mnt/share
/dev/mapper/isw_chifcdfhf_RAID5p3 ext4       10321208   3007356    6789564  31% /var
/dev/mapper/isw_chifcdfhf_RAID5p4 ext4      103212320  75764656   22204784  78% /home

# lsb_release -rd
Description:	Ubuntu 12.04.2 LTS
Release:	12.04

# apt-cache policy dmraid
dmraid:
  Installed: 1.0.0.rc16-4.1ubuntu8
  Candidate: 1.0.0.rc16-4.1ubuntu8

** Affects: dmraid (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dmraid in Ubuntu.
https://bugs.launchpad.net/bugs/1221967

Title:
  Segfault on rebuild

Status in “dmraid” package in Ubuntu:
  New

Bug description:
  
  Hi, 
  I have a 4 disk RAID5 array with a failed disk. I removed the bad disk and inserted a new disk. However, when I try to rebuild with the new disk, dmraid crashes.  (See details below.)

  I read elsewhere that ntfs may cause problems?  I have two ntfs
  partitions. Can this be part of the problem? I need  to rebuild my
  array before I loose another disk!  (Of course, I'm backed up.... but
  still..... :-)

  Thanks for any help!

  # dmraid -f isw -R isw_chifcdfhf /dev/sdc
  ERROR: isw: wrong number of devices in RAID set "isw_chifcdfhf_RAID5" [3/4] on /dev/sdd
  ERROR: isw: wrong number of devices in RAID set "isw_chifcdfhf_RAID5" [3/4] on /dev/sde
  ERROR: isw: wrong number of devices in RAID set "isw_chifcdfhf_RAID5" [3/4] on /dev/sdf
  Segmentation fault (core dumped)

  # dmraid -r
  *** Group superset isw_chifcdfhf
  --> *Inconsistent* Active Subset
  name   : isw_chifcdfhf_RAID5
  size   : 3907041280
  stride : 256
  type   : raid5_la
  status : inconsistent
  subsets: 0
  devs   : 3
  spares : 0

  # dmraid -s 
  /dev/sdf: isw, "isw_chifcdfhf", GROUP, ok, 1953525166 sectors, data@ 0
  /dev/sde: isw, "isw_chifcdfhf", GROUP, ok, 1953525166 sectors, data@ 0
  /dev/sdd: isw, "isw_chifcdfhf", GROUP, ok, 1953525166 sectors, data@ 0

  # # df -T | grep mapper
  /dev/mapper/isw_chifcdfhf_RAID5p5 fuseblk  2804317180 884804828 1919512352  32% /mnt/data
  /dev/mapper/isw_chifcdfhf_RAID5p2 fuseblk    10485752   4082644    6403108  39% /mnt/share
  /dev/mapper/isw_chifcdfhf_RAID5p3 ext4       10321208   3007356    6789564  31% /var
  /dev/mapper/isw_chifcdfhf_RAID5p4 ext4      103212320  75764656   22204784  78% /home

  # lsb_release -rd
  Description:	Ubuntu 12.04.2 LTS
  Release:	12.04

  # apt-cache policy dmraid
  dmraid:
    Installed: 1.0.0.rc16-4.1ubuntu8
    Candidate: 1.0.0.rc16-4.1ubuntu8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/1221967/+subscriptions




More information about the foundations-bugs mailing list