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?