Need HELP adding new hard drive

jl2035

New Member
Jun 13, 2020
6
0
1
36
Hi, I bought a new 240GB SSD disk and I would like to add it to my Proxmox box, as it is slowly but surely running out of space.

I insert the disk and I rebooted the server, but lsblk doesn't detect it.

I tried to follow this guide: https://nubcakes.net/index.php/2019/03/05/how-to-add-storage-to-proxmox/

But I'm stuck at the first step, where I want to check the ID using lsblk. Why doesn't lsblk detect my drive?

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 279.4G 0 disk
|-sda1 8:1 0 1007K 0 part
|-sda2 8:2 0 512M 0 part
`-sda3 8:3 0 278.9G 0 part
|-pve-swap 253:0 0 8G 0 lvm [SWAP]
|-pve-root 253:1 0 69.5G 0 lvm /
|-pve-data_tmeta 253:2 0 1.9G 0 lvm
| `-pve-data-tpool 253:4 0 181.7G 0 lvm
| |-pve-data 253:5 0 181.7G 0 lvm
| |-pve-vm--100--disk--0 253:6 0 8G 0 lvm
| |-pve-vm--103--disk--0 253:7 0 8G 0 lvm
| |-pve-vm--102--disk--0 253:8 0 80G 0 lvm
| |-pve-vm--104--disk--0 253:9 0 8G 0 lvm
| |-pve-vm--106--disk--0 253:10 0 16G 0 lvm
| |-pve-vm--107--disk--0 253:11 0 8G 0 lvm
| |-pve-vm--109--disk--0 253:12 0 32G 0 lvm
| |-pve-vm--111--disk--0 253:13 0 8G 0 lvm
| |-pve-vm--110--disk--0 253:14 0 16G 0 lvm
| |-pve-vm--112--disk--0 253:15 0 66G 0 lvm
| |-pve-vm--101--disk--0 253:16 0 16G 0 lvm
| |-pve-vm--114--disk--0 253:17 0 30G 0 lvm
| |-pve-vm--115--disk--0 253:18 0 66G 0 lvm
| |-pve-vm--117--disk--0 253:19 0 32G 0 lvm
| |-pve-vm--108--disk--0 253:20 0 6G 0 lvm
| |-pve-vm--113--disk--0 253:21 0 4G 0 lvm
| `-pve-vm--115--disk--1 253:22 0 6G 0 lvm
`-pve-data_tdata 253:3 0 181.7G 0 lvm
`-pve-data-tpool 253:4 0 181.7G 0 lvm
|-pve-data 253:5 0 181.7G 0 lvm
|-pve-vm--100--disk--0 253:6 0 8G 0 lvm
|-pve-vm--103--disk--0 253:7 0 8G 0 lvm
|-pve-vm--102--disk--0 253:8 0 80G 0 lvm
|-pve-vm--104--disk--0 253:9 0 8G 0 lvm
|-pve-vm--106--disk--0 253:10 0 16G 0 lvm
|-pve-vm--107--disk--0 253:11 0 8G 0 lvm
|-pve-vm--109--disk--0 253:12 0 32G 0 lvm
|-pve-vm--111--disk--0 253:13 0 8G 0 lvm
|-pve-vm--110--disk--0 253:14 0 16G 0 lvm
|-pve-vm--112--disk--0 253:15 0 66G 0 lvm
|-pve-vm--101--disk--0 253:16 0 16G 0 lvm
|-pve-vm--114--disk--0 253:17 0 30G 0 lvm
|-pve-vm--115--disk--0 253:18 0 66G 0 lvm
|-pve-vm--117--disk--0 253:19 0 32G 0 lvm
|-pve-vm--108--disk--0 253:20 0 6G 0 lvm
|-pve-vm--113--disk--0 253:21 0 4G 0 lvm
`-pve-vm--115--disk--1 253:22 0 6G 0 lvm
 
What is "hard disk connector"? I have one hard disk already working, I'm just unable to add the 2nd one. Would this BIOS setting somehow enable the machine to detect new hard disks? I don't understand why this behavior is not default? Do other Proxmox users just use one phisical disk? This doesn't make sense..
 
What is "hard disk connector"? I have one hard disk already working, I'm just unable to add the 2nd one. Would this BIOS setting somehow enable the machine to detect new hard disks? I don't understand why this behavior is not default? Do other Proxmox users just use one phisical disk? This doesn't make sense..
@jl2035 If a hard disk is not recognised in the operating system, I believe you have to check your BIOS setup first. I don't know if you are using just a normal PC or server but adding new disk doesn't mean that it's automatically connected. The disk should be connected to motherboard via hard disk controller (easily speaking, SATA or SAS cable). Another possible scenario might be you are using a hardware RAID controller and disk is not initialised?

I'm sorry that I cannot help you much as I don't know your hardware setup but that's my initial guess.

Eoin
 
@eoinkim It's a server machine... HP ProLiant DL380 G7.

I've checked the BIOS setup, but I couldn't find anything similar to "hard disk connector".
 
@jl2035 Every BIOS has different appearance so unfortunately, you have to delve into its manual or navigate menus. Is this a production system? If so, you may need to get some help from a systems administrator/engineer or server engineer. Especially, if your system is actually using RAID configuration, better to be careful.

Eoin
 
Last edited:
@jl2035 Okay, that's a RAID setup. And if the new hard disk is not shown under available physical drives, your guess would be likely true. I am not familiar with HP servers but normally if a hardware RAID card is used, the card should be connected to the back of the hard disk panel or motherboard via SAS cable. You can't confirm this until you actually open the server.

What I am confused is you said you were using only one hard disk so far. This means RAID hasn't been configured or might be configured with a RAID-0. Don't you have any logical drive already configured in the utility?

Eoin
 
@jl2035 Are you actually sure the disk is not shown in the operating system? Have you tried different commands other than lsblk? For example, if you type ls /dev/sd* what do you see? How about fdisk -l? Did you check dmesg as well?

Eoin
 
Thank you sir, I would never solve this myself.

I looked inside the box and saw there is a cable connected to the first and third disk slot and my new disk was in the 2nd slot. So after I moved it to the third, I could then use the ROM array utility and add new logical volume using this new disk.

I can now see this new disk as "/dev/sdb" in Proxmox.
 
@jl2035 That's awesome mate. Glad to hear that you got it working. Maybe you didn't have to create a logical volume but anyway all good in the end.

Eoin
 
Last edited:

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!