when I unmount the partition, run gparted resize.then create new partition, (primary) between two primary partitions, first is ext4 and second is ntfs,
then click the check box it starts to do its thing then stops and suggest to run this command, but as you can see it says it's in use. but nothing is using it.gparted is even closed. what to do?
this is a secondary hdd for storage.
(I cannot reboot at the moment with modded fstab to not mount them partitions, because I am compiling something)
Code:
bash-4.3#
bash-4.3# umount -l /media/data
bash-4.3# e2fsck -f -y -v -C 0 /dev/sdb4
e2fsck 1.43.1 (08-Jun-2016)
/dev/sdb4 is in use.
e2fsck: Cannot continue, aborting.