Centos查看分区UUID

查看所有分区uuid

[root@i-llb9wdcd ~]# ll /dev/disk/by-uuid/

total 0

lrwxrwxrwx 1 root root 10 Dec 29  2016 b93025c7-756e-4b48-ba1d-205d4a3ad4c0 -> ../../sda1

lrwxrwxrwx 1 root root  9 Dec 29  2016 e0524c36-e8f7-48ff-8786-10c90161821c -> ../../sdb

查看指定分区uuid

[root@i-llb9wdcd ~]# blkid /dev/sda1

/dev/sda1: UUID=”b93025c7-756e-4b48-ba1d-205d4a3ad4c0″ TYPE=”ext4″ 

发表评论