I think this is the answer you're looking for: https://askubuntu.com/questions/900309/blkid-cant-find-lvms-uuid
For the sake of the archive, in case the link goes stale, the problem is that there are separate block IDs for the logical volume versus the filesystem on the logical volume, and you want to use the block ID for the filesystem to mount it, not the block ID for the logical volume. On Tue, Dec 12, 2023 at 1:40 PM Howard White <[email protected]> wrote: > > My google-foo is in another dimension. I am creating a new bare-metal > server with Ubuntu 22.04 and LVM. The initial build uses the installer > defaults which results in a base system with 100GB / directory. This is > "fine" and it runs. > > Used lvcreate for two new LVM logical items: home and var. Doing this > one step at a time. Renamed (mv) /home to /orighome. Want to modify > /etc/fstab to point to /dev/mapper/ubuntu-vg/home. > > If I run lvdisplay, there is an LV-UUID reported but attempting to use > that value in a mount command or in /etc/fstab results in "nocando" > error. How to obtain a blkid for an LVM member?? > > This is what happens when one uses such commands ever other three years. > > Howard > > -- > -- > You received this message because you are subscribed to the Google Groups > "NLUG" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nlug-talk?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "NLUG" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nlug-talk/8ffc2fcf-6d59-4d7a-97b3-26b81417b6db%40vcch.com. -- Tilghman -- -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en --- You received this message because you are subscribed to the Google Groups "NLUG" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nlug-talk/CAHPkZcWHNMcqoV%3D2QyJ76EyydstS39asnDjhjgwnm1-9BDss5A%40mail.gmail.com.
