Hallo,
ich hab 2 Festplatten (200GB und 60GB), die ich zu einer großen Partition zusammenfügen will. Habe da an Software Raid0 gedacht
Die entsprechenden Kernelmodule sind geladen und die Partitionen auf
den Typ "FD" gesetzt:
Code:
hdc1 Primary Linux raid autodetect 203928.11
Code:
hdb1 Primary Linux raid autodetect 61492.84
Code:
linux:/usr/share/doc/mdadm# mdadm --create /dev/md0 --chunk=64 --level=raid0 --raid-devices=2 -f /dev/hdb1 /dev/hdc1
mdadm: /dev/hdb1 appears to be part of a raid array:
level=raid0 devices=2 ctime=Thu Feb 21 23:59:47 2008
Continue creating array?
Continue creating array? (y/n) y
mdadm: array /dev/md0 started.
linux:/usr/share/doc/mdadm#
cat /proc/mdstat
Code:
linux:/usr/share/doc/mdadm# cat /proc/mdstat
Personalities : [raid0] [linear]
md0 : active raid0 hdc1[1] hdb1[0]
200125056 blocks 64k chunks
unused devices: <none>
Seltsam ist jetzt wieso /dev/md0 nur ca 200GB Kapazität obwohl ich eigentlich 260 GB haben müsste.
Ich dachte erst das liegt daran das die 2 Platten nicht gleich gross sind aber ich erinnere mich ein einem Howto gelesen das das kein Problem sei. Der "Rest" würde dann normal beschreiben werden.
Hab auch mal statt raid0 einfach "linear" genommen was den gleichen Effekt hatt(nur 200GB stat 260)
weis jemand wie sich die vollen 260 GB benutzen lassen?
gruss martin
Lesezeichen