新安装的 ZFS,没有可用池

新安装的 ZFS,没有可用池

所以我刚刚安装了带有 ZFS 的 Ubuntu 20.04。

第一件奇怪的事情是,我相信它会自动在我的两个相同的驱动器上创建镜像安装,因为 linux 磁盘显示一个包含两个磁盘的块设备。这很好,尽管我更希望自己能控制它...

然而奇怪的是 zpool list 显示“没有可用池”。

我想指出的是,这些曾经是硬件 RAID 配置,我没有清理磁盘。我只是假设 Ubuntu 安装程序会在必要时擦除它们。我想知道这是否是问题的一部分。

知道可能发生了什么吗?

以下是两个磁盘的 fdisk -l 输出:

Disk /dev/sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: Samsung SSD 860 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2b65feb0

Device     Boot   Start       End   Sectors   Size Id Type
/dev/sda1          2048   1050623   1048576   512M  b W95 FAT32
/dev/sda2       1052670 975699967 974647298 464.8G  5 Extended
/dev/sda5       1052672 975699967 974647296 464.8G 83 Linux


Disk /dev/sdb: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: Samsung SSD 860 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2b65feb0

Device     Boot   Start       End   Sectors   Size Id Type
/dev/sdb1          2048   1050623   1048576   512M  b W95 FAT32
/dev/sdb2       1052670 975699967 974647298 464.8G  5 Extended
/dev/sdb5       1052672 975699967 974647296 464.8G 83 Linux


Disk /dev/mapper/ddf1_4c53492020202020100000791000926047114711f44cec6f: 465.26 GiB, 499558383616 bytes, 975699968 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2b65feb0

Device                                                             Boot   Start       End   Sectors   Size Id Type
/dev/mapper/ddf1_4c53492020202020100000791000926047114711f44cec6f1         2048   1050623   1048576   512M  b W95 FAT32
/dev/mapper/ddf1_4c53492020202020100000791000926047114711f44cec6f2      1052670 975699967 974647298 464.8G  5 Extended
/dev/mapper/ddf1_4c53492020202020100000791000926047114711f44cec6f5      1052672 975699967 974647296 464.8G 83 Linux

这是 lsblk 的输出:

sda                                                          8:0    0 465.8G  0 disk   
    └─ddf1_4c53492020202020100000791000926047114711f44cec6f    253:0    0 465.3G  0 dmraid 
      ├─ddf1_4c53492020202020100000791000926047114711f44cec6f1 253:1    0   512M  0 part   /boot/efi
      ├─ddf1_4c53492020202020100000791000926047114711f44cec6f2 253:2    0     1K  0 part   
      └─ddf1_4c53492020202020100000791000926047114711f44cec6f5 253:3    0 464.8G  0 part   /
sdb                                                          8:16   0 465.8G  0 disk   
    └─ddf1_4c53492020202020100000791000926047114711f44cec6f    253:0    0 465.3G  0 dmraid 
      ├─ddf1_4c53492020202020100000791000926047114711f44cec6f1 253:1    0   512M  0 part   /boot/efi
      ├─ddf1_4c53492020202020100000791000926047114711f44cec6f2 253:2    0     1K  0 part   
      └─ddf1_4c53492020202020100000791000926047114711f44cec6f5 253:3    0 464.8G  0 part   /

相关内容