-
Notifications
You must be signed in to change notification settings - Fork 492
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
LXD drivers fail to start VMs if there are duplicated fs uuids in XFS images #3103
Milestone
Comments
dann1
added a commit
to dann1/one
that referenced
this issue
Mar 21, 2019
dann1
added a commit
to dann1/one
that referenced
this issue
Mar 21, 2019
dann1
added a commit
to dann1/one
that referenced
this issue
Mar 21, 2019
rsmontero
added a commit
that referenced
this issue
Mar 21, 2019
rsmontero
added a commit
that referenced
this issue
Mar 21, 2019
(cherry picked from commit 14ee18f)
rsmontero
pushed a commit
that referenced
this issue
Mar 21, 2019
(cherry picked from commit 6f95aa9)
dann1
added a commit
to dann1/one
that referenced
this issue
Mar 21, 2019
rsmontero
added a commit
that referenced
this issue
Mar 22, 2019
rsmontero
added a commit
that referenced
this issue
Mar 22, 2019
…D generation (cherry picked from commit c5bcacf)
rsmontero
pushed a commit
that referenced
this issue
Mar 25, 2019
rsmontero
pushed a commit
that referenced
this issue
Mar 25, 2019
rsmontero
pushed a commit
that referenced
this issue
Jul 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The LXD drivers need to mount the filesystem of the images ext* and XFS do not have their UUIDs regenerated when an instance is instantiated for the first time, causing a VM to be unable to start due to the mount action failing when the filesystem is XFS.
To Reproduce
The log will be similar to
The core issue can be reproduced outside of the opennebula scope
truncate -s 100M img.xfs
mkfs.xfs img.xfs
cp img.xfs img_duplicated.xfs
mkdir /mnt/1 && mount img.xfs /mnt/1
mkdir /mnt/2 && mount img_duplicated.xfs /mnt/2
The latter will fail. Checking
dmseg
will output something similar to:[182584.911629] XFS (loop13): Filesystem has duplicate UUID 9d6923a7-32ae-41c0-9c1e-e9d6064003e3 - can't mount
Expected behavior
Partitions won't fail to mount if they can be mounted
Details
Additional context
Mounting ext4 filesystems with duplicated uuids desn't fail.
Progress Status
The text was updated successfully, but these errors were encountered: