Hi,

I created today a raid5 with three 1.5TB harddisks.
What I did:
1. created partitions on every harddisk with type 0xfd, fdisk says:
Platte /dev/sdb: 1500.3 GByte, 1500301910016 Byte
255 K?pfe, 63 Sektoren/Spuren, 182401 Zylinder
Einheiten = Zylinder von 16065 ? 512 = 8225280 Bytes
Disk identifier: 0x9e99f286

    Ger?t  boot.     Anfang        Ende     Bl?cke   Id  System
/dev/sdb1 1 182401 1465136001 fd Linux raid autodetect

2. Created the raid with:
mdadm --create /dev/md0 --level 5 --raid-devices 3 /dev/sd[bcd]1

cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty]
md0 : active raid5 sdd1[2] sdc1[1] sdb1[0]
      2930271872 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]

Here seems everything fine.

3. Created a filesystem on the raid with:
mkfs.xfs /dev/xfs

4. Mounted the filesystem with:
mount /dev/md0 /video_test
df -h
/dev/md0              747G  5,5M  747G   1% /video_test

The raid should have a nice of 3TB and not 747GB.
Has anyone an idea what is wrong here?

TIA.

Best regards,
Matthias

--
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook


Reply via email to