Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

2,240 Commits

Repository files navigation

This repository has been tested with Intel® Optane™ Persistent Memory 100 Series 128GB modules on a HPE DL360GEN10 using 2x Xeon Platinum 8259CL

image

patch instructions

install deps: apt install git build-essential debhelper-compat libtest-mockmodule-perl lintian pve-doc-generator -y

clone repo: git clone https://github.com/yesBad/pve-storage && cd pve-storage

run install: make dinstall

proxmox install instructions

Open Proxmox Installer as Debug
First shell -> exit
nano /usr/share/perl5/Proxmox/Sys/Block.pm
CTRL + F -> nvme - then add either or:
#sector mode } elsif ($dev =~ m|^/dev/pmem\d+s$|) {
return "${dev}$partnum";
}
#fsdax mode
} elsif ($dev =~ m|^/dev/pmem\d+$|) {
return "${dev}p$partnum";
}
*save*
exit
*Do installer as normal*
mkdir /target
* mounts will be different based on lvm/names/such *
* if using zfs examples; zpool import rpool, zfs set mountpoint=/target rpool/ROOT/pve-1 *
mount /dev/mapper/pve-root /target
mount /dev/pmem0s2 /target/boot/efi
* *
mount --bind /dev /target/dev
mount --bind /proc /target/proc
mount --bind /sys /target/sys
mount --bind /run /target/run
chroot /target /bin/bash
nano /etc/initramfs-tools/modules
nfit
libnvdimm
pmem
nd_pmem
dax_pmem
nd_btt
*save*
update-initramfs -k all -u exit
umount -R /target/boot/efi
umount -R /target/
exit

About

with PMEM support!

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages