All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Janos Haar" <janos.haar@netcenter.hu>
To: linux-raid@vger.kernel.org
Subject: RAID0 size bug (?)
Date: Sat, 9 Oct 2010 00:56:38 +0200	[thread overview]
Message-ID: <0a7401cb673c$12820280$0400a8c0@dcccs> (raw)

Hello list,

Maybe a known old bug, but i don't know.

The size is wrong of the md8:

[root@UNISTORE ~]# fdisk -l /dev/sdh

Disk /dev/sdh: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdh doesn't contain a valid partition table
[root@UNISTORE ~]# fdisk -l /dev/sdf

Disk /dev/sdf: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdf doesn't contain a valid partition table
[root@UNISTORE ~]# mdadm --detail /dev/md8
/dev/md8:
        Version : 00.90.03
  Creation Time : Sat Oct  9 06:36:36 2010
     Raid Level : raid0
     Array Size : 1220961088 (1164.40 GiB 1250.26 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 8
    Persistence : Superblock is not persistent

    Update Time : Sat Oct  9 06:36:36 2010
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

     Chunk Size : 64K

    Number   Major   Minor   RaidDevice State
       0       8      112        0      active sync   /dev/sdh
       1       8       80        1      active sync   /dev/sdf
[root@UNISTORE ~]#
[root@UNISTORE ~]# uname -a
Linux UNISTORE 2.6.28.10 #5 SMP Fri Jan 29 07:40:35 CET 2010 x86_64 x86_64 
x86_64 GNU/Linux
[root@UNISTORE ~]# mdadm -V
mdadm - v2.5.4 - 13 October 2006
[root@UNISTORE ~]#


Cheers,
Janos 


             reply	other threads:[~2010-10-08 22:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-08 22:56 Janos Haar [this message]
2010-10-08 23:45 ` RAID0 size bug (?) Neil Brown
2010-10-09 19:09   ` Janos Haar
2010-10-09 20:01     ` Neil Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='0a7401cb673c$12820280$0400a8c0@dcccs' \
    --to=janos.haar@netcenter.hu \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.