Can a pool have two different discs?

kukuruz28

Cadet
Joined
Jan 28, 2024
Messages
6
Greeting,
Can a pool have two different discs?
I have one disk of 450 gb, and one of 80 gb...
Can they do it together? or do I have to get another 450 or 80?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
A pool can have many VDEVs. A VDEV can have one or more disks.

The question you really need to ask yourself is what am I going to put in that pool and how do I want to use that?

If you're just dumping media files that are stored elsewhere (or you don't care if they are lost), then a striped pool of single-disk VDEVs is fine, which will give you the total storage capacity of the 2 disks. If you lose a single disk, all content on the pool is lost. (<<WARNING - be sure to understand that)

If you wanted to add redundancy (mirrored VDEV), you can do that (but only if you started the pool with the 80GB disk) and it will lock the capacity of the VDEV to that 80GB... sounds like not what you wanted.

you probably should just read the ZFS primer before using ZFS...
 

kukuruz28

Cadet
Joined
Jan 28, 2024
Messages
6
I'm new to this and I don't quite understand what you're talking about,
means when I go to create a new pool
throw this out....
Is there any option for me to create a pool without two identical disks?
If there is, I would need help writing some procedure for me
Snimka zaslona 2024-01-29 164529.png
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Is there any option for me to create a pool without two identical disks?
Tick the Force checkbox at the bottom (and make sure to specify a name for your pool) and you can proceed.

Understand that this creates a pool which will be entirely lost if either of the 2 disks fails.
 

Daisuke

Contributor
Joined
Jun 23, 2011
Messages
1,041

Also the pool will have the size of your smallest disk, if you force it. Best way is to purchase several identical disks, from same brand and make sure you have at least one spare on hand in case of failure.

Why do you want to create a pool of two disks? What is the intended usage purpose?
 

victort

Guru
Joined
Dec 31, 2021
Messages
973

Also the pool will have the size of your smallest disk, if you force it. Best way is to purchase several identical disks, from same brand and make sure you have at least one spare on hand in case of failure.

Why do you want to create a pool of two disks? What is the intended usage purpose?
Not if it’s a striped pool.
 
Top