This is while none of the partitions on /dev/sdb are mounted, lsblk shows. option with wipefs when trying to wipe something which is not an. Wipefs: error: /dev/sdb: probing initialization failed: Device or resource busy I also tried: $ sudo wipefs -all -backup /dev/sdb The point of the pvcreate stage is to make sure that the device can be opened exclusively. I/O size (minimum/optimal): 512 bytes / 512 bytesĭevice Boot Start End Sectors Size Id Type nfs0000000001bd849100000001 returns nothing and this system does not have lsof. If I try to delete it, I get 'rm: cannot remove '.nfs0000000001bd849100000001': Device or resource busy'. Sector size (logical/physical): 512 bytes / 512 bytes nfs file on my system, and it's using a large amount of my disk quota. I deleted the partition and pluged the device into a Windows machine to format it from there, but the super block still sticks around: $lsblkĬhanges will remain in memory only, until you decide to write them.īe careful before using the write command.ĭisk /dev/sdb: 119.3 GiB, 128038469632 bytes, 250075136 sectors Mdadm: Couldn't open /dev/sdb1 for write - not zeroing The wipefs command is part of the util-linux package which can be downloaded from Linux Kernel Archive < This page is part of the util-linux(a random collection of Linux utilities) project. Mdadm: Couldn't open /dev/sdb for write - not zeroing I tried: $ sudo mdadm -zero-superblock /dev/sdb I don't need it in that array anymore (but need to add it to a different array) and hence would like to get rid of the old superblock but I can't. Solution 1 Use the -f (force) option: wipefs -af /dev/ sdb Solution 2 Unmount the disk and all the partitions on it: sudo umount /dev/ sdb Then retry the wipe. I have a USB thumb drive that I briefly used in a raid 1 array.
0 Comments
Leave a Reply. |