Re: RAID disk failure

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

 




Am 18.12.2011 18:51, schrieb Sam Varshavchik:
> Carefully review the existing partition layout on what I presume is your good disk, /dev/sdb, and compare it with
> your recreated partition table on /dev/sda.
> 
> Hopefully, on /dev/sdb, your first partition starts on sector 2048, and not sector 63. You probably partitioned
> your new /dev/sda with the first partition starting on sector 63, which does not leave enough room to install grub.
> You'll have to start over. Fail and drop all your sda partitions on of all your md arrays. Create a new partition
> table on sda, recreating the partitions exactly how they are on sdb, starting with sector 2048, matching the start
> and the end of each partition, on sda, exactly how they exist on sdb. Then you'll be able to install grub.

normally "dd if=/dev/good-disk of=/dev/replaced-disk bs=512 count=1"
does this job wonderful because you have a 100% clone of the whole MBR
and partition table, yes i have done this serval times on a disk layout
with RAID1 for /boot, RAID10 for / and RAID10 for /mnt/data

[root@srv-rhsoft:~]$ fdisk -l /dev/sda
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 Köpfe, 63 Sektoren/Spur, 243201 Zylinder, zusammen 3907029168 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000ae2c

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sda1   *        2048     1026047      512000   fd  Linux raid autodetect
/dev/sda2         1026048    31746047    15360000   fd  Linux raid autodetect
/dev/sda3        31746048  3906971647  1937612800   fd  Linux raid autodetect

Personalities : [raid1] [raid10]
md2 : active raid10 sdc3[0] sdd3[3] sda3[4] sdb3[5]
      3875222528 blocks super 1.1 512K chunks 2 near-copies [4/4] [UUUU]
      bitmap: 6/29 pages [24KB], 65536KB chunk
md1 : active raid10 sdc2[0] sdd2[3] sda2[4] sdb2[5]
      30716928 blocks super 1.1 512K chunks 2 near-copies [4/4] [UUUU]
      bitmap: 1/1 pages [4KB], 65536KB chunk
md0 : active raid1 sdc1[0] sdd1[3] sda1[4] sdb1[5]
      511988 blocks super 1.0 [4/4] [UUUU]


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux