Resize zfs partition

nik135

Renowned Member
Jul 27, 2015
3
0
66
Hi All!

I install proxmox with zfs(raid1).
How i can resize root fs?
I need to create partition for drbd.

I'm newbie, so don't criticise
 
Hi,
this is not so easy as zfs is designed to work with the whole disk.
you can also use partitions, but for this you have to install all over and parted it manually.
But seriously I would never do this because you completely kill the performance of zfs and drbd.
but what you can do is create a zvol on the rpool and use this for you DRBD.
 
Last edited by a moderator:
Hi,
this is not so easy as zfs is designed to work with the whole disk.
you can also use partitions, but for this you have to install all over and parted it manually.
But seriously I would never do this because you completely kill the performance of zfs and drbd.
but what you can do is create a zvol on the rpool and use this for you DRBD.

it's my 'zpool status' after install:

zpool status
pool: rpool
state: ONLINE
scan: none requested
config:

NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
pci-0000:00:10.0-scsi-0:0:0:0-part2 ONLINE 0 0 0
pci-0000:00:10.0-scsi-0:0:1:0-part2 ONLINE 0 0 0

can You prompt me how i can do zvol for drbd?
 

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!