Proxmox ZFS pool

jlogan223

New Member
Dec 2, 2023
6
0
1
Proxmox 8.1.3
Nextcloud version 27.1.1
Operating system, Debian 12
Apache 2.4.57
PHP 8.2.7

The issue you are facing:

I currently have Nextcloud set up inside Proxmox with a ZFS pool of 2x 4tb ( in mirror)

I have 2 more 4tb hdds from a WD Mirror, i would like to add to my existing ZFS pool, however i do not want to lose the 1.2tb of data already on these drives (that are already configured in a mirror setup.

Is there a way to add the WD drives to my ZFS pool and still have access to the existing data in Nextcloud?

I am new to Proxmox/Debian/Nextcloud so any advice you can provide would be greatly appreciated, especially if its in laymans terms not technical.

Thanks
 
I have 2 more 4tb hdds from a WD Mirror, i would like to add to my existing ZFS pool, however i do not want to lose the 1.2tb of data already on these drives (that are already configured in a mirror setup.
You should always have proper backups. Raid is not a backup.

Is there a way to add the WD drives to my ZFS pool and still have access to the existing data in Nextcloud?
Yes, you will have to add them via CLI and turn that mirror (raid1) into a striped mirror (raid10). See the "zpool add" command: https://openzfs.github.io/openzfs-docs/man/master/8/zpool-add.8.html
Exapme 1 is what you want.
I have 2 more 4tb hdds from a WD Mirror
Those will then be wiped.
 
Last edited:
You should always have proper backups. Raid is not a backup.


Yes, you will have to add them via CLI and turn that mirror (raid1) into a striped mirror (raid10). See the "zpool add" command: https://openzfs.github.io/openzfs-docs/man/master/8/zpool-add.8.html
Exapme 1 is what you want.

Those will then be wiped.
So short answer is if I add my 2 x 4tb WD drives with existing data to my ZFS pool, I will lose all the data on the newly added drives (WD drives)?
 
I suggest you buy an 8TB drive and back up what you already have.

You can have 2 separate pools, and share storage with soft symlinks or possibly bind mounts.

But if you want to add another mirror column to an existing zfs pool, the additional drives need a wipefs and preferably a fresh, blank gpt partition before they can be used to expand the free space. They will be reformatted when they become part of the existing pool; you can then restore whatever is needed from your backup.
 
  • Like
Reactions: jlogan223

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!