[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Raidctl -u ought to turn off autoconfigure on the target raid set
Brian Buhrow writes:
> Hello. OK. I guess I conceed the point. Perhaps a change to the
> manual to document that raidctl -u doesn't wipe the component labels so
> folks will know to expect this behavior.
Yes, good idea. It now reads:
-u dev Unconfigure the RAIDframe device. This does not remove any com-
ponent labels or change any configuration settings (e.g. auto-
configuration settings) for the RAID set.
> On Aug 26, 2:03pm, Greg Oster wrote:
> } Subject: Re: Raidctl -u ought to turn off autoconfigure on the target raid
> } Manuel Bouyer writes:
> } > On Tue, Aug 26, 2008 at 09:54:44AM -0700, Brian Buhrow wrote:
> } > > Hello. I'm not sure if I should file this as a PR or simply ma
> ke the
> } > > suggestion on the mailing lists.
> } > > When raidctl -u is run against a raid set which has auto-config
> } > > turned on, it really ought to first turn off autoconfigure on that raid
> } > > before it unconfigures the raid set. Otherwise, if you reboot the syst
> } > > the old raid set becomes a participant in the night of the living dead.
> } > > This can be a problem if you're trying to migrate from one image to ano
> } > > by breaking a mirrored raid set, putting a new image on one of the disk
> } > > configuring a new raid set with the newly imaged disk as the working
> } > > component, then rebooting to that new image and adding the disk with t
> } > > old image to the new raid set and thus completing your upgrade. When y
> } > > reboot, if the old disk is part of the original mirrored raid set, and
> } > > new disk is part of a new raid set, you automatically boot to the old i
> } > > again. Also, while it's possible to run raidctl -A no manualy before
> } > > unconfiguring the raid set, it would be nice not to have to remember th
> } > > step, or discover that you forgot it the hard way.
> } >
> } > If you really want to remove it permanently, just do
> } > raidctl -A no ...
> } > becore
> } > raidctl -u ...
> } >
> } > It can be handy to temporary unconfigure a raid device, and have it show
> } > up again after reboot.
> } "What he said." Perhaps a "raidctl -U" (for "Unconfigure and wipe
> } component labels") would be more useful for what you want...
> } Of course, that starts getting dangerous in terms of what can get nuked
> } by a simple mistake...
> } Later...
> } Greg Oster
> >-- End of excerpt from Greg Oster
Main Index |
Thread Index |