Re: disk gone

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

 



Am Fri, 9 Jun 2017 01:46:24 +0000 (UTC)
schrieb Eric Wheeler <bcache@xxxxxxxxxxxxxxxxxx>:

> On Fri, 2 Jun 2017, feng D wrote:
> 
> > hi:
> > 
> > Some time, the online machine will appear disk gone situation,
> > although this is not very common, but we have too many machines, so
> > still will encounter it.
> > 
> > That in the case of disk gone, /sys/block/bcache0/bcache/stop is
> > not found, this case how to delete the bcache0?  
> 
> An interesting question.  Is it still available from the cache device
> in /sys/fs/bcache/* somewhere?  I'm guessing not, but check.
> 
> Do you have a procedure to reproduce this problem
> where /sys/block/bcache0 has been hotplugged into oblivion?

You easily run into the same situation when you stop the device instead
of detaching it. Bcache then doesn't release its cache device and
cannot be stopped/unregistered, because every interface for shutting
bcache down has vanished: It can only be reached through the backing
devices but the bcache interface below those is gone.

I think bcache needs a way to force unregister the cache device...
Otherwise the cache device stays busy and cannot be registered, neither
can any devices be attached again in this state.

-- 
Regards,
Kai

Replies to list-only preferred.

--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux