my first hdd (where i have data and system)
Code:
cfdisk 2.12p
Disk Drive: /dev/hda
Size: 160041885696 bytes, 160.0 GB
Heads: 255 Sectors per Track: 63 Cylinders: 19457
Name Flags Part Type FS Type [Label] Size (MB)
----------------------------------------------------------------------------------------------------------
hda1 Primary Linux raid autodetect 1019.94
hda2 Boot Primary Linux raid autodetect 50001.48
hda3 Primary Linux raid autodetect 29997.60
hda4 Primary Linux raid autodetect 79020.27
my blank hdd
Code:
Disk Drive: /dev/hdc
Size: 160041885696 bytes, 160.0 GB
Heads: 255 Sectors per Track: 63 Cylinders: 19457
Name Flags Part Type FS Type [Label] Size (MB)
----------------------------------------------------------------------------------------------------------
Pri/Log Free Space 160039.28
on the startup with Linux raid autodetect
'dmesg'
Code:
md: Autodetecting RAID arrays.
md: invalid raid superblock magic on hda2
md: hda2 has invalid sb, not importing!
md: invalid raid superblock magic on hda3
md: hda3 has invalid sb, not importing!
md: invalid raid superblock magic on hda4
md: hda4 has invalid sb, not importing!
md: autorun ...
md: considering hda1 ...
md: adding hda1 ...
md: created md0
md: bind<hda1>
md: running: <hda1>
md: md0: raid array is not clean -- starting background reconstruction
raid1: raid set md0 active with 1 out of 2 mirrors
md: ... autorun DONE.
'cat /proc/mdstat'
Code:
root@servcd:~# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5] [raid6] [raid10] [faulty]
md0 : active raid1 hda1[0]
995904 blocks [2/1] [U_]
unused devices: <none>
hmm , the raid don't sync hdd.... and i think raid don't work..?
but the solution is not far....
my raidtab if you want...
Code:
# md device [dev 9, 0] /dev/md0 queried offline
# Authoritative device is [dev 22, 0] /dev/hdc
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 32
device /dev/hda
raid-disk 0
device /dev/hdc
raid-disk 1
Quote:
but I think you should build a partition and specify format is Linux raid auto as well.
|
hum for hda ? and create partition on hdc with Linux raid auto type ?