[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: md: syncing RAID array



Matt Dunford wrote:

Salve Hal,

Eseguisca questi e dimmi che dicono:

fdisk -l /dev/hda
fdisk -l /dev/hdd
mdadm --query /dev/md3
mdadm --examine /dev/md3
cat /etc/mdadm/mdadm.conf


fdisk -l /dev/hda
------------------
Disk /dev/hda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1 * 1 12 96358+ fd Linux raid autodetect /dev/hda2 13 498 3903795 fd Linux raid autodetect /dev/hda3 499 680 1461915 fd Linux raid autodetect
/dev/hda4             681       14946   114591645    5  Extended
/dev/hda5 681 14090 107715793+ fd Linux raid autodetect /dev/hda6 14091 14946 6875788+ fd Linux raid autodetect


fdisk -l /dev/hdd
-------------------
Disk /dev/hdd: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdd1 * 1 12 96358+ fd Linux raid autodetect /dev/hdd2 13 498 3903795 fd Linux raid autodetect /dev/hdd3 499 680 1461915 fd Linux raid autodetect
/dev/hdd4             681       14946   114591645    5  Extended
/dev/hdd5 681 14090 107715793+ fd Linux raid autodetect /dev/hdd6 14091 14946 6875788+ fd Linux raid autodetect


mdadm --query /dev/md3
----------------------
/dev/md3: 102.73GiB raid1 2 devices, 0 spares. Use mdadm --detail for more detail.


mdadm --detail /dev/md3
------------------------
/dev/md3:
        Version : 00.90.03
  Creation Time : Tue Nov  7 21:32:45 2006
     Raid Level : raid1
     Array Size : 107715712 (102.73 GiB 110.30 GB)
    Device Size : 107715712 (102.73 GiB 110.30 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 3
    Persistence : Superblock is persistent

    Update Time : Wed Nov  8 21:35:13 2006
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

           UUID : d3448acb:8eb5b631:6cf69c1f:063c4334
         Events : 0.22

    Number   Major   Minor   RaidDevice State
       0       3        5        0      active sync   /dev/hda5
       1      22       69        1      active sync   /dev/hdd5



mdadm --examine /dev/md3
-------------------------
mdadm: No md superblock detected on /dev/md3


cat /etc/mdadm/mdadm.conf
-------------------------
DEVICE partitions
CREATE owner=root group=disk mode=0660 auto=yes metadata=1
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=259b84c8:be7720ba:773690c7:cbe2cd59 ARRAY /dev/md1 level=raid1 num-devices=2 UUID=d4f068c4:b5ef5cb7:25b78d97:32c88595 ARRAY /dev/md2 level=raid1 num-devices=2 UUID=7a03a2a7:e3dbffc5:86eca99b:12cacd61 ARRAY /dev/md3 level=raid1 num-devices=2 UUID=d3448acb:8eb5b631:6cf69c1f:063c4334 ARRAY /dev/md4 level=raid1 num-devices=2 UUID=01b4949c:264f41c8:0885290a:eb62ffa2
MAILADDR hal@localhost
DEVICE partitions
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=259b84c8:be7720ba:773690c7:cbe2cd59 ARRAY /dev/md1 level=raid1 num-devices=2 UUID=d4f068c4:b5ef5cb7:25b78d97:32c88595 ARRAY /dev/md2 level=raid1 num-devices=2 UUID=7a03a2a7:e3dbffc5:86eca99b:12cacd61 ARRAY /dev/md3 level=raid1 num-devices=2 UUID=d3448acb:8eb5b631:6cf69c1f:063c4334 ARRAY /dev/md4 level=raid1 num-devices=2 UUID=01b4949c:264f41c8:0885290a:eb62ffa2



Questo è tutto.
Dimenticavo, mdadm v2.5.2 (Giugno 2006)


Ciao,
Hal



Reply to: