Jumat, 27 Maret 2015

Bristol Digest, Vol 595, Issue 3

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Solved: RE: mdadm messed up (Martin Moore)


----------------------------------------------------------------------

Message: 1
Date: Thu, 26 Mar 2015 14:29:02 -0000
From: "Martin Moore" <martinm@it-helps.co.uk>
To: "'Bristol and Bath Linux User Group'" <bristol@mailman.lug.org.uk>
Subject: [bristol] Solved: RE: mdadm messed up
Message-ID:
<!&!AAAAAAAAAAAYAAAAAAAAAFLxZtQqo65Oo+1jhlUB9DvCgAAAEAAAAAoJTn81AEVHmFVDrB2VLMsBAAAAAA==@it-helps.co.uk>

Content-Type: text/plain; charset="us-ascii"

OK, managed to untangle things.

1. cfdisk /dev/sdb and delete all partitions
2. Large glass of whisky
3. Reboot
4. All devices now as expected - active with one drive
5. Add all partions to the array

Currently synching the first with the others delayed as I expect.


Martin.

-----Original Message-----
From: bristol-bounces@mailman.lug.org.uk
[mailto:bristol-bounces@mailman.lug.org.uk] On Behalf Of Martin Moore
Sent: 25 March 2015 15:08
To: 'Bristol and Bath Linux User Group'
Subject: [bristol] mdadm messed up

I've 2 servers A and B, both identical. Somehow an apt-get update screwed up
A so I took a RAID1 disk from B.

Seemed to work OK, now I'm back home and only 2 of the MDx's are running so
I'm missing some partitions! I'm sure I failed the partitions of the 2nd
drive before I removed it.

sda is the 'good/master' disk


This is what I get:

root@A:/# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sda1[1]
19514240 blocks super 1.2 [2/1] [_U]

md1 : inactive sda5[1](S) sdb5[2](S)
195182815 blocks super 1.2

md4 : active raid1 sda8[1]
244008768 blocks super 1.2 [2/1] [_U]

md3 : inactive sda7[1](S) sdb7[2](S)
19515968 blocks super 1.2

md2 : inactive sda6[1](S) sdb6[2](S)
195182815 blocks super 1.2

unused devices: <none>


Tried to manage but that fails:
root@A:/# mdadm --manage /dev/md1 --remove sdb5
mdadm: Cannot get array info for /dev/md1



What do I need to do to sort this - Google has failed me :) ?

Cheers,

Martin.



_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.5856 / Virus Database: 4315/9375 - Release Date: 03/24/15




------------------------------

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

End of Bristol Digest, Vol 595, Issue 3
***************************************

Tidak ada komentar:

Posting Komentar