From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KseEd-0000J0-KN for garchives@archives.gentoo.org; Wed, 22 Oct 2008 13:58:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A0EDE0500; Wed, 22 Oct 2008 13:58:50 +0000 (UTC) Received: from zion.lichtfels.com (zion.lichtfels.com [88.198.33.170]) by pigeon.gentoo.org (Postfix) with ESMTP id 0A2A5E0500 for ; Wed, 22 Oct 2008 13:58:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zion.lichtfels.com (Postfix) with ESMTP id C919A184007 for ; Wed, 22 Oct 2008 15:58:42 +0200 (CEST) Received: from zion.lichtfels.com ([127.0.0.1]) by localhost (zion [127.0.0.1]) (amavisd-maia, port 10024) with LMTP id 04749-10 for ; Wed, 22 Oct 2008 15:58:42 +0200 (CEST) Received: from [172.32.99.12] (mail.oops.co.at [213.129.238.225]) by zion.lichtfels.com (Postfix) with ESMTPA id F06BC184006 for ; Wed, 22 Oct 2008 15:58:41 +0200 (CEST) Message-ID: <48FF3194.7020809@xunil.at> Date: Wed, 22 Oct 2008 15:58:44 +0200 From: "Stefan G. Weichinger" Organization: oops! User-Agent: Thunderbird 2.0.0.17 (X11/20081001) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] md-device too small: where's my mistake? X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: amavisd-maia at lichtfels.com Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 5bc9a177-58af-4e85-8e3b-36f5ca3aa683 X-Archives-Hash: 4cbb3276c6b5a5ea11c9c9ab1471728a Greets, I currently try to setup a md-device containing of 4 partitions on 4 SATA-drives: # fdisk -l | grep "sd" Platte /dev/sda: 1000.2 GByte, 1000204886016 Byte /dev/sda1 1 2 16033+ fd Linux raid autodetect /dev/sda2 3 21 152617+ 82 Linux Swap / Sola= ris /dev/sda3 22 1116 8795587+ fd Linux raid autodetect /dev/sda4 1117 121601 967795762+ fd Linux raid autodetect Platte /dev/sdb: 1000.2 GByte, 1000204886016 Byte /dev/sdb1 1 2 16033+ fd Linux raid autodetect /dev/sdb2 3 21 152617+ 82 Linux Swap / Sola= ris /dev/sdb3 22 1116 8795587+ fd Linux raid autodetect /dev/sdb4 1117 121601 967795762+ fd Linux raid autodetect Platte /dev/sdc: 1000.2 GByte, 1000204886016 Byte /dev/sdc1 1 2 16033+ fd Linux raid autodetect /dev/sdc2 3 21 152617+ 82 Linux Swap / Sola= ris /dev/sdc3 22 1116 8795587+ fd Linux raid autodetect /dev/sdc4 1117 121601 967795762+ fd Linux raid autodetect Platte /dev/sdd: 1000.2 GByte, 1000204886016 Byte /dev/sdd1 1 2 16033+ fd Linux raid autodetect /dev/sdd2 3 21 152617+ 82 Linux Swap / Sola= ris /dev/sdd3 22 1116 8795587+ fd Linux raid autodetect /dev/sdd4 1117 121601 967795762+ fd Linux raid autodetect I want a RAID5-device md2 (without hotspare, while md1 *has* a hotspare-partition) containing the partitions "sd?4". I have now: cat /proc/mdstat Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] md1 : active raid5 sdd3[3](S) sdc3[2] sdb3[1] sda3[0] 17591040 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU] md2 : active raid5 sdd4[3] sdc4[2] sdb4[1] sda4[0] 2903386944 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU] md0 : active raid1 sdb1[1] sda1[0] 15936 blocks [2/2] [UU] md2 is the one that gives me headaches. AFAI understand it should be about 3TB in size, but it is only 774 GB .... # fdisk -l /dev/md2 Platte /dev/md2: 774.0 GByte, 774044975104 Byte 2 K=F6pfe, 4 Sektoren/Spuren, 188975824 Zylinder Einheiten =3D Zylinder von 8 =D7 512 =3D 4096 Bytes Disk identifier: 0x00000000 Why? # cat /proc/version Linux version 2.6.25-gentoo-r8 (root@horde) (gcc version 4.1.2 (Gentoo 4.1.2 p1.1)) #2 SMP Wed Oct 22 11:07:19 CEST 2008 Maybe anything wrong in my kernel? I also noticed that only 1G RAM of 2 had been detected as I had no SMP-support in the previous kernel ... now I have ... Thanks for any pointer .... Stefan