Gentoo Archives: gentoo-user

From: "Boyd Stephen Smith Jr." <bss03@××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] getting rid of raid header
Date: Sun, 25 Mar 2007 21:14:01
Message-Id: 200703251603.13655.bss03@volumehost.net
In Reply to: Re: [gentoo-user] getting rid of raid header by Alan
1 On Sunday 25 March 2007, Alan <alan@×××××.org> wrote about 'Re:
2 [gentoo-user] getting rid of raid header':
3 > On Sun, Mar 25, 2007 at 04:03:32AM -0500, Boyd Stephen Smith Jr. wrote:
4 > > On Sunday 25 March 2007, Alan <alan@×××××.org> wrote about
5 > > '[gentoo-user]
6 > > getting rid of raid header':
7 > > > Somehow one of my hard drives got a raid header on it, causing it to
8 > > > start when not needed. Running mdadm
9 > >
10 > > I believe
11 > > there's a --zero-superblock mode.
12 >
13 > Perfect, except it says that it can't open it for writing. Guess I'll
14 > boot off a liveCD and see if that helps.
15
16 You'll have to make sure that disk is (1) not mounted anywhere, (2 - lvm
17 specific) not a pv of any vg with at least one active lv, and (3) not a
18 member disk of any running software raid device, (4) not
19 otherwise "locked - in use" by other kernel systems like evms, iscsi, nbd,
20 or others.
21
22 (1) is solved by careful use of umount.
23 (2) is solved by careful use of lvchange -an or vgchange -an
24 (3) is solved by careful use of mdadm -S
25 (4) is solved using tools specific to that kernel system.
26
27 Unless you are using it for some vital filesystem, you should be able to
28 fix you issue with rebooting.
29
30 --
31 Boyd Stephen Smith Jr. ,= ,-_-. =.
32 bss03@××××××××××.net ((_/)o o(\_))
33 ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
34 http://iguanasuicide.org/ \_/
35 New GPG Key! Old key expires 2007-03-25. Upgrade NOW!