/dev/pve/data entry not in fstab after install proxmox 4.4

hronny

New Member
Apr 19, 2014
25
0
1
Germany
Hello. Currently i just reinstall the proxmox host (ISO: Proxmox VE 4.4 (build eb2d6f1e-2). After the installation I noticed that the hard disk size is only 95 GB instead 2.7 TB. After a check I saw that the /dev/pve/data partition is not in the /etc/fstab file. Therefore, the system is unusable. Whats wrong here?

Regards, Ronny
 

Attachments

  • ProxmoxAfterReinstallNoData.png
    ProxmoxAfterReinstallNoData.png
    22.3 KB · Views: 15
This could be because of the thin LVM configuration and not really a bug. :(
Can you check the storage item in the web GUI.

Regards,
Shantanu
 
This host is a part of a four node cluster. After i connected this node to the cluster and try to migrate the vm from other node to this, the operation fails because out of space. All my virtual machines was created on this machine on local storage. Before reinstall i moved all machines to another node and now back with web GUI.
 
since 4.2 we format only a small portion of the harddisk as a filesystem (just for root), and leave the most space for lvm-thin (which enables snapshots for container for example)

i guess you have a cluster with nodes installed from <4.2

so you can one of two things for example:

1. add a storage in the webgui for this lvm-thin, which is restricted to the one node installed with 4.4
e.g.:

lvmthin: local-lvm
thinpoold data
vgname pve
content rootdir,images
nodes YOUR4.4NODE

2. create a filesystem in or instead of the lvmthin lv
like it is described here:
https://pve.proxmox.com/wiki/Logica...r_tt_span_class_monospaced_var_lib_vz_span_tt
 
Thank you for your message. You are right, my cluster has still been created with the old version.
The first variant has an additional problem which I could not solve. When migrating, you can not specify the target storage and still use "local". The Storagename is also used when restoring from a backup. That's why I chose the second option.
Code:
lvremove  /dev/pve/data
lvcreate -n vz -L 370G pve
mkfs.ext4 /dev/pve/vz
mount --all
After this i added one line in the fstab for /var/lib/vz. I think my problem is solved. But I also think that there is a reason that some proxmox versions a new storage technology is used. Maybe I find it still out how it works.

Regards,
Ronny
 
If I add LVMthin storage from GUI to the 4.4 node. where would I find the actual files using ssh?
 

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!