Book Image

Mastering Proxmox

By : Wasim Ahmed
Book Image

Mastering Proxmox

By: Wasim Ahmed

Overview of this book

Table of Contents (17 chapters)
Mastering Proxmox
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Storage issues


This section contains issues related to storage systems supported by Proxmox, such as local, NFS, Ceph, GlusterFS, and so on.

Deleting damaged LVM with error read failed from 0 to 4096

Sometimes it may be necessary to remove damaged LVM storages from a cluster. Run the following command from the CLI to remove such LVMs. Please be aware that it will remove the LVM permanently.

# dmsetup remove /dev/<volume_group>/<lvm_name>

Proxmox cannot mount NFS share due to time-out error

Some NFS servers such as FreeNAS do a reverse lookup for hostnames. We have to add Proxmox hostnames to the host files of the NFS server. Use any editor of your choice to open the hosts file:

# nano /etc/hosts

Add Proxmox nodes' hostnames as in the following examples:

192.168.145.1    pmxvm01.domain.com        pmxvm01
192.168.145.2    pmxvm02.domain.com        pmxvm02
192.168.145.3    pmxvm03.domain.com        pmxvm03
192.168.145.4    pmxvm04.domain.com        pmxvm04

Removing stale NFS shares when...