XFS - Can't unmount partition

/dev/sda6 is the /home partition of a GPT/EFI disk in an HP Laptop grub2 with W10 dualboot.

fstab entry (mounted by label):

LABEL=home    /home    xfs    noatime,nodiratime 1 2

gdisk show:

PT fdisk (gdisk) version 0.8.8

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): CC7CC4FC-A5EA-4033-8383-5A7FE4194638
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2029 sectors (1014.5 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          821247   400.0 MiB   2700  Basic data partition
   2          821248         1353727   260.0 MiB   EF00  EFI system partition
   3         1353728         1615871   128.0 MiB   0C01  Microsoft reserved part
   4         1615872       421046271   200.0 GiB   0700  Basic data partition
   5       421046272       462989311   20.0 GiB    0700  
   6       462989312       479766527   8.0 GiB     8200  
   7       479766528       496543743   8.0 GiB     8300  
   8       496543744       500738047   2.0 GiB     8300  
   9       **500738048       976773119   227.0 GiB   8300** <---- this is the home partition

btrfs root partition is in /dev/sdb (a small SSD). It also has another EFI partition (from the original W8 OEM) but that is not relevant to the issue.

When I boot from partition magic liveCD (June 2017 version), that doesn’t mount any partition on the existing drives. I can check other partitions with gparted right click menu option (I guess it uses fsck), but sda6 errors out with message “can’t unmount, drive is busy”.

What could be causing this?


I would suggest booting from a live TW desktop or TW rescue system and checking things out… you would need to look at the output from the mount command or top to see what it’s doing on the Partiton Magic setup, isn’t that a pay for use thing now, maybe it can’t handle xfs…

Hi Malcolm,

Yes, it’s a pay (cheap) live distro. I’ve bought it two or three times this decade, when I couldn’t easily fix some issue with other tools. It does aggregate a lot of tools, has many different boot options, an agreeable and informative desktop, etc. It’s worth the occasional expense, although it is not a fix-all solution - like now, perhaps. :wink:

I’m downloading TW rescue LiveCD now, will report how it goes.

I’m still puzzled about what could cause a partition to be reported mounted. There are two other XFS partitions on sda (/tmp e /var/log), but I didn’t test them at the time. I remember creating XFS partitions with it, but I’ll check them anyway. The only other thing I can think of is a hardware (HDD/RAM) issue.

Question: oS DVDs used to have memtest, but LEAP doesn’t. TW rescue has it, or if not where do I find it?


You hit the head on the nail, malcolm :wink:

From thumbleweed rescue, gparted works all right, and the xfs partitions check OK.

The grand advantage of PM is that it can be loaded entirely in memory if you have 1GB+ RAM. This makes things much faster that the liveCDs - subjectively I’d say 10x faster, at least comparing to an USB2 external CD drive.

Anyway, my boot problem is not due to this, so I’ll open another thread if I can’t fix it.