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

Re: software raid 1: how to remove a UUID from a device?



On Fri, Dec 05, 2008 at 12:52:52PM -0600, lee wrote:
> On Fri, Dec 05, 2008 at 12:40:21PM +1100, Alex Samad wrote:
> > On Thu, Dec 04, 2008 at 07:10:44PM -0600, lee wrote:
> > > > On Thursday 2008 December 04 15:15, lee wrote:
> > > > > How do I remove the UUIDs from /dev/sda and /dev/sdb to prevent
> > > > > the automatic detection from being confused again?
> > > 
> > > > Check out the --zero-superblock mode for mdadm.  It is documented in 'man 8 
> > > > mdadm'.
> > > 
> > > cat:/home/lee# mdadm --zero-superblock /dev/sdb
> > > mdadm: Couldn't open /dev/sdb for write - not zeroing
> > > 
> > > 
> > > It's the same for sda. Do I need to stop all md devices involving
> > > these disks to remove the UUID? If so, how do you do it when it's not
> > > possible to stop them while the system is running (other than booting
> > > from CD or the like)?
> > 
> > whilst booting add init=/bin/bash to the kernel options, or boot up
> > knoppix or something like it
> 
> Oh. Does bash run with only the root partition mounted?

usually :), there is also a way to get busybox loaded from the initrd
and have it drop into a command prompt

> 
> 
> -- 
> "Don't let them, daddy. Don't let the stars run down."
> http://adin.dyndns.org/adin/TheLastQ.htm
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

-- 
Everything is controlled by a small evil group to which, unfortunately,
no one we know belongs.

Attachment: signature.asc
Description: Digital signature


Reply to: