[SOLVED] New HDD doesn't show up in GUI or CLI

voarsh

Member
Nov 20, 2020
218
19
23
28
I ran:
lvs
vgs but the new disk doesn't show
1609329911207.png

HP ILO shows the disk as OK and of course, detected.

Do I need to reboot after installing a drive in a bay?
 

Attachments

  • 1609329853253.png
    1609329853253.png
    23.2 KB · Views: 52
hi,

do you see it when you run lsblk?
 
Do you recommend a restart? Not sure what to do after restarting...
wouldn't hurt to do. check lsblk again after the reboot to see if it shows up.
 
wouldn't hurt to do. check lsblk again after the reboot to see if it shows up.
Assuming (for some unknown reason) that it doesn't show up..... what else can I do?
HP ILO DOES show the disk as fine, lights spinning as well....

I can't restart right now, I'll have to plan it.
 
Assuming (for some unknown reason) that it doesn't show up..... what else can I do?
you can check dmesg and /var/log/syslog for any relevant clues if it's still not recognized
 
where are you looking on the GUI?

if you want the disk to be shown on the GUI you'll need to add/create a storage on it.

if the disk is empty you can do this at Node -> Disks

if it's already used then you can simply add a directory storage on the mount path (disk needs to be mounted)
 
  • Like
Reactions: kiani
1609335526669.png
Shows as a disk, but I cannot seem to use it?


1609335565175.png

Nor directory.


Judging by this, I'd say it is formatted:

1609335677647.png

I can't seem to use it for storage of VM/LXC disks, etc.
 
Last edited:
if you want to create a new lvm on the disk you need to zap it first (this will wipe all data!)

sgdisk --zap-all /dev/sdb

afterwards you should be able to select it in the creation wizard. if it doesn't show up try restarting pveproxy and pvedaemon services
 
if you want to create a new lvm on the disk you need to zap it first (this will wipe all data!)

sgdisk --zap-all /dev/sdb

afterwards you should be able to select it in the creation wizard. if it doesn't show up try restarting pveproxy and pvedaemon services
Thanks.

I've never quite understood LVM and LVM thinpool.

With the disk showing up, I wish to use it for disks, ISO's, backups, etc.
Instead of adding it to LVM-thin/LVM, is mounting and making a directory the better approach?
 
Hi !

I am also facing same issue for new proxmox server having 2 Discs 1T and SSD and 2TB HDD , However only see 1 in GUI but lslb showing 2 drives
root@p8200prox:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 953.9G 0 disk
├─sda1 8:1 0 1007K 0 part
├─sda2 8:2 0 1G 0 part /boot/efi
└─sda3 8:3 0 952.9G 0 part
├─pve-swap 253:0 0 8G 0 lvm [SWAP]
└─pve-root 253:1 0 944.9G 0 lvm /
sdb 8:16 0 1.8T 0 disk
├─sdb1 8:17 0 1.8T 0 part
└─sdb2 8:18 0 750M 0 part

I read the post reponses and ran command sgdisk --zap-all /dev/sdb but seeing the below out put :
root@p8200prox:~# sgdisk --zap-all /dev/sdb
Warning: Partition table header claims that the size of partition table
entries is 0 bytes, but this program supports only 128-byte entries.
Adjusting accordingly, but partition table may be garbage.
Caution: invalid main GPT header, but valid backup; regenerating main header
from backup!

Caution! After loading partitions, the CRC doesn't check out!
Warning: Invalid CRC on main header data; loaded backup partition table.
Warning! Main and backup partition tables differ! Use the 'c' and 'e' options
on the recovery & transformation menu to examine the two tables.

Warning! One or more CRCs don't match. You should repair the disk!
Main header: ERROR
Backup header: OK
Main partition table: ERROR
Backup partition table: ERROR

Invalid partition data!
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.

Not sure about it - any help and guidance appreciated thanks
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!