RAID size mismatch
Hi,
Sorry for spamming the list so hard... Now I'm missing something.
I issued the following commands in the Lenny installer:
~ # modprobe raid1
~ # mdadm --create /dev/md0 --auto=yes -l1 -n2 /dev/ram0 /dev/ram1
mdadm: array /dev/md0 started.
~ # cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 ram1[1] ram0[0]
8128 blocks [2/2] [UU]
After this partman presents me with the following menu items:
6. RAID1 device #0 - 8.3 MB Software RAID device
7. > #1 4.2 MB
What are those two different sizes?
~ # parted_devices
/dev/md0 4161536 Unknown
~ # mdadm -D /dev/md0
/dev/md0:
Version : 00.90.03
Creation Time : Sun Apr 6 22:41:37 2008
Raid Level : raid1
Array Size : 8128 (7.94 MiB 8.32 MB)
Used Dev Size : 8128 (7.94 MiB 8.32 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Sun Apr 6 22:41:40 2008
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 943b966d:1f04bc87:b8bc6804:7db3c3dc
Events : 0.2
Number Major Minor RaidDevice State
0 1 0 0 active sync /dev/ram0
1 1 1 1 active sync /dev/ram1
~ # lsmod
Module Size Used by
raid1 21984 1
md_mod 71316 1 raid1
xfs 476760 0
I would be grateful if somebody could provide an explanation.
--
Thanks,
Feri.
Reply to: