Hello Erik,

Wednesday, June 18, 2014, 10:38:55 PM, you wrote:

> Hi, ubuntu 14.04, and a 5TB RAID (sdc) partitioned into two 2.5TB partitions
> (sdc1 and sdc2) with parted to be used as backing devices, 

> /dev/sdc2 attaches fine

> problem with sdc1:

> # make-bcache -B /dev/sdc1
> Device /dev/sdc1 already has a non-bcache superblock, remove it using wipefs
> and wipefs -a

> # wipefs /dev/sdc1
> wipefs: WARNING: /dev/sdc1: appears to contain 'dos' partition table

> # wipefs -a /dev/sdc1
> wipefs: WARNING: /dev/sdc1: appears to contain 'dos' partition table

Did you try wipefs -a -f /dev/sdc1 ?

If that fails, just erase the first few MB of the device with zeroes:

dd if=/dev/zero of=/dev/sdc1 bs=1M count=10

Pavel Goran
  

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

Reply via email to