[Bug 342777] Re: can not format new partition [old superblocks]
Phillip Susi
psusi at cfl.rr.com
Tue Jan 3 21:42:42 UTC 2012
It appears that mdadm is still attached to the partition. You need to
either mdadm --stop and/or --zero-superblock to make it stop using the
partition.
** Changed in: mdadm (Ubuntu)
Status: Confirmed => Invalid
** Changed in: gparted (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gparted in Ubuntu.
https://bugs.launchpad.net/bugs/342777
Title:
can not format new partition [old superblocks]
Status in “gparted” package in Ubuntu:
Invalid
Status in “mdadm” package in Ubuntu:
Invalid
Bug description:
Binary package hint: mdadm
For some reason, gparted fails to format a new partition where I used
to have an old, deleted RAID set. To reproduce (maybe):
1. Create raid1 set with mdadm (/dev/sdd1 and /dev/sde1)
2. Delete partition (/dev/sdd1)
3. Reboot (just to make sure /dev/sdd1 should be gone everywhere)
4. Try to create a new ext3 formatted partition using gparted
Expected: Create and format succeeds
Actual: mkfs fails with: "/dev/sdd1 is apparently in use by the system: will not make a file system here" that was just created?!
I'm not sure where the real problem is, if it's in mkfs, gparted,
mdadm, the kernel, but somewhere it's keeping traces of sdd1 which
prevents me from using the disk. mdadm says the raid set is not active
so it won't let met do anything with it there, gparted refuses to work
so I'm stuck.
mdadm:
Installed: 2.6.3+200709292116+4450e59-3ubuntu3.1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/342777/+subscriptions
More information about the foundations-bugs
mailing list