S
Sagar Shedge
Guest
Currently I have an issue that after umount XFS partition , some processes hold that partition. Due to that I am not able to delete that partition or create new partition on it.
One strange thing is that , this issue can be seen only if I add mount entry in /etc/fstab while boot up. i.e. when machine boots up at that time if mount entry is present in /etc/fstab then this issue can be seen, If after boot up , I add entry to /etc/fstab and try mount -a then everything works fine.
I just call
$> umount /data
$> cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Tue Jun 9 22:12:40 2015
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=b0f09e35-fbbc-4ab5-9cc1-0ee6f3689213 / ext3 defaults 1 1
UUID=1964bd56-9a92-4b04-8757-a8e14afe9f07 /boot ext3 defaults 1 2
UUID=24bfc94e-a45e-4f2c-a90d-1e30db479ab5 /home ext3 defaults 1 2
UUID=f8ca4cec-2dc6-4fed-902e-5a7790c3c44e /var ext3 defaults 1 2
LABEL=/data /data xfs defaults 1 0
-----
OS - Fedora 18
Kernel - 3.7.5 x86_64 bit
---
Processes holding partition after umount -
root 587 0.0 0.0 0 0 ? S< Jun08 0:00 [xfsalloc]
root 588 0.0 0.0 0 0 ? S< Jun08 0:00 [xfs_mru_cache]
root 589 0.0 0.0 0 0 ? S< Jun08 0:00 [xfslogd]
root 590 0.0 0.0 0 0 ? S< Jun08 0:00 [xfs-data/sdb1]
root 591 0.0 0.0 0 0 ? S< Jun08 0:00 [xfs-conv/sdb1]
root 592 0.0 0.0 0 0 ? S< Jun08 0:00 [xfs-cil/sdb1]
root 593 0.0 0.0 0 0 ? S Jun08 0:00 [xfsaild/sdb1]
Please let me know if you need more details.
One strange thing is that , this issue can be seen only if I add mount entry in /etc/fstab while boot up. i.e. when machine boots up at that time if mount entry is present in /etc/fstab then this issue can be seen, If after boot up , I add entry to /etc/fstab and try mount -a then everything works fine.
I just call
$> umount /data
$> cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Tue Jun 9 22:12:40 2015
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=b0f09e35-fbbc-4ab5-9cc1-0ee6f3689213 / ext3 defaults 1 1
UUID=1964bd56-9a92-4b04-8757-a8e14afe9f07 /boot ext3 defaults 1 2
UUID=24bfc94e-a45e-4f2c-a90d-1e30db479ab5 /home ext3 defaults 1 2
UUID=f8ca4cec-2dc6-4fed-902e-5a7790c3c44e /var ext3 defaults 1 2
LABEL=/data /data xfs defaults 1 0
-----
OS - Fedora 18
Kernel - 3.7.5 x86_64 bit
---
Processes holding partition after umount -
root 587 0.0 0.0 0 0 ? S< Jun08 0:00 [xfsalloc]
root 588 0.0 0.0 0 0 ? S< Jun08 0:00 [xfs_mru_cache]
root 589 0.0 0.0 0 0 ? S< Jun08 0:00 [xfslogd]
root 590 0.0 0.0 0 0 ? S< Jun08 0:00 [xfs-data/sdb1]
root 591 0.0 0.0 0 0 ? S< Jun08 0:00 [xfs-conv/sdb1]
root 592 0.0 0.0 0 0 ? S< Jun08 0:00 [xfs-cil/sdb1]
root 593 0.0 0.0 0 0 ? S Jun08 0:00 [xfsaild/sdb1]
Please let me know if you need more details.