ahuacate / pve-nas

How to build a Proxmox Ubuntu CT File Server
GNU General Public License v3.0
41 stars 12 forks source link

when installling errors out on nvme ssd #1

Closed The-Drobe closed 2 years ago

The-Drobe commented 3 years ago

When installing errors out on nvme SSD

hello I get the following error when running your script

error

Confirming Proxmox PVE, OS and Boot hard disk ID... fdisk: cannot open /dev/nvmenp: No such file or directory environment: line 47: ROOTFS: unbound variable fdisk: cannot open /dev/[ERROR]: No such file or directory environment: line 47: ROOTFS: unbound variable cat: '/sys/block/'$'\033''[m[ERROR]/queue/rotational': No such file or directory bash: line 525: [: ==: unary operator expected environment: line 47: ROOTFS: unbound variable cat: /sys/block/nvmenp/queue/rotational: No such file or directory bash: line 525: [: ==: unary operator expected environment: line 47: ROOTFS: unbound variable cat: /sys/block/nvmenp/queue/rotational: No such file or directory bash: line 525: [: ==: unary operator expected

fdisk: cannot open /dev/nvmenp: No such file or directory fdisk: cannot open /dev/nvmenp: No such file or directory [ERROR] 1@631 Unknown failure occured. environment: line 47: ROOTFS: unbound variable

what fdisk -l out puts for nvme ssd

Device Start End Sectors Size Type /dev/nvme0n1p1 34 2047 2014 1007K BIOS boot /dev/nvme0n1p2 2048 1050623 1048576 512M EFI System /dev/nvme0n1p3 1050624 250069646 249019023 118.8G Linux LVM

ahuacate commented 3 years ago

I am in process of rewriting. By next week hopefully. Sorry about the inconvenience.

The-Drobe commented 3 years ago

I am in process of rewriting. By next week hopefully. Sorry about the inconvenience.

ok thanks for the reply

ahuacate commented 3 years ago

Finally fixed I think. Major revamp. Included NVMe so hopefully the bugs gone

ahuacate commented 2 years ago

Also added LVM and Basic ext4 for USB storage.