Hello All,
For some days I am trying to create software RAID1 on my CentOS 5.7
I connected two 2TB same disks on /dev/sdb and /dev/sdd
I made array looks like:
Code:
Version : 0.90
Creation Time : Wed Mar 16 14:03:50 2016
Raid Level : raid1
Array Size : 1953514496 (1863.02 GiB 2000.40 GB)
Used Dev Size : 1953514496 (1863.02 GiB 2000.40 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Wed Mar 16 15:58:54 2016
State : active, resyncing
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Rebuild Status : 81% complete
UUID : c04a7f9a:2da28181:59fc1b56:a54772ff
Events : 0.7
Number Major Minor RaidDevice State
0 8 16 0 active sync /dev/sdb
1 8 48 1 active sync /dev/sdd
so everything looks good so far, but when I try to make file system I have an error all the time.
When partitioning:
Code:
WARNING: Re-reading the partition table failed with error 22: Invalid argument.
And then making fs (no matter restarted or not):
Code:
mkfs ext4 /dev/md0p1
I get
Code:
mkfs.ext2: invalid blocks count - /dev/md0p1
How number of blocks can be wrong? Why I get "Invalid argument" error when the same partitiong and formatting works perfectly on both disks separately?
Any help will be very valuable for me.
Regards
Gabriel