Questions tagged [zvol]

7 questions
14
votes
5 answers

ZFS: Redistribute zvol over all disks in the zpool?

Is there a way in which ZFS can be prompted to redistribute a given filesystem over the all of the disks in its zpool? I'm thinking of a scenario where I have a fixed size ZFS volume that's exported as a LUN over FC. The current zpool is small, just…
growse
  • 7,830
  • 11
  • 72
  • 114
9
votes
2 answers

strange ZFS disk space usage report for a ZVOL

We have a 100G ZVOL on a FreeBSD 10.0-CURRENT host which claims to use 176G of disk space: root@storage01:~ # zfs get all zroot/DATA/vtest NAME PROPERTY VALUE SOURCE zroot/DATA/vtest type …
Alex
  • 7,789
  • 4
  • 36
  • 51
6
votes
3 answers

How to overprovision an SSD for holding a smaller ZFS volume (ZVOL)?

I have a pair of 480 GB "Datacenter" SSDs (SAMSUNG MZ7LM480HMHQ-00005) that will make up a ZFS pool in a mirroring configuration. The pool's only content will be a ZFS volume (ZVOL) for a virtual machine. However, the ZVOL will only be 400 GB in…
David Scherfgen
  • 265
  • 2
  • 6
3
votes
1 answer

COMSTAR and ZFS zvol giving bursty write pattern

I've just built a small NAS/SAN box and am doing some testing with it. Configuration is: 2GB RAM 2x Opteron 265s Iwill DK8N 5x500GB SATA drives (1 spare, rest mirrored) = 1TB usable space Emulex LPC10000DC NexentaCore 3.0.2 The first thing I'm…
growse
  • 7,830
  • 11
  • 72
  • 114
2
votes
2 answers

How do I configure Ubuntu 16.04 to show my ZFS zvols internal partitions?

I seem to be missing some zvol functionality, but I'm not sure how to phrase it. I had this functionality with these same zpools on an ArchLinux installation. (Migrated the server.) Ubuntu puts the zvols in /dev/zvol and arch mounted them in /dev.…
BeepDog
  • 314
  • 3
  • 12
2
votes
1 answer

ZFS compression on sparce zvol - space difference

I'm compressing a dd img of a 3TB drive onto a zvol in ZFS for Linux. I enabled compression (lz4) and let it transfer. The pool just consists of one 3TB drive (for now). I am expecting to have 86Gigs more in zfs list than I appear to. Here are some…
jrcichra
  • 141
  • 1
  • 4
1
vote
1 answer

Solaris 10 iSCSI and zfs zvol devices

Has anyone an experience working with Solaris 10 iSCSI and zfs zvol devices? From my experience in OpenSolaris 2009.6, zvol devices are slow and people use files as a disk images to store LUNs, it's may be unsafe but is the only one way to get a…
disserman
  • 1,850
  • 2
  • 17
  • 35