Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Proxmox Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
Proxmox Cookbook

Proxmox Cookbook

By : Ahmed
4 (7)
close
close
Proxmox Cookbook

Proxmox Cookbook

4 (7)
By: Ahmed

Overview of this book

Proxmox VE's intuitive interface, high availability, and unique central management system puts it on par with the world’s best virtualization platforms. Its simplicity and high quality of service is what makes it the foremost choice for most system administrators. Starting with a step-by-step installation of Proxmox nodes along with an illustrated tour of Proxmox graphical user interface where you will spend most of your time managing a cluster, this book will get you up and running with the mechanisms of Proxmox VE. Various entities such as Cluster, Storage, and Firewall are also covered in an easy to understand format. You will then explore various backup solutions and restore mechanisms, thus learning to keep your applications and servers safe. Next, you will see how to upgrade a Proxmox node with a new release and apply update patches through GUI or CLI. Monitoring resources and virtual machines is required on an enterprise level, to maintain performance and uptime; to achieve this, we learn how to monitor host machine resources and troubleshoot common issues in the setup. Finally, we will walk through some advanced configurations for VM followed by a list of commands used for Proxmox and Ceph cluster through CLI. With this focused and detailed guide you will learn to work your way around with Proxmox VE quickly and add to your skillset.
Table of Contents (13 chapters)
close
close
12
Index

ZFS commands

In this section, we will look at the commands for performing various tasks for ZFS on Proxmox.

How to do it…

  1. Use the following command to create the raidz ZFS pool:
    # zpool create <pool_name> raidz -m <mountpoint> </dev/sdX> </dev/sdX> <…>
    

    The command to create a zpool named testzfs in the /mnt/zfs1 mount point with three drives looks like this:

    #zpool create testzfs raidz –m /mnt/zfs1/ /dev/vdf /dev/vdg /dev/vdh
    

    The following screenshot shows the output of the zpool list to verify that our pool is created:

    How to do it…
  2. Use the following command to delete the ZFS pool:
    # zpool destroy <pool_name>
    

    This action is irreversible. Once the pool is deleted, it is permanently removed.

  3. Use the following command to list all the ZFS pools and storage space:
    # zpool list
    
  4. Use the following command to see the status of all the drives for the ZFS pool:
    #zpool status
    

    The preceding command is useful for checking if any drives are offline or approaching failure...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY