tech-userlevel archive

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

Re: swap-on-raidframe vs raidctl -P



On Tue, Jan 22, 2008 at 04:45:34PM -0500, Christos Zoulas wrote:
> On Jan 22, 10:40pm, bouyer%antioche.eu.org@localhost (Manuel Bouyer) wrote:
> -- Subject: Re: swap-on-raidframe vs raidctl -P
> 
> | No, but forcibly closing the raid device could solve other problems too,
> | like (I suspect, I didn't try it) cgd on raid.
> 
> Not while processes are swapping on it? Are you planning to kill them?
> Also swap is usually on top [who mounts things on top of swap?], so
> removing swap before unmounting should work.

I'm not sure the cgd device gets unconfigured on shutdown, even if it's not
in use any more. and I'm sure we could find other examples. If we had a way
to say "there won't be any more I/O anyway so cleanup any raid devices
(and others that need cleanup) and close them", it'd solve them all.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index