blkid反馈的uuid和mdadm.conf文件中记录的uuid 的值不一样

本文解析了blkid与mdadm中UUID的不同之处。blkid中的UUID用于标识文件系统,而mdadm.conf中的UUID则标识RAID设备本身。两者分别存储于不同的位置,并服务于不同的目的。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

参考自:


不一致的原因如下:

UUID mentioned in blkid is an identity for filesystem on the md block device while the one in /etc/mdadm.conf identify the md block device itself. 
UUID of blkid is stored in filesystem structure (consistent with fstab)
 and it helps in uniquely identifying the filesytem among the available filesystems on the system, 
while uuid of mdadm.conf resides in the device metadata and helps the md subsystem identify that particular RAID device uniquely. 
In particular, it helps identify all the block devices that belong to the RAID array. 
Difference of UUID also exists for raid array, device, partition, LVM,PV, VG etc.



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值