Richard W.M. Jones
e43ca19129
daemon: inspect: Resolve Ubuntu 22+ /dev/disk/by-id/dm-uuid-LVM-... in fstab
...
Linux + LVM supports device names like /dev/disk/by-id/dm-uuid-LVM-
followed by two concatenated UUIDs, firstly for the volume group and
secondly for the logical volume. We can reverse those to get the
device name (/dev/VG/LV).
fstab entries look like:
# / was on /dev/vg0/lv-0 during curtin installation
/dev/disk/by-id/dm-uuid-LVM-OzFWT6NHkstr1hcmrWRRMDGPn9xdZj1YOOycQ533186x288FdU6UubU3OlnWJz6D / ext4 defaults 0 1
# /usr was on /dev/vg0/lv-1 during curtin installation
/dev/disk/by-id/dm-uuid-LVM-OzFWT6NHkstr1hcmrWRRMDGPn9xdZj1YZu53m4ZssZ8Jeb3I14RAJwIj5YlHIb9P /usr ext4 defaults 0 1
The upshot of this fix is that we are now able to correctly inspect
and run virt-v2v on Ubuntu 22+ guests with split /usr. In particular,
we correctly map /etc/fstab entries like the above to LV device names,
which means that /usr merging now works correctly.
Reported-by: Jaroslav Spanko
Thanks: Daniel Berrange
Fixes: https://issues.redhat.com/browse/RHEL-87493
2025-04-16 21:12:49 +01:00
..
2022-03-09 09:28:02 +00:00
2019-05-30 09:12:32 +02:00
2017-07-27 17:31:41 +01:00
2022-08-16 10:39:01 +01:00
2014-04-16 12:01:17 +01:00
2017-07-27 22:31:22 +01:00
2025-02-16 17:00:46 +00:00
2017-07-27 17:31:41 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2017-07-10 17:01:59 +01:00
2025-02-16 17:00:46 +00:00
2017-07-27 17:31:41 +01:00
2022-06-17 13:24:19 +01:00
2016-01-22 09:12:17 +00:00
2022-08-16 10:39:01 +01:00
2016-07-26 10:43:45 +01:00
2022-08-16 10:39:01 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2018-02-06 17:27:23 +01:00
2018-02-06 17:27:23 +01:00
2025-02-16 17:00:46 +00:00
2021-03-16 11:24:37 +00:00
2017-09-16 22:27:16 +01:00
2018-01-09 12:17:53 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2017-08-08 17:50:23 +01:00
2014-11-26 16:15:47 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2025-02-16 17:00:46 +00:00
2017-07-10 17:01:59 +01:00
2025-02-16 17:00:46 +00:00
2018-04-19 11:30:29 +02:00
2016-07-26 10:43:45 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-03-11 13:40:14 +00:00
2016-07-26 10:43:45 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2015-10-27 17:25:49 +00:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2025-02-16 17:00:46 +00:00
2016-02-04 11:25:56 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2017-09-16 22:27:16 +01:00
2022-08-16 10:39:01 +01:00
2025-02-16 17:00:46 +00:00
2025-04-16 21:12:49 +01:00
2025-02-16 17:00:46 +00:00
2025-03-03 14:22:37 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-03-03 14:22:37 +00:00
2025-02-16 17:00:46 +00:00
2025-03-03 14:22:37 +00:00
2025-03-03 14:22:37 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-04-16 10:28:41 +01:00
2016-04-12 20:59:40 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2014-10-23 19:03:11 +02:00
2017-07-27 17:31:41 +01:00
2024-10-22 11:02:38 +01:00
2025-02-16 17:00:46 +00:00
2021-05-13 12:04:41 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2017-07-27 17:31:41 +01:00
2021-09-07 14:53:06 +01:00
2025-02-16 17:00:46 +00:00
2025-04-16 21:12:49 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-04-16 21:12:49 +01:00
2025-02-16 17:00:46 +00:00
2025-04-16 21:12:49 +01:00
2021-11-09 10:20:37 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2017-03-03 11:32:37 +00:00
2014-10-23 19:03:11 +02:00
2017-07-27 17:31:41 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2017-08-08 17:50:23 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2022-05-03 10:54:00 +02:00
2025-02-16 17:00:46 +00:00
2022-05-26 10:16:21 +01:00
2025-02-16 17:00:46 +00:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2023-04-27 15:22:02 +01:00
2020-07-30 13:58:35 +01:00
2017-07-27 17:31:41 +01:00
2025-02-16 17:00:46 +00:00
2025-02-19 12:01:10 +00:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2017-07-10 17:01:59 +01:00
2025-02-16 17:00:46 +00:00
2014-11-05 14:50:54 +00:00
2025-02-16 17:00:46 +00:00
2017-07-27 17:31:41 +01:00
2025-02-16 17:00:46 +00:00
2017-07-27 17:31:41 +01:00
2017-07-27 22:31:22 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2018-05-15 11:15:54 +01:00
2015-07-02 16:08:44 +01:00
2025-02-16 17:00:46 +00:00
2024-05-10 16:07:20 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2014-10-23 19:03:11 +02:00
2015-10-05 14:28:33 +01:00
2025-02-16 17:00:46 +00:00
2021-03-30 12:56:58 +01:00
2024-10-18 21:55:21 +01:00
2025-02-16 17:00:46 +00:00
2017-07-27 17:31:41 +01:00