Thanks, I was looking for something like that. I also followed your device on going root. Unfortunately I am still getting the device or resource busy errors, any ideas?
PS. I did not actually mount any caching device to this drive or do anything to it other than create it as a backing device, I immediately stopped after realizing my mistake.
On Thu 23 Apr 2015 02:56:01 PM CDT, Gerharddc wrote:
malcolmlewis;2706462 Wrote:
> Hi
> Use the --wipe-bcache option on the device. I would recommend
> switching to root user rather than using sudo for things like this…
Thanks, I was looking for something like that. I also followed your
device on going root. Unfortunately I am still getting the device or
resource busy errors, any ideas?
PS. I did not actually mount any caching device to this drive or do
anything to it other than create it as a backing device, I immediately
stopped after realizing my mistake.
Hi
OK, so /dev/sdb is just a device by itself?
If it is,run very carefully the command wipefs -a on the partition then
the device and it should then be fine to create as a cache.
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.39-47-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
Yes, /dev/sdb is a SDD with nothing on it. I tried wipefs -a for /dev/sdb1 and /dev/sdb but am getting “wipefs: error: /dev/sdb: probing initialization failed: Device or resource busy”.
On Thu 23 Apr 2015 05:26:01 PM CDT, Gerharddc wrote:
malcolmlewis;2706503 Wrote:
> Hi
> OK, so /dev/sdb is just a device by itself?
>
> If it is,run very carefully the command wipefs -a on the partition
> then the device and it should then be fine to create as a cache.
>
Yes, /dev/sdb is a SDD with nothing on it. I tried wipefs -a for
/dev/sdb1 and /dev/sdb but am getting “wipefs: error: /dev/sdb: probing
initialization failed: Device or resource busy”.
Hi
Have you rebooted the system, sounds like something still hanging on to
it down in /sys/fs.
Then try the --wipe-bcache option.
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.39-47-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!