* stopped array, but /sys/block/mdN still exists. @ 2008-01-02 21:15 Jon Nelson 2008-01-03 4:44 ` Neil Brown 0 siblings, 1 reply; 3+ messages in thread From: Jon Nelson @ 2008-01-02 21:15 UTC (permalink / raw) To: Linux RAID This isn't a high priority issue or anything, but I'm curious: I --stop(ped) an array but /sys/block/md2 remained largely populated. Is that intentional? -- Jon ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: stopped array, but /sys/block/mdN still exists. 2008-01-02 21:15 stopped array, but /sys/block/mdN still exists Jon Nelson @ 2008-01-03 4:44 ` Neil Brown [not found] ` <477D3D76.3000803@tmr.com> 0 siblings, 1 reply; 3+ messages in thread From: Neil Brown @ 2008-01-03 4:44 UTC (permalink / raw) To: Jon Nelson; +Cc: linux-raid On Wednesday January 2, jnelson-linux-raid@jamponi.net wrote: > This isn't a high priority issue or anything, but I'm curious: > > I --stop(ped) an array but /sys/block/md2 remained largely populated. > Is that intentional? It is expected. Because of the way that md devices are created (just open the device-special file), it is very hard to make them disappear in a race-free manner. I tried once and failed. It is probably getting close to trying again, but as you say: it isn't a high priority issue. NeilBrown ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <477D3D76.3000803@tmr.com>]
* Re: stopped array, but /sys/block/mdN still exists. [not found] ` <477D3D76.3000803@tmr.com> @ 2008-01-03 21:32 ` Neil Brown 0 siblings, 0 replies; 3+ messages in thread From: Neil Brown @ 2008-01-03 21:32 UTC (permalink / raw) To: Bill Davidsen; +Cc: Jon Nelson, linux-raid On Thursday January 3, davidsen@tmr.com wrote: > > So what happens if I try to _use_ that /sys entry? For instance run a > script which reads data, or sets the stripe_cache_size higher, or > whatever? Do I get back status, ignored, or system issues? Try it:-) The stripe_cache_size attributes will disappear (it is easy to remove attributes, and stripe_cache_size is only meaningful for certain raid levels). Other attributes will return 0 or some equivalent, though I think chunk_size will have the old value. NeilBrown ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-03 21:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-02 21:15 stopped array, but /sys/block/mdN still exists Jon Nelson
2008-01-03 4:44 ` Neil Brown
[not found] ` <477D3D76.3000803@tmr.com>
2008-01-03 21:32 ` Neil Brown
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox