adding hard drives

mathewb

Member
Feb 12, 2021
19
0
6
43
Hi there I am trying to add hard drives to my proxmox server
I am using
cd /dev/disk/by-id
ls
cfdisk /dev/disk/by-id/ata-WDC_WD10EZEX-08WN4A0_WD-WCC6Y0AHZSCZ
new
wright
pvcreate /dev/disk/by-id/ata-WDC_WD10EZEX-08WN4A0_WD-WCC6Y0AHZSCZ-part1
but then I then get
/dev/sdd: open failed: No medium found
/dev/sde: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdg: open failed: No medium found
Can't initialize physical volume "/dev/disk/by-id/ata-WDC_WD10EZEX-08WN4A0_WD-WCC6Y0AHZSCZ-part1" of volume group "pve" without -ff
/dev/disk/by-id/ata-WDC_WD10EZEX-08WN4A0_WD-WCC6Y0AHZSCZ-part1: physical volume not initialized.
How do I fix this
 
Have you tried adding the argument -ff that was mentioned by the error message? What is the output of the following?
Code:
pvs
vgs
 

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!