[SOLVED] Bad Request 400 on Storage / Disks web gui

didrik_kurpz

New Member
May 14, 2023
5
3
3
Problem:
Bad Request (400)
command "lsblk" "--json" "-o" "path,parttype,fstype,uuid" failed - invalid utf-8 sequence of 1 bytes from index 151


Brand new install and updated with no-subscription

I can run lsblk
root@pbs01:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 931.5G 0 disk
sdb 8:16 0 931.5G 0 disk
sdc 8:32 0 931.5G 0 disk
sdd 8:48 0 931.5G 0 disk
sde 8:64 0 119.2G 0 disk
├─sde1 8:65 0 1007K 0 part
├─sde2 8:66 0 1G 0 part /boot/efi
└─sde3 8:67 0 118.2G 0 part
├─pbs-swap 252:0 0 8G 0 lvm [SWAP]
└─pbs-root 252:1 0 95.5G 0 lvm /
root@pbs01:~#
 

Attachments

Last edited:
Pulled out the drives and there is no problem anymore.
 

Attachments

  • Skjermbilde 2025-04-28 105715.png
    Skjermbilde 2025-04-28 105715.png
    41.2 KB · Views: 5
I ran "wipefs --all /dev/sdX" on all of the disks. And they all work now.
Thank you!! I was getting a 400 bad request error too - the drives were from my previous NAS RAID array. Running an `lsblk` to identify which ones were involved and then running that command on each of them did the trick! Interestingly this was also blocking the installation initially - despite installing to another drive I was getting errors because of this. I ejected all 4 drive bays for installation to complete thinking I could then wipe them from the Storage/Disks page but couldn't access that - thanks for this command!

Going forward I'm not sure if any way to change the install or this GUI page to not crash out so other users don't run into the same issue?
 
  • Like
Reactions: didrik_kurpz
Thanks @didrik_kurpz - I see it was marked as resolved/invalid but given my issues with the installer too I've reopened it (sorry Proxmox team, hope that's OK! ). From a user perspective I think it would be good if the error could be caught and provide a way of resolving.