Non active disc during configurtion

makalister

New Member
Mar 19, 2020
16
1
3
51
Hi,

I'm configuring proxmox for 1st time. I tried to add a disk but it seems that is nnot activated and disc shows an "?" condition. Can anybody tell me how to actiate disc?

Thanks

disco.JPGdisco 2.JPGdisco 3.JPG
 
hi,

how did you add the disk?

can you post the contents of /etc/pve/storage.cfg?
 
Hi,

The disk was included on the PC (workstation). It was working with windows. I remove windows and install proxmox with the disk. The disk was on the PC from the begining.

I type the command and this is the answer.

root@proxmox:~# /etc/pve/storage.cfg
-bash: /etc/pve/storage.cfg: Permission denied
root@proxmox:~#

Bes regards
 
sorry for being unclear, the command you need to run is cat /etc/pve/storage.cfg. (cat is the command and /etc/pve/storage.cfg is the filename)

also please run:
-> pvesm status
-> lsblk -f
-> lvs -a
-> pveversion -v

post the outputs here with [code][/code] tags, we might be able to figure out what's wrong from the outputs
 
Hi,

Here the commands answers:

root@proxmox:~# cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content rootdir,snippets,vztmpl,images,iso
maxfiles 0

lvm: D1Tb
vgname Disco1Tb
content rootdir,images
nodes proxmox
shared 0

dir: isos
path /isos
content images,rootdir
nodes proxmox
shared 0

root@proxmox:~#



root@proxmox:~# pvesm status
Name Type Status Total Used Available %
D1Tb lvm inactive 0 0 0 0.00%
isos dir active 60890972 4361584 53406600 7.16%
local dir active 60890972 4361584 53406600 7.16%


root@proxmox:~# lsblk -f
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
├─sda1
├─sda2 vfat 9581-7D11 510.7M 0% /boot/efi
└─sda3 LVM2_member PQUnJF-o3RW-Cefz-Y3Hl-Ff1h-ieOy-hc6Uvj
├─pve-swap swap ad22b4a2-af53-40a7-a4bc-95a73590177b [SWAP]
├─pve-root ext4 b9529e12-5214-46ad-b8aa-51499e77ff16 51G 7% /
├─pve-data_tmeta
│ └─pve-data
└─pve-data_tdata
└─pve-data
sdb
└─sdb1 ext4 5dc0ae1b-1319-4813-a1ee-417ce64ebc43
sr0
root@proxmox:~#


root@proxmox:~# lvs -a
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-a-tz-- <151.63g 0.00 1.05
[data_tdata] pve Twi-ao---- <151.63g
[data_tmeta] pve ewi-ao---- 1.55g
[lvol0_pmspare] pve ewi------- 1.55g
root pve -wi-ao---- 59.25g
swap pve -wi-ao---- 8.00g
root@proxmox:~#


root@proxmox:~# pveversion -v
proxmox-ve: 6.1-2 (running kernel: 5.3.10-1-pve)
pve-manager: 6.1-3 (running version: 6.1-3/37248ce6)
pve-kernel-5.3: 6.0-12
pve-kernel-helper: 6.0-12
pve-kernel-5.3.10-1-pve: 5.3.10-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.2-pve4
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.13-pve1
libpve-access-control: 6.0-5
libpve-apiclient-perl: 3.0-2
libpve-common-perl: 6.0-9
libpve-guest-common-perl: 3.0-3
libpve-http-server-perl: 3.0-3
libpve-storage-perl: 6.1-2
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve3
lxc-pve: 3.2.1-1
lxcfs: 3.0.3-pve60
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.1-1
pve-cluster: 6.1-2
pve-container: 3.0-14
pve-docs: 6.1-3
pve-edk2-firmware: 2.20191002-1
pve-firewall: 4.0-9
pve-firmware: 3.0-4
pve-ha-manager: 3.0-8
pve-i18n: 2.0-3
pve-qemu-kvm: 4.1.1-2
pve-xtermjs: 3.13.2-1
qemu-server: 6.1-2
smartmontools: 7.0-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.2-pve2
root@proxmox:~#


Best regards
 
On the 1st post of this threat, on images you can see that sdb is mounted. As i switch off the pc on last posts command lines, sdb is unmounted.
 
Finally I modified fstab and disk is mounted but status still shows unknow and non active
Could the disk be damaged and must be changed?
Someone can help please?
 
Last edited:
what about vgs -a?
 
root@proxmox:~# vgs -a
VG #PV #LV #SN Attr VSize VFree
pve 1 3 0 wz--n- 237.97g 15.99g
root@proxmox:~#
 

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!