Using Fedora 16 (64 bit) with ext4 filesystem. I previously ran Fedora 14 32 bit edition and ran a disk copy operation three times a week and once a month, which built a new filesystem on a spare disk and then copied the entire filesystem onto it. It ran without fail until installing a fresh 64 bit Fedora 16.
I now find that once a filesystem has been mounted, it will never be 'forgotten' by the system, as it is being held by jbd2. For example:
Linux-root (13:16) /home/mybg # lsof -ln | grep sdb2
jbd2/sdb2 20664 0 cwd DIR 9,0 4096 2 /
jbd2/sdb2 20664 0 rtd DIR 9,0 4096 2 /
jbd2/sdb2 20664 0 txt unknown /proc/20664/exe
Linux-root (13:43) /home/mybg # ls -l /proc/fs/jbd2/
dr-xr-xr-x 2 root root 0 Feb 14 13:43 md0-8/
dr-xr-xr-x 2 root root 0 Feb 14 13:43 sdb2-8/
dr-xr-xr-x 2 root root 0 Feb 14 13:43 sdc2-8/
dr-xr-xr-x 2 root root 0 Feb 14 13:43 sde2-8/
dr-xr-xr-x 2 root root 0 Feb 14 13:43 sdf2-8/
All the partitions apart from md0 are backup partitions.
I cannot reformat any of these partitions, nor can I run e2fsck on them:
Linux-root (13:45) /home/mybg # /sbin/mkfs -v -t ext4 -m 1 -L tuesday /dev/sdb2
mke2fs 1.41.14 (22-Dec-2010)
/dev/sdb2 is apparently in use by the system; will not make a filesystem here!
Linux-root (13:46) /home/mybg # e2fsck /dev/sdb2
e2fsck 1.41.14 (22-Dec-2010)
e2fsck: Device or resource busy while trying to open /dev/sdb2
Filesystem mounted or opened exclusively by another program?
Any ideas? I have hunted for solutions but found nothing so far!
I could do a rm -fr on the mounted old backup filesystem before copying the current filesystem, but it would take far longer then just creating a new filesystem with mkfs.