FusionIO PCI-e SSD not showing up under <host> -> disks

breakaway9000

Renowned Member
Dec 20, 2015
98
24
73
I've got a bunch of drives in my system (note last 6)

Code:
NAME               MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
sda                  8:0    0  3.5T  0 disk
├─sda1               8:1    0 1007K  0 part
├─sda2               8:2    0    1G  0 part /boot/efi
└─sda3               8:3    0  3.5T  0 part
  ├─pve-swap       252:0    0   32G  0 lvm  [SWAP]
  ├─pve-root       252:1    0  100G  0 lvm  /
  ├─pve-data_tmeta 252:2    0 15.9G  0 lvm
  │ └─pve-data     252:4    0  2.9T  0 lvm
  └─pve-data_tdata 252:3    0  2.9T  0 lvm
    └─pve-data     252:4    0  2.9T  0 lvm
sr0                 11:0    1 1024M  0 rom
fioa               251:0    0  1.2T  0 disk
fiob               251:16   0  1.2T  0 disk
fioc               251:32   0  1.1T  0 disk
fiod               251:48   0  1.1T  0 disk
fioe               251:64   0  1.1T  0 disk
fiof               251:80   0  1.1T  0 disk

But these do not show up within the WebUI (screenshot). As a result of this I can't create a zfs pool/lvm thinpool etc as you "normally" would be able to.

Or is this to be expected? As the FusionIO drives are basically hacked-together community supported devices because in typical fashion the original "enterprise" vendors abandoned them after a few years: https://github.com/RemixVSL/iomemory-vsl

Also, I don't really want to use ZFS with this (note how some drives are 1.2T while others are 1.1T), a simple "straight LVM" setup is preferable.

Yes, I am aware this can be worked around by creating them over SSH but I was wondering if I can get these drives to show up as other sata ssds/nvme ssds/hdds do.
 

Attachments

  • Untitled.png
    Untitled.png
    189.3 KB · Views: 0
Last edited:
Since the system determines whether to display it at this stage, you might be able to get it to show up if you back up the settings and try changing them.

*I don't think devices with unusual names or those unsuitable for use as disks will be displayed.

nano /usr/share/perl5/PVE/Diskmanage.pm -c

Code:
   557              my ($dev) = @_;
   558              # whitelisting following devices
   559              # - hdX         ide block device
   560              # - sdX         scsi/sata block device
   561              # - vdX         virtIO block device
   562              # - xvdX:       xen virtual block device
   563              # - nvmeXnY:    nvme devices
   564              # - cciss!cXnY  cciss devices
   565              return
   566                  if $dev !~ m/^(h|s|x?v)d[a-z]+$/
   567                  && $dev !~ m/^nvme\d+n\d+$/
   568                  && $dev !~ m/^cciss\!c\d+d\d+$/;

For example, in the case of eMMC, you would add the following, but I’m not sure if it will work properly.

*Please do not perform this directly on a production machine. Instead, please back up the files on a test machine, verify that it works, and then apply the changes.
I cannot provide any support in cases where PVE stops functioning properly.
Even if it does work, please refrain from contacting us regarding any issues with it. Please treat it like any other disk and do not ask us any questions about it. Please resolve any problems on your own. No one uses this type of device, and we do not investigate it.

Code:
   557              my ($dev) = @_;
   558              # whitelisting following devices
   559              # - hdX         ide block device
   560              # - sdX         scsi/sata block device
   561              # - vdX         virtIO block device
   562              # - xvdX:       xen virtual block device
   563              # - nvmeXnY:    nvme devices
   564              # - cciss!cXnY  cciss devices
   565              return
   566                  if $dev !~ m/^(h|s|x?v)d[a-z]+$/
   567                  && $dev !~ m/^nvme\d+n\d+$/
   568                  && $dev !~ m/^mmcblk\d+$/
   569                  && $dev !~ m/^cciss\!c\d+d\d+$/;

systemctl restart pveproxy
systemctl restart pvestatd
systemctl restart pvedaemon

It will likely be overwritten every time libpve-storage-perl is updated.

Code:
dpkg -S /usr/share/perl5/PVE/Diskmanage.pm
libpve-storage-perl: /usr/share/perl5/PVE/Diskmanage.pm
 
Last edited:
  • Like
Reactions: breakaway9000