Error added: 2011-05-22T22:49:18Z
dmsetup ls dmsetup remove xxxx
cloudmaster@uec-frontend:~$ sudo mkfs.ext4 /dev/cciss/c0d2p1 /dev/cciss/c0d2p1 is apparently in use by the system; will not make a filesystem here! I tried with -FF (âDo as I say, you stupid!â), but it would still refuse to obtemperate. Confirmed with mount and fuser that the partition was not in use, and indeed it was not. Check dmesg, but there was nothing in there. Turned out there was a logical volume on that drive, and it did not get wiped out in the disk swap. If the same happen to you, you can check that the partition is indeed an LVM physical volume with the command âpvdisplayâ. You will then be able to proceed to wipe the LVM data from the drive (lvdisplay, lvremove, vgdisplay, vgremove, pvdisplay, pvremove, etc). Zeroing out the drive with dd would probably also work. Then you can mkfs. There you stupid, I told you to do so as I said! :) http://oilq.org/fr/node/6033
If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people
struggling with this too.
If you want to be notified via email when this is solved, enter your email address here: