Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centos 7 and XFS #18

Open
Re4ctor opened this issue Mar 28, 2019 · 2 comments
Open

Centos 7 and XFS #18

Re4ctor opened this issue Mar 28, 2019 · 2 comments

Comments

@Re4ctor
Copy link

Re4ctor commented Mar 28, 2019

I tried multiple time but i found out that if i use this tool with XFS partitions it fails.
Can you please add the support to it?
There is a big amount of people on the community that are using Google Cloud and there for some reason they are stuck with XFS if they choose Centos as their main VM's

If you need some info about the CentosOS testing i can maybe help, for now i have done this:

I tried to use weresync to copy my /dev/sda disk into /dev/sdb (the external disk with reduced size) and it worked, it creates the partition correctly but i cant boot from that disk.
The only thing that im thinking is that maybe the bootloader (i suppose grub2) is installed in the MBR and that he cant copy that.
(weresync is used for normal systems where you have a partition like /dev/sda1 for the bootloader and /dev/sda2 for the system).

and i also tried the normal way but i think its a XFS problem

-i created a disk of 30gb and attached it to my instance
-i crated a snapshot disk of my original disk (the 40gb one)
-i mounted both in /mnt/big and /mnt/small
-i formatted the small one to replicate the partition of the 40gb one (xfs partition) and then i rsynced.
-i setted the old uuid-label from the original disk to the small one with "xfs_admin -U label-uuid /dev/sdc1" and gived it the "/" root label to make it bootable.

Keep the good work

@DonyorM
Copy link
Owner

DonyorM commented Mar 29, 2019

XFS is definitely not supported, so I'm not particularly surprised it didn't work. I would like to support it eventually though. I'll leave this open and continue to look into it.

@Re4ctor
Copy link
Author

Re4ctor commented Apr 1, 2019

Thank you for the anwer, if i find something usefull ill add it here, or if i could figure out how to add it to weresync ill try to integrate in and do a pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants