<div>Dear all,</div><div> </div><div>Does anybody know if the package libguestfs-xfs exists for CentOS 6? I faced the problem when tried to change passwd for XFS virtual machine based on ext4 CentOS 6 parent server:</div><div> </div><div><div>guestmount -a /dev/lvm/xfs.test -i /tmp/cp_mount/xfs.test</div><div>guestmount: no operating system was found on this disk</div><div> </div><div>If using guestfish '-i' option, remove this option and instead</div><div>use the commands 'run' followed by 'list-filesystems'.</div><div>You can then mount filesystems you want by hand using the</div><div>'mount' or 'mount-ro' command.</div><div> </div><div>If using guestmount '-i', remove this option and choose the</div><div>filesystem(s) you want to see by manually adding '-m' option(s).</div><div>Use 'virt-filesystems' to see what filesystems are available.</div><div> </div><div>If using other virt tools, this disk image won't work</div><div>with these tools. Use the guestfish equivalent commands</div><div>(see the virt tool manual page).</div><div> </div><div>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.</div><div> </div><div>P.S I also tried to install xfsprogs, mentioned in one related discussion, but it doesn't help.</div></div>
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
Many thanks for a quick reply, see also https://bugzilla.redhat.com/show_bug.cgi?id=1413499#c5 Looks like the same issue as mine. But any way - a full log of guestmount, running it with -v -x and host + VM info are attached, probably I've missed something important in the output. Thank you! 29.03.2017, 15:47, "Pino Toscano" : 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