Can you specify the VDev where data is saved?

Status
Not open for further replies.

Derf

Cadet
Joined
May 27, 2013
Messages
5
I plan to have two VDev's in my pool.

VDev 1 will be 4 disks / RAIDZ1.
VDev 2 will be 6 disks / RAIDZ2.

I'd like to save movie rips and music to VDev 1, and home movies, pictures, and personal files to VDev 2.

Can I make mount points on the different VDevs, like in Linux, so I can store everything under /Movies/ in VDev 1, and everything in /Pictures/ under VDev 2?
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
No. That's not what a vdev is. Cyberjock has a sticky for you at the top of this forum.
 

Derf

Cadet
Joined
May 27, 2013
Messages
5
I've seen that slideshow. He mentions CIFS mount points, but that sounds more like for sharing certain folders over the network...he doesn't specify if you can choose which VDev in the pool gets used for what. He simply says FreeNAS starts using available VDevs as they are added to the pool. He doesn't say if you can put certain files on certain VDevs.
 

titan_rw

Guru
Joined
Sep 1, 2012
Messages
586
You don't choose which vdevs get used. They all get used.

If you want to separate your data the way you're describing, setup two zpools, each one with a single vdev.

Alternately, you can have one zpool with all your drives, and use datasets for the different kinds of data. The data will still be spread across the entire pool though. That's the point of zfs.
 
Status
Not open for further replies.
Top