ZFS Zpool .. creation on shared drive

zader

Member

Thanks: 3
Messages: 34

#1
Hi all,

Just wondering ... if I have a 1tb drive... create and install windows on a 100 gig partition ..is it possible to create a zpool with only the reamaining 800 gigs , or will it demand the entire drive?

If so is this a big performance hit? Or just not recomended ..etc?

The intent is to have the option to play the odd windows game on a fbsd box and keep graphics performance that is lost via a vm..

Thanks
 

ShelLuser

Son of Beastie

Thanks: 1,569
Messages: 3,411

#2
if I have a 1tb drive... create and install windows on a 100 gig partition ..is it possible to create a zpool with only the reamaining 800 gigs , or will it demand the entire drive?
Easily doable. ZFS can be used in multiple ways; one is to use an entire drive, but you can also add individual partitions (usually of type freebsd-zfs).

For example, this is the setup on my server:

Code:
config:

        NAME        STATE     READ WRITE CKSUM
        zroot       ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            ada0p2  ONLINE       0     0     0
            ada1p2  ONLINE       0     0     0
If so is this a big performance hit? Or just not recomended ..etc?
Impossible to say for sure without knowing the rest of the specs. ZFS is hungry for memory, and although smaller amounts will work I personally started considering 4Gb as an optimal minimum (also keeping 32bit environments in mind).

If your box meets those specs then sure thing: this should be doable.
 
Top