Sample Header Ad - 728x90

Unmount root from /boot partition? trying to fstransform /dev/mapper/VolGroup-lv_root

0 votes
0 answers
158 views
I am trying to transform /dev/mapper/VolGroup-lv_root from xfs to ext4 using fstransform on my CentOS 7 VM. This is needed for a migration from another Centos 7 VM. The issue I am facing is the root filesystem type does not match between the VMs. mount shows /dev/mapper/VolGroup-lv_root as the mounted root directory: /dev/mapper/VolGroup-lv_root on / type xfs (rw,relatime,attr2,inode64,noquota) The transformation fails with fsmove: ERROR: failed to remove source directory '//boot': Device or resource busy. Some other maybe helpful info:
ls -l /dev/mapper/VolGroup-lv_root
rwxrwxrwx 1 root root 7 Aug 30 14:19 /dev/mapper/VolGroup-lv_root -> ../dm-0
ls -l /dev/dm-0
brw-rw---- 1 root disk 253, 0 Aug 30 14:19 /dev/dm-0
Asked by Tristan Kosciuch (1 rep)
Aug 30, 2023, 02:45 PM
Last activity: Aug 30, 2023, 02:47 PM