Re: Hard to delete/unregister caching device

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

 



On Sun, 21 Feb 2016, Marc MERLIN wrote:

> On Sat, Feb 20, 2016 at 07:17:53PM -0900, Kent Overstreet wrote:
> > > bcache0 is fine
> > > bcache1 ended up in a bad state, I'm not sure how.
> > > No biggie, right, just delete/recreate/re-register sda6, except how?
> > > 
> > > https://www.kernel.org/doc/Documentation/bcache.txt
> > > SYSFS - CACHE DEVICE:
> > > says nothing about how I can free/release sda6
> > > 
> > > saruman:~# echo /dev/sda6 > /sys/fs/bcache/unregister
> > > -su: /sys/fs/bcache/unregister: Permission denied
> > > is not helpful, nothing in kern.log
> > 
> > echo 1 > /sys/fs/bcache/<uuid>/unregister
> 
> If you look lower down in my Email, I did do almost the same:
> saruman:/sys/fs/bcache/f419195d-184e-44b7-9f88-a834a5458f8c# echo 1 > stop
> 
> I was pointing out that for a newcomer, it's not all super obvious how
> all the pieces fit together.
> 
> Is https://www.kernel.org/doc/Documentation/bcache.txt still considered
> the canonical documentation?
> I could try writing some kind of howto update for it if so.

It is, or at least it would be ideal to have up to date.  By all means, 
write a patch and submit it!  Documentation patches are some of the most 
important to support the userbase.

-Eric

> 
> Marc
> -- 
> "A mouse is a device used to point at the xterm you want to type in" - A.S.R.
> Microsoft is to operating systems ....
>                                       .... what McDonalds is to gourmet cooking
> Home page: http://marc.merlins.org/                         | PGP 1024R/763BE901
> --
> 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
> 
--
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