Messages in this thread | | | From | Daniel Smedegaard Buus <> | Date | Tue, 1 Apr 2014 09:01:55 +0200 | Subject | Re: Correct way to remove a cache device? |
| |
I couldn't figure out a predictable way to detach it properly. Even when doing it as early as possible in the boot sequence, it'd succeed anywhere from the first time I tried to seven reboots later.
I actually ended up doing something very nasty, but very efficient: I simply dd zeroes to the beginning of the cache device, then reboot, and the kernel would no longer recognize the cache device, and I could continue normally.
Not pretty by any standard (actually makes me feel like showering), but it works ;)
| |