← Back to team overview

kernel-packages team mailing list archive

[Bug 974275] Re: md trancates devices with kernel >=2.6.32-37-server

 

[Expired for linux (Ubuntu) because there has been no activity for 60
days.]

** Changed in: linux (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/974275

Title:
  md trancates devices with kernel >=2.6.32-37-server

Status in “linux” package in Ubuntu:
  Expired

Bug description:
  After updating the kernel to one >=2.6.32-37 our MD device decided to
  show up as only a fraction of it's previous size.

  With the previous kernel, md0 shows up (correctly) as 85681.66 GiB,
  but with the newer kernel it shows up as only 8192.00 GiB - a serious
  order of magnitude different! Needless to say, with the incorrect size
  being reported/used, the md device is unusable and prevents access to
  the partitions on it.

  Whilst running 2.6.32-33-server:
  root@saturn:~# mdadm --detail /dev/md0
  /dev/md0:
          Version : 00.90
    Creation Time : Mon Aug  9 09:15:41 2010
       Raid Level : raid0
       Array Size : 89843731712 (85681.66 GiB 91999.98 GB)
     Raid Devices : 2
    Total Devices : 2
  Preferred Minor : 0
      Persistence : Superblock is persistent

      Update Time : Mon Aug  9 09:15:41 2010
            State : clean
   Active Devices : 2
  Working Devices : 2
   Failed Devices : 0
    Spare Devices : 0

       Chunk Size : 128K

             UUID : 1c27f277:0fbb69c8:852484a6:e390a598 (local to host saturn)
           Events : 0.1

      Number   Major   Minor   RaidDevice State
         0       8       32        0      active sync   /dev/sdc
         1       8       48        1      active sync   /dev/sdd
  root@saturn:~#  cat /proc/partitions
  major minor  #blocks  name

     8        0  488386584 sda
     8        1  468581376 sda1
     8        2          1 sda2
     8        5   19803136 sda5
     8       16  488386584 sdb
     8       17  468581376 sdb1
     8       18          1 sdb2
     8       21   19803136 sdb5
     8       32 44921865984 sdc
     9        2  468581312 md2
     8       48 44921865984 sdd
     9        0 89843731712 md0
   259        0 89843731200 md0p1
  root@saturn:~# fdisk -l /dev/md0

  WARNING: GPT (GUID Partition Table) detected on '/dev/md0'! The util
  fdisk doesn't support GPT. Use GNU Parted.

  Disk /dev/md0: 92000.0 GB, 91999981273088 bytes
  255 heads, 63 sectors/track, 11185027 cylinders
  Units = cylinders of 16065 * 512 = 8225280 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 131072 bytes / 262144 bytes
  Disk identifier: 0x00000000

      Device Boot      Start         End      Blocks   Id  System
  /dev/md0p1               1      267350  2147483647+  ee  GPT
  Partition 1 does not start on physical sector boundary.

  But whilst running 2.6.32-40-server:
  root@saturn:~# mdadm --detail /dev/md0
  /dev/md0:
          Version : 00.90
    Creation Time : Mon Aug  9 09:15:41 2010
       Raid Level : raid0
       Array Size : 8589934336 (8192.00 GiB 8796.09 GB)
     Raid Devices : 2
    Total Devices : 2
  Preferred Minor : 0
      Persistence : Superblock is persistent

      Update Time : Mon Aug  9 09:15:41 2010
            State : clean
   Active Devices : 2
  Working Devices : 2
   Failed Devices : 0
    Spare Devices : 0

       Chunk Size : 128K

             UUID : 1c27f277:0fbb69c8:852484a6:e390a598 (local to host saturn)
           Events : 0.1

      Number   Major   Minor   RaidDevice State
         0       8       32        0      active sync   /dev/sdc
         1       8       48        1      active sync   /dev/sdd
  root@saturn:~# cat /proc/partitions
  major minor  #blocks  name

     8        0  488386584 sda
     8        1  468581376 sda1
     8        2          1 sda2
     8        5   19803136 sda5
     8       16  488386584 sdb
     8       17  468581376 sdb1
     8       18          1 sdb2
     8       21   19803136 sdb5
     8       48 44921865984 sdd
     8       32 44921865984 sdc
     9        2  468581312 md2
     9        0 8589934336 md0
  root@saturn:~# fdisk -l /dev/md0

  WARNING: GPT (GUID Partition Table) detected on '/dev/md0'! The util
  fdisk doesn't support GPT. Use GNU Parted.

  Disk /dev/md0: 8796.1 GB, 8796092760064 bytes
  255 heads, 63 sectors/track, 1069397 cylinders
  Units = cylinders of 16065 * 512 = 8225280 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 131072 bytes / 262144 bytes
  Disk identifier: 0x00000000

      Device Boot      Start         End      Blocks   Id  System
  /dev/md0p1               1      267350  2147483647+  ee  GPT
  Partition 1 does not start on physical sector boundary.

  This is a major bug introduced on (what should be) a mature LTS
  release, and will need addressing ASAP.

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