Unable to see UUID/label using blkid and lsblk commands

Solution Verified - Updated -

Issue

  • Unable to see UUID/label using blkid and lsblk --fs
  • Command shows no output. For example, /dev/sdd is known to contain a filesystem, but when using the blkid or lsblk --fs commands as shown or when passing the device name to the blkid command, no output is given for the device.
[root@localhost ~]# blkid
/dev/sda1: UUID="1d388f9d-13c5-46c5-8596-3dddaa5311fd" TYPE="xfs" 
/dev/sda2: UUID="Mb2UbN-431B-L4qv-bES3-zPPr-YX11-1HLhvc" TYPE="LVM2_member" 
/dev/sdb: UUID="201c080c-2916-42f1-8e35-0e62fb43a692" TYPE="xfs" 
/dev/mapper/rhel-swap: UUID="253c0a80-8653-4b9d-8ba1-8802a971796b" TYPE="swap" 
/dev/sde: UUID="2836381a-4894-42c8-9d1d-0d6cea8fe1f7" TYPE="xfs" 
/dev/mapper/rhel-root: UUID="c716fc3e-d977-452f-9507-21a2181b0304" TYPE="xfs" 

[root@localhost ~]# blkid /dev/sdd
[root@localhost ~]# 

[root@localhost ~]# lsblk --fs /dev/sdd
NAME FSTYPE LABEL UUID MOUNTPOINT
sdd        

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content