mdadm --detail XXX gives strange output for raid1 (doble disk space as it should be)
Hello
I have a problem with raid1. I have 4 raid partitions were I have rearranged the disk partitions. I have removed raid config, array etc. of 2 arrays, partitioned the disk at the beginning to rearrange and created the 2 arrays again with yast and opensuse 10.3 Now one array (md0) shows me the Used Dev Size 18.63GB and Array Size 9.31GB but I use raid1 not raid0 and the fs details of the "normal" partitions shows the right sizes (9.31GB)... I have already created and formated again the md0 but still the same problem. Mounted the /dev/md0 it shows the right space but I really don't trust this. And this will be my new / filesytem so I want to be shure that it will be right. BTW: All raid arrays were created with suse 9.0 this 2 new ones with opensuse 10.3 ... The version from mdadm --detail /dev/mdX says: old one: 00.90.03 new one: 01.00.03 What could this be? Any idea? What can I do? Here the output of the good one and bad one raid arrays ... Greetings Beat Info of newly created /dev/md0 (Bad one) [HTML] ###### /dev/md0 infos gw1:~ # mdadm --detail /dev/md0 /dev/md0: Version : 01.00.03 Creation Time : Fri Oct 24 12:26:34 2008 Raid Level : raid1 Array Size : 9767416 (9.31 GiB 10.00 GB) Used Dev Size : 19534832 (18.63 GiB 20.00 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Intent Bitmap : Internal Update Time : Fri Oct 24 12:29:52 2008 State : active Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Name : 0 UUID : fc1cbc64:d9dec569:023063e5:e847ffbc Events : 5 Number Major Minor RaidDevice State 0 8 7 0 active sync /dev/sda7 1 8 23 1 active sync /dev/sdb7 ###### /dev/sda7 infos gw1:~ # mdadm -E /dev/sda7 /dev/sda7: Magic : a92b4efc Version : 01 Feature Map : 0x1 Array UUID : fc1cbc64:d9dec569:023063e5:e847ffbc Name : 0 Creation Time : Fri Oct 24 12:26:34 2008 Raid Level : raid1 Raid Devices : 2 Used Dev Size : 19534832 (9.31 GiB 10.00 GB) Array Size : 19534832 (9.31 GiB 10.00 GB) Super Offset : 19534960 sectors State : active Device UUID : eacbc428:29e67ecb:d0151ce3:59e1d742 Internal Bitmap : -76 sectors from superblock Update Time : Fri Oct 24 12:29:52 2008 Checksum : c9ca60b5 - correct Events : 5 Array Slot : 0 (0, 1) Array State : Uu ###### /dev/sdb7 infos gw1:~ # mdadm -E /dev/sdb7 /dev/sdb7: Magic : a92b4efc Version : 01 Feature Map : 0x1 Array UUID : fc1cbc64:d9dec569:023063e5:e847ffbc Name : 0 Creation Time : Fri Oct 24 12:26:34 2008 Raid Level : raid1 Raid Devices : 2 Used Dev Size : 19534832 (9.31 GiB 10.00 GB) Array Size : 19534832 (9.31 GiB 10.00 GB) Super Offset : 19534960 sectors State : active Device UUID : a2058e71:10517059:f5a082bd:ae00a2f0 Internal Bitmap : -76 sectors from superblock Update Time : Fri Oct 24 12:29:52 2008 Checksum : 28b5afd0 - correct Events : 5 Array Slot : 1 (0, 1) Array State : uU [/HTML] Info of newly created /dev/md4 (Good one) Code:
###### /dev/md4 infos Code:
gw1:~ # cat /proc/mdstat |
All times are GMT -5. The time now is 08:23 AM. |