On Sat, 8 Jan 2011, Vladimir 'Ï-coder/phcoder' Serbinenko wrote:
As was recommended I forward the remaining part to linux-raid mailing list. In short: on his system mdraid, raid5, 4 devices, metadata (presumably) 0.90, two devices have index 0. If such situation is valid please advice me on how such situation should be handled. @Matthew: could you supply mdadm -Q outputput and *last* 64K of every disk?
$ sudo mdadm -QD /dev/md2 /dev/md2: Version : 0.90 Creation Time : Mon Mar 27 14:04:18 2006 Raid Level : raid5 Array Size : 2185667136 (2084.41 GiB 2238.12 GB) Used Dev Size : 728555712 (694.80 GiB 746.04 GB) Raid Devices : 4 Total Devices : 4 Preferred Minor : 2 Persistence : Superblock is persistent Update Time : Sat Jan 8 17:40:20 2011 State : clean Active Devices : 4 Working Devices : 4 Failed Devices : 0 Spare Devices : 0 Layout : left-symmetric Chunk Size : 64K UUID : 01e2f978:88d1f867:34e1e46c:f3c01470 Events : 0.32040050 Number Major Minor RaidDevice State 0 8 35 0 active sync /dev/sdc3 1 8 19 1 active sync /dev/sdb3 2 8 3 2 active sync /dev/sda3 3 8 51 3 active sync /dev/sdd3The actual last 64k of all the partitions in the array is all zeros. So is the 64k up to the end of the "Used Dev Size". What has some data in it is the 64k after that. I hope that has the superblock data I presume you're looking for. I.e. dd if=/dev/sdX3 bs=1024 skip=728555712 count=64.
-- -Matt "Reality is that which, when you stop believing in it, doesn't go away". -- Philip K. Dick GPG pubkey fingerprint: A57F B354 FD30 A502 795B 9637 3EF1 3F22 A85E 2AD1
Attachment:
last64k.tar.bz2
Description: Binary data