Score:2

Possible to start a RAID1 setup with a single drive?

th flag

Can I start a ZFS pool with a RAID1 setup using a single drive, and then add another one later?

Running Proxmox VE 7.2

Score:2
kz flag

Yes, you can!

Follow the step-by-step guide below.

"Add a Mirror to an Existing ZFS Drive"

https://blog.fosketts.net/2017/12/11/add-mirror-existing-zfs-drive/

Score:-1
tn flag

Yes, you can start a ZFS pool with a single drive in Proxmox and then add another drive later to set up a RAID 1 (mirror) configuration. This process is known as "disk expansion" or "pool expansion."

Here's an overview of the steps you would need to follow:

  1. Create a ZFS pool with a single drive: You can create a ZFS pool using a single drive in Proxmox by following the normal process for creating a ZFS pool. The pool will start as a single-disk pool.

  2. Add a second drive: Once the ZFS pool is created, you can add a second drive to the pool. To do this, you would need to physically add the second drive to the system and then use the zpool add command to add the new disk to the pool.

  3. Convert the pool to a mirror: After the second disk is added to the pool, you can convert the pool to a mirror configuration using the zpool attach command. This will cause ZFS to start mirroring data across the two disks, providing redundancy and increased data availability.

Keep in mind that adding a second drive to an existing ZFS pool is a disruptive process, as the data on the first drive will need to be copied to the second drive in order to set up the mirror. Additionally, you will need to have enough free space on the first drive to accommodate the data that will be mirrored.

It is also important to plan your disk configuration carefully before starting the pool expansion process, as you will not be able to add or remove disks from the pool once the mirror is in place.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.