Hi,
On Wednesday, 29 March 2017 06:28:06 CEST Гюльнара Невежина wrote:Does anybody know if the package libguestfs-xfs exists for CentOS 6?
In RHEL/CentOS 6, the support for XFS filesystems in libguestfs is
provided already by the appliance in the 'libguestfs' package.
I faced the problem when tried to change passwd for XFS virtual
machine based on ext4 CentOS 6 parent server:
guestmount -a /dev/lvm/xfs.test -i /tmp/cp_mount/xfs.test
guestmount: no operating system was found on this disk
If using guestfish '-i' option, remove this option and instead
use the commands 'run' followed by 'list-filesystems'.
You can then mount filesystems you want by hand using the
'mount' or 'mount-ro' command.
If using guestmount '-i', remove this option and choose the
filesystem(s) you want to see by manually adding '-m' option(s).
Use 'virt-filesystems' to see what filesystems are available.
If using other virt tools, this disk image won't work
with these tools. Use the guestfish equivalent commands
(see the virt tool manual page).
I found that libguestfs-xfs in old Ubuntu distros is included inside
libguestfs main package but not sure if the same is valid for
CentOS 6. Right now I can't update my parent server so any advices
will be greatly appreciated.--
Which host system was the XFS filesystem created on? The xfs module in
the RHEL/CentOS 6 kernel is too old to support XFS v5 filesystems
created by more recent kernels -- see also
https://bugzilla.redhat.com/show_bug.cgi?id=1413499#c5
for few more details.
In case your filesystem was created on a RHEL/CentOS 6 host/VM, please
provide a full log of guestmount, running it with -v -x.
Pino Toscano