- 论坛徽章:
- 3
|
为何本地磁盘进行分区后,分区有uuid,存储盘进行分区后,分区没有uuid???
sda是本地磁盘,/dev/mapper/3600a098038303867635d4a48624e5466是存储盘
[root@bid ~]# fdisk -l |grep /dev
Disk /dev/sda: 1199.6 GB, 1199638052864 bytes
/dev/sda1 1 5 40131 de Dell Utility
/dev/sda2 * 6 267 2097152 b W95 FAT32
/dev/sda3 267 528 2097152 83 Linux
/dev/sda4 528 145848 1167286272 5 Extended
/dev/sda5 528 13582 104857600 83 Linux
/dev/sda6 13582 20109 52428800 83 Linux
/dev/sda7 20109 24287 33554432 82 Linux swap / Solaris
/dev/sda8 24287 145848 976441344 83 Linux
Disk /dev/sdb: 1209.6 GB, 1209600573440 bytes
Disk /dev/sde: 1209.6 GB, 1209600573440 bytes
Disk /dev/sdd: 1209.6 GB, 1209600573440 bytes
Disk /dev/sdc: 1209.6 GB, 1209600573440 bytes
Disk /dev/sdf: 1209.6 GB, 1209600573440 bytes
Disk /dev/sdg: 1209.6 GB, 1209600573440 bytes
Disk /dev/sdh: 1209.6 GB, 1209600573440 bytes
Disk /dev/sdi: 1209.6 GB, 1209600573440 bytes
Disk /dev/mapper/3600a098038303867635d4a48624e5466: 1209.6 GB, 1209600573440 bytes
8个多路径对应的存储盘
[root@bid ~]# multipath -l
3600a098038303867635d4a48624e5466 dm-0 NETAPP,LUN C-Mode
size=1.1T features='3 queue_if_no_path pg_init_retries 50' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=0 status=active
| |- 11:0:0:0 sdb 8:16 active undef running
| |- 12:0:0:0 sdf 8:80 active undef running
| |- 11:0:3:0 sde 8:64 active undef running
| `- 12:0:1:0 sdg 8:96 active undef running
`-+- policy='round-robin 0' prio=0 status=enabled
|- 11:0:2:0 sdd 8:48 active undef running
|- 12:0:2:0 sdh 8:112 active undef running
|- 11:0:1:0 sdc 8:32 active undef running
`- 12:0:3:0 sdi 8:128 active undef running
本地磁盘分区有uuid,如sda1等,8个多路径对应的存储盘的uuid一样
[root@bid ~]# sudo blkid
/dev/sda6: UUID="35615827-9d3b-4d6d-adba-d200526e78e9" TYPE="ext4"
/dev/sda1: SEC_TYPE="msdos" LABEL="DellUtility" UUID="5450-4444" TYPE="vfat"
/dev/sda2: LABEL="OS" UUID="1CDB-B34B" TYPE="vfat"
/dev/sda3: UUID="4d4385cd-7f05-49da-b8a1-171429c09e7e" TYPE="ext4"
/dev/sda5: UUID="01160c05-0c31-435e-b659-0c7ea1f9dbba" TYPE="ext4"
/dev/sda7: UUID="992bf03b-503d-4d7f-89ee-8d9543e128ba" TYPE="swap"
/dev/sda8: UUID="539ece1a-3c42-4e35-bd9c-a4c70a2b9bf7" TYPE="ext4"
/dev/mapper/3600a098038303867635d4a48624e5466: UUID="10e9e45b-3c6e-4682-a74c-31b74c266414" TYPE="ext4"
/dev/sdb: UUID="10e9e45b-3c6e-4682-a74c-31b74c266414" TYPE="ext4"
/dev/sde: UUID="10e9e45b-3c6e-4682-a74c-31b74c266414" TYPE="ext4"
/dev/sdd: UUID="10e9e45b-3c6e-4682-a74c-31b74c266414" TYPE="ext4"
/dev/sdc: UUID="10e9e45b-3c6e-4682-a74c-31b74c266414" TYPE="ext4"
/dev/sdf: UUID="10e9e45b-3c6e-4682-a74c-31b74c266414" TYPE="ext4"
/dev/sdg: UUID="10e9e45b-3c6e-4682-a74c-31b74c266414" TYPE="ext4"
/dev/sdh: UUID="10e9e45b-3c6e-4682-a74c-31b74c266414" TYPE="ext4"
/dev/sdi: UUID="10e9e45b-3c6e-4682-a74c-31b74c266414" TYPE="ext4"
对存储盘/dev/mapper/3600a098038303867635d4a48624e5466进行分2个区后
[root@bid ~]# fdisk -l |grep /dev
Disk /dev/sda: 1199.6 GB, 1199638052864 bytes
/dev/sda1 1 5 40131 de Dell Utility
/dev/sda2 * 6 267 2097152 b W95 FAT32
/dev/sda3 267 528 2097152 83 Linux
/dev/sda4 528 145848 1167286272 5 Extended
/dev/sda5 528 13582 104857600 83 Linux
/dev/sda6 13582 20109 52428800 83 Linux
/dev/sda7 20109 24287 33554432 82 Linux swap / Solaris
/dev/sda8 24287 145848 976441344 83 Linux
Disk /dev/sdb: 1209.6 GB, 1209600573440 bytes
/dev/sdb1 1 1306 10490400+ 83 Linux
/dev/sdb2 1306 2612 10482432 83 Linux
Disk /dev/sdc: 1209.6 GB, 1209600573440 bytes
/dev/sdc1 1 1306 10490400+ 83 Linux
/dev/sdc2 1306 2612 10482432 83 Linux
Disk /dev/sdd: 1209.6 GB, 1209600573440 bytes
/dev/sdd1 1 1306 10490400+ 83 Linux
/dev/sdd2 1306 2612 10482432 83 Linux
Disk /dev/sde: 1209.6 GB, 1209600573440 bytes
/dev/sde1 1 1306 10490400+ 83 Linux
/dev/sde2 1306 2612 10482432 83 Linux
Disk /dev/sdf: 1209.6 GB, 1209600573440 bytes
/dev/sdf1 1 1306 10490400+ 83 Linux
/dev/sdf2 1306 2612 10482432 83 Linux
Disk /dev/sdg: 1209.6 GB, 1209600573440 bytes
/dev/sdg1 1 1306 10490400+ 83 Linux
/dev/sdg2 1306 2612 10482432 83 Linux
Disk /dev/sdh: 1209.6 GB, 1209600573440 bytes
/dev/sdh1 1 1306 10490400+ 83 Linux
/dev/sdh2 1306 2612 10482432 83 Linux
Disk /dev/sdi: 1209.6 GB, 1209600573440 bytes
/dev/sdi1 1 1306 10490400+ 83 Linux
/dev/sdi2 1306 2612 10482432 83 Linux
Disk /dev/mapper/3600a098038303867635d4a48624e5466: 1209.6 GB, 1209600573440 bytes
/dev/mapper/3600a098038303867635d4a48624e5466p1 1 1306 10490400+ 83 Linux
/dev/mapper/3600a098038303867635d4a48624e5466p2 1306 2612 10482432 83 Linux
Disk /dev/mapper/3600a098038303867635d4a48624e5466p1: 10.7 GB, 10742170112 bytes
Disk /dev/mapper/3600a098038303867635d4a48624e5466p2: 10.7 GB, 10734010368 bytes
8个多路径没有看到uuid了,且存储盘的分区没有uuid
[root@bid ~]# sudo blkid
/dev/sda6: UUID="35615827-9d3b-4d6d-adba-d200526e78e9" TYPE="ext4"
/dev/sda1: SEC_TYPE="msdos" LABEL="DellUtility" UUID="5450-4444" TYPE="vfat"
/dev/sda2: LABEL="OS" UUID="1CDB-B34B" TYPE="vfat"
/dev/sda3: UUID="4d4385cd-7f05-49da-b8a1-171429c09e7e" TYPE="ext4"
/dev/sda5: UUID="01160c05-0c31-435e-b659-0c7ea1f9dbba" TYPE="ext4"
/dev/sda7: UUID="992bf03b-503d-4d7f-89ee-8d9543e128ba" TYPE="swap"
/dev/sda8: UUID="539ece1a-3c42-4e35-bd9c-a4c70a2b9bf7" TYPE="ext4"
/dev/mapper/3600a098038303867635d4a48624e5466: UUID="10e9e45b-3c6e-4682-a74c-31b74c266414" TYPE="ext4"
blkid 指定多路径名称可以看到uuid,但是分区没有uuid
[root@bid ~]# blkid /dev/sdb
/dev/sdb: UUID="10e9e45b-3c6e-4682-a74c-31b74c266414" TYPE="ext4"
[root@bid ~]# blkid /dev/sdb1
[root@bid ~]# blkid /dev/sdb2
[root@bid ~]#
|
|