Linux找不到磁盘的uuid,linux – / dev / disk / by-uuid不显示所有磁盘
我在安装XenServer时使用本地存储库,我正在尝试使用UUID删除错误的SR.当我通过-id查看磁盘时,输出是:[root@xenser111 lib]# ls -l /dev/disk/by-idtotal 0lrwxrwxrwx 1 root root9 Jul 16 09:02 scsi-3600050e02e433200d7110000d6930000 -> ../../sd..
我在安装XenServer时使用本地存储库,我正在尝试使用UUID删除错误的SR.当我通过-id查看磁盘时,输出是:
[root@xenser111 lib]# ls -l /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root 9 Jul 16 09:02 scsi-3600050e02e433200d7110000d6930000 -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 16 09:02 scsi-3600050e02e433200d7110000d6930000-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 16 09:02 scsi-3600050e02e433200d7110000d6930000-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 16 09:02 scsi-3600050e02e433200d7110000d6930000-part3 -> ../../sda3
lrwxrwxrwx 1 root root 9 Jul 16 09:02 scsi-SATA_SAMSUNG_HD103SJS2AEJ1BZ502526 -> ../../sdc
lrwxrwxrwx 1 root root 10 Jul 19 04:15 scsi-SATA_SAMSUNG_HD103SJS2AEJ1BZ502526-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 9 Jul 19 04:32 scsi-SATA_SAMSUNG_HD103SJS2AEJ1BZ502653 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jul 19 04:32 scsi-SATA_SAMSUNG_HD103SJS2AEJ1BZ502653-part1 -> ../../sdb1
但是,当我按-uuid查看磁盘时,它不会显示/ dev / sdb或/ dev / sdc:
[root@xenser111 lib]# ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 Jul 16 09:02 b1341321-038d-43e6-a194-0c3598f47152 -> ../../sda1
为什么会这样?我是否必须制定一些命令来填充by-uuid目录?我怎么能找到UUID? (我也使用了blkid没用).
如果相关,/ sda是RAID 0.
更多推荐
所有评论(0)