On Sunday 25 March 2007, Alan <[EMAIL PROTECTED]> wrote about 'Re: 
[gentoo-user] getting rid of raid header':
> On Sun, Mar 25, 2007 at 04:03:32AM -0500, Boyd Stephen Smith Jr. wrote:
> > On Sunday 25 March 2007, Alan <[EMAIL PROTECTED]> wrote about
> > '[gentoo-user]
> > getting rid of raid header':
> > > Somehow one of my hard drives got a raid header on it, causing it to
> > > start when not needed.  Running mdadm
> >
> > I believe
> > there's a --zero-superblock mode.
>
> Perfect, except it says that it can't open it for writing.  Guess I'll
> boot off a liveCD and see if that helps.

You'll have to make sure that disk is (1) not mounted anywhere, (2 - lvm 
specific) not a pv of any vg with at least one active lv, and (3) not a 
member disk of any running software raid device, (4) not 
otherwise "locked - in use" by other kernel systems like evms, iscsi, nbd, 
or others.

(1) is solved by careful use of umount.
(2) is solved by careful use of lvchange -an or vgchange -an
(3) is solved by careful use of mdadm -S
(4) is solved using tools specific to that kernel system.

Unless you are using it for some vital filesystem, you should be able to 
fix you issue with rebooting.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     
New GPG Key!  Old key expires 2007-03-25.  Upgrade NOW!

Attachment: pgp23zNLt71AX.pgp
Description: PGP signature

Reply via email to