Here is an output of the commands iv'e used:
root@rmc0078140:~# lvcreate -L 1G -n test system
Logical volume "test" already exists in volume group "system"
root@rmc0078140:~# lvcreate -L 1G -n test2 system
Logical volume "test2" created
root@rmc0078140:~# mkfs.ext4 /dev/system/test
mke2fs 1.42.9 (4-Feb-2014)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
65536 inodes, 262144 blocks
13107 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=268435456
8 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
root@rmc0078140:~# mkfs.ext4 /dev/system/test2
mke2fs 1.42.9 (4-Feb-2014)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
65536 inodes, 262144 blocks
13107 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=268435456
8 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
root@rmc0078140:~# mount /dev/system/test /mnt/
root@rmc0078140:~# mkdir /mnt/test2
root@rmc0078140:~# mount /dev/system/test2 /mnt/test2/
root@rmc0078140:~# ln -sf /etc/issue /mnt/
root@rmc0078140:~# umount /mnt/*
umount: /mnt/issue: not mounted
umount: /mnt/lost+found: not mounted
root@rmc0078140:~# umount /mnt/
umount: /mnt: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
root@rmc0078140:~# lvremove -f /dev/system/test2
/dev/mapper/sda5_crypt: BLKDISCARD ioctl at offset 115034030080 size
1073741824 failed: Operation not supported.
Logical volume "test2" successfully removed
root@rmc0078140:~# lvremove -f /dev/system/test
Logical volume system/test contains a filesystem in use.
but i looks like after an update the problem is gone. i guess it is
kernel related?
root@rmc0078140:~# uname -a
Linux rmc0078140 3.13.0-27-generic #50-Ubuntu SMP Thu May 15 18:06:16 UTC 2014
x86_64 x86_64 x86_64 GNU/Linux
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1358310
Title:
using umount with bash wildcard ends in "device is busy" for mount of
parent directory
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1358310/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs