Podivna Velikost RAID 5

sniper_2 na centrum.cz sniper_2 na centrum.cz
Úterý Květen 9 09:13:10 CEST 2006


Prijemny slunecny den,

Vytvoril jsem si RAID 5 z 6 disku po 250GB :
mdadm  --create /dev/md4 --chunk=32 --level=5 --raid-devices=5 \
 --spare-devices=1 /dev/sdb1 /dev/sdd1 /dev/hda1 /dev/hdb1 /dev/hde1 /dev/hdf1 

Predpokladal bych velikost 1250GB. Velikost je vsak pouze 1000GB. 
Proc? pripadne jak tam dokopat onech 1250GB? 
Jeste se bych se chtel zeptat zda na nazor jaky soborovy system vybrat? 
Zdali XFS nebo EXT3? Jedna se o webhostingovy server.

 RAID 5

3 or more hard drives are combined into one larger volume. The volume size is 
(# of drives - 1) * drive size. One drive volume of space is lost because the 
equivalent of that much storage space is used to store the backup information 
for the other drives. 




# mdadm --detail /dev/md4
/dev/md4:
        Version : 00.90.03
  Creation Time : Tue May  9 08:22:05 2006
     Raid Level : raid5
     Array Size : 976783616 (931.53 GiB 1000.23 GB)
    Device Size : 244195904 (232.88 GiB 250.06 GB)
   Raid Devices : 5
  Total Devices : 6
Preferred Minor : 4
    Persistence : Superblock is persistent

    Update Time : Tue May  9 08:45:59 2006
          State : active, resyncing
 Active Devices : 5
Working Devices : 6
 Failed Devices : 0
  Spare Devices : 1

         Layout : left-symmetric
     Chunk Size : 32K

 Rebuild Status : 16% complete

           UUID : ca7589a1:44fc95a7:d709d0d7:63ac7c17
         Events : 0.35037

    Number   Major   Minor   RaidDevice State
       0       8       17        0      active sync   /dev/sdb1
       1       8       49        1      active sync   /dev/sdd1
       2       3        1        2      active sync   /dev/hda1
       3       3       65        3      active sync   /dev/hdb1
       4      33        1        4      active sync   /dev/hde1

       5      33       65        -      spare   /dev/hdf1


Další informace o konferenci Linux