Find PARTUUID OpenHAB 4

This guide helps to Find PARTUUID OpenHAB 4. Its actually very easy to get it, lets run thru step by step.

Find PARTUUID OpenHAB 4

Find PARTUUID OpenHAB 4

 

Index of How To Find PARTUUID OpenHAB 4

Background

For this how to I am using an OpenHABian OpenHAB 3.3.0 installation. This is installed on a Raspberry Pi 4 with 4GB of memory. 

The PARTUUID is used to uniquely identify a partition in the Linux operating system. Since Openhabian is a Debian based Linux, we can leverage on standard Linux commands in order to grab the PARTUUID of you installed storage drives, such as USB drives. 

How to Find PARTUUID OpenHAB 4

To get the PARTUUID of your installed storage drives we will be leveraging on the lsblk command. If you need to find the PARTUUID of a new storage drive (e.g. USB stick or drive) then I strongly recommend to fire lsblk without having the new storage drive plugged. Once done, you plug the new storage drive, fire the below lsblk command again and compare the two results. This way the PARTUUID of the newly plugged storage device gets pretty obvious.

Lets run lsblk to get the PARTUUID of my Raspberry Pi with OpenHAB 4 installed on it.

lsblk -o NAME,FSTYPE,LABEL,PARTUUID,MOUNTPOINT,SIZE,MODEL

This command will result into something similar to the below (of course, in your case it will look different.

openhabian@OpenHAB:~ $ lsblk -o NAME,FSTYPE,LABEL,PARTUUID,MOUNTPOINT,SIZE,MODEL
NAME   FSTYPE LABEL   PARTUUID                             MOUNTPOINT        SIZE MODEL
sda                                                                        476.9G Corsair_Voyager_GTX
├─sda1 vfat           c6e1249c-01                          /boot             256M 
└─sda2 ext4   OpenHAB c6e1249c-02                          /               476.7G 
sdb                                                                        931.5G Elements_2621
├─sdb1 vfat           6937bdbf-01                                            256M 
└─sdb2 ext4           6937bdbf-02                                          931.2G 
zram0                                                      [SWAP]              1G 
zram1                                                      /opt/zram/zram1   750M 
zram2                                                      /opt/zram/zram2     1G 
openhabian@OpenHAB:~ $

What you can see in the above are the PARTUUIDs for 4 different partitions.

  • c6e1249c-01 and c6e1249c-02 are two different partitions, each with a unique PARTUUID that belong to the Corsair Voyager GTX USB stick
  • 6937bdbf-01 and 6937bdbf-02 are two different partitions, each with a unique PARTUUID that belong to the WD Elements 2621 USB drive

In a summary, this OpenHAB installation consists of two, one USB stick with two partitions and one external USB drive with two different partitions.

That’s it 🙂 Nothing else to say.

Additional Information

OpenHAB is a cool open source project that allows you to empower your smart home. There is a huge community around it. Cool How To pages include:

Other websites:

Follow me

It would be amazing if you follow myHowTo.blog. To follow leverage on

          • Click to follow me on Twitter
          • Bookmark this page and comeback from time to time

Help and Comments

I am really looking forward for you to contact me if for example you found a better option or other idea then in this how to. Also, please touch base if you found an error or anything not working or if you have something that you would love to be added to this how to. Simply click this link to touch base with me.

Linking and Recommending the HowTo or the myhowto.blog

I would love to see you are recommending this how to or link it to your website. Also, I would love if you link or recommend the whole myhowto.blog. Please feel free to do so! In case you like to touch base regarding this topic with me, then simply click this link. I look forward!