Question: How to share storage from clustered servers

i try using ZFS

zpool create -f -o ashift=12 sdpool /dev/mapper/pve-data

error
cannot open '/dev/mapper/pve-data': Device or resource busy
cannot create 'sdpool': one or more vdevs refer to the same device, or one of
the devices is part of an active md or lvm device
 
Hi,
to share you have to setup nfs.

zpool create -f -o ashift=12 sdpool /dev/mapper/pve-data
pve-data ist mounted you can't use a mounted dev.
and you should only use hole disk fore ZFS and no lvm pools.
 
use lsblk to see what disk are in your machine and how they are used.
 
thank you for your help

root@vm3:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 9.1T 0 disk
├─sda1 8:1 0 1007K 0 part
├─sda2 8:2 0 127M 0 part
└─sda3 8:3 0 9.1T 0 part
├─pve-root 252:0 0 96G 0 lvm /
├─pve-swap 252:1 0 94G 0 lvm [SWAP]
└─pve-data 252:2 0 8.9T 0 lvm /var/lib/vz
 

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!