![为什么我的某些设备在 /dev/mapper 符号链接中,而其他设备不在?](https://linux22.com/image/980885/%E4%B8%BA%E4%BB%80%E4%B9%88%E6%88%91%E7%9A%84%E6%9F%90%E4%BA%9B%E8%AE%BE%E5%A4%87%E5%9C%A8%20%2Fdev%2Fmapper%20%E7%AC%A6%E5%8F%B7%E9%93%BE%E6%8E%A5%E4%B8%AD%EF%BC%8C%E8%80%8C%E5%85%B6%E4%BB%96%E8%AE%BE%E5%A4%87%E4%B8%8D%E5%9C%A8%EF%BC%9F.png)
我有以下内容:
ls -l /dev/mapper
...[snip]
lrwxrwxrwx 1 root root 7 May 15 03:21 md1_crypt -> ../dm-0
lrwxrwxrwx 1 root root 7 May 15 03:21 md2_crypt -> ../dm-9
brw-rw---- 1 root disk 252, 1 May 15 03:21 zfs1_crypt
brw-rw---- 1 root disk 252, 2 May 15 03:21 zfs2_crypt
brw-rw---- 1 root disk 252, 3 May 15 03:21 zfs3_crypt
brw-rw---- 1 root disk 252, 4 May 15 03:21 zfs4_crypt
lrwxrwxrwx 1 root root 7 May 15 03:21 zfs5_crypt -> ../dm-8
brw-rw---- 1 root disk 252, 6 May 15 03:21 zfs6_crypt
brw-rw---- 1 root disk 252, 5 May 15 03:21 zfs7_crypt
brw-rw---- 1 root disk 252, 7 May 15 03:21 zfs8_crypt
我刚刚创建了zfs5_crypt
、、和。我对所有 4 个zfs6_crypt
都使用了完全相同的设置和配置。zfs7_crypt
zfs8_crypt
以下是crypttab
这 4 个条目。
zfs5_crypt UUID=5ad31187-28b3-4636-a07e-1676e28aabdc /etc/crypt.key luks
zfs6_crypt UUID=c98d90c9-45be-4ff2-8959-f656d5c77919 /etc/crypt.key luks
zfs7_crypt UUID=96f2778b-eaf4-4cdd-841e-aca26bab96b0 /etc/crypt.key luks
zfs8_crypt UUID=49aaa246-4de7-4d62-84ed-76894f2340fe /etc/crypt.key luks
为什么会zfs5_crypt
显示为符号链接而其他的却没有。