Change Filesystem UUID

    • OMV 4.x
    • Change Filesystem UUID

      I would like change the OMV filesystem UUID on an exact copy of my existing install. I know how to do this using tune2fs. And I know I must change the UUID in /etc/fstab. But there is more to change and I don't know where and what. The copy with the changed filesystem UUID and changed fstab will not boot.

      The goal I want to accomplish is to have both my original OMV and the changed copy connected to the box via USB so that I can select which copy to run from the system boot menu. I want to be able to boot OMV 4 or OMV 5 without having to physically swap drives.

      Thanks for any suggestions.
      --
      Google is your friend and Bob's your uncle!

      RAID - Its ability to disappoint is inversely proportional to the user's understanding of it.

      OMV 5.x on ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380 + Silverstone DS380 DAS Box.
    • Your drive should be mounting by label unless it is an old updated install. So, changing the UUID shouldn't cause any problems with OMV itself. Having two drives with the same label is a problem. What does the mntent section of /etc/openmediavault/config.xml look like? If you want to boot both, you will have to change the grub config but update-grub should fix that.
      omv 5.3.4 usul | 64 bit | 5.3 proxmox kernel | omvextrasorg 5.2.5
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • It's an old original OMV 2.x install that was upgraded to 3.x, then 4.x. In fstab it boots by: /dev/disk/by-uuid/de386ed0-472a-4dcf-bd8c-e4800143731a

      I do not see that UUID listed in the mntent section of config.xml or anywhere else in the file. ?

      It's a 16GB 2.5 inch SSD in an external USB case.

      The device label is ssd-omv4. I can change this on one of the other drive to be ssd-omv5.

      I don't know what or where to change in the grub setup to convert it to mount by label.

      Thanks.
      --
      Google is your friend and Bob's your uncle!

      RAID - Its ability to disappoint is inversely proportional to the user's understanding of it.

      OMV 5.x on ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380 + Silverstone DS380 DAS Box.
    • I guess I was reading your first post wrong. I thought you wanted to change the UUID of a data drive. If you want to change the UUID of the OS drive, you just need to change the uuid in /etc/fstab and then run update-grub.
      omv 5.3.4 usul | 64 bit | 5.3 proxmox kernel | omvextrasorg 5.2.5
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!