← Back to team overview

sslug-teknik team mailing list archive

software raid 1

 

Jeg prøver at lave et raid-1 melle to lige store
partitioner på to 75Gb ide-diske og følger
fremgangsmåden i Software-RAID-HOWTO.html.

når jeg skriver 

root]# mkraid /dev/md0
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hdb1, 32772568kB, raid superblock at 32772480kB
disk 1: /dev/hdd1, 32772568kB, raid superblock at 32772480kB
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.

/root]# cat /etc/raidtab
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 4
persistent-superblock 1
device          /dev/hdb1
raid-disk       0
device          /dev/hdd1
raid-disk       1

root]# fdisk /dev/hdd -l

Disk /dev/hdd: 255 heads, 63 sectors, 9345 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdd1             1      4080  32772568+  83  Linux
/dev/hdd2          4081      9345  42291112+  83  Linux

root]# fdisk /dev/hdb -l

Disk /dev/hdb: 255 heads, 63 sectors, 9345 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1             1      4080  32772568+  83  Linux
/dev/hdb2          4081      9345  42291112+  83  Linux

root]# cat /proc/mdstat
Personalities :
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive
[/root]#

der er ingenting i syslog. Nogen der har et clue?

/Nikolaj Berntsen@xxxxxxxx



Follow ups