Date: Mon, 22 Dec 2014 22:17:31 +0530 From: ashish@FreeBSD.org (Ashish SHUKLA) To: Nikos Vassiliadis <nvass@gmx.com> Cc: Ashish SHUKLA <ashish@FreeBSD.org>, freebsd-questions@freebsd.org Subject: Re: zvol vs plain file for VMs Message-ID: <86fvc7my1o.fsf@chateau.d.if> In-Reply-To: <549801AF.5000208@gmx.com> (Nikos Vassiliadis's message of "Mon, 22 Dec 2014 12:34:07 %2B0100") References: <54947594.2060202@gmx.com> <86mw6ilvyf.fsf@chateau.d.if> <549801AF.5000208@gmx.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 22 Dec 2014 12:34:07 +0100, Nikos Vassiliadis <nvass@gmx.com> said: | On 12/20/14 06:41, Ashish SHUKLA wrote: || On Fri, 19 Dec 2014 19:59:32 +0100, Nikos Vassiliadis <nvass@gmx.com> sa= id: || | Hi, ||=20 || | I have to convert a mail server to a VM and I don't know what kind of || | storage to use, a plain file or a zvol? ||=20 || | Are there any pros in using ZVOLs instead of plain files? ||=20 || | Thanks, Nikos ||=20 || I don't use FreeBSD for VMs, but theoretically plain file will have file= system || overhead which ZVOL won't. ||=20 || HTH ||=20 | Hi, | Thank you for your reply Ashish! | When you say overhead, you mean overhead on disk or in RAM? could you | explain a bit more? Overhead as in, read/writes to file will go through filesystem driver to bl= ock devices, which involves traversing filesystem structures, compared to ZVOL which is likely to be contiguous and is exposed as a block device. HTH =2D-=20 Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 Sent from my Emacs --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJUmEskAAoJEMdGz6nnT6SwtzYQAJ66q2994o7pzccVOXvGr3Xm Q8Ww7+80sBYCA/BOkyQuHJElj13P8cGCcgLrcvJ8P9GHx/YIKz3eWtJ+55aRvOhY 4SGvRl9il0pjEFLqIBii/Dd5t34AG3x9X0bgRuaovPIwlNtFGwlEa8NZwNVhfQdA xDMVGtnGyxKRartpIf+Eo06sv1T80jvsmZIbSK6sx9CW0IsxE4gOanK4GyQPskHH dqwIgGx1K1of66wmitzOCe8H7OzPVzKy7dRMRDXb/2MiubTgM/61Co41jI0oK+gD liqQO4eDh+IvkU3x5wJnvIqbscn5St5F20wM/PpBYpSrE1p2MdIHebXt1mD2EWlP 8mY6gnekOQRwCpP+es48ml1wJQFz3Z3/sBN54FuIc/TUTbHxLGkQCa0HT2VORc/M vMOamZJhdt8tur+0MJj0VGOhW+IN4R8iQjEWnCrF8GxfPJWCeRuQ8wtkXkvujlon 531X5NNxdehbmxkjsnAK/j/xqgqSSGFvM/uIV3DYXGcvjlPvF+K6NiABgiklCweU bjPzDkhxqQDow3LIBLyoIuIeqQq5pVezpwuX/Vlc352wEljJqwCj1Rsh0227ZdRf GhF9ZF+JRoh75s4j9aBrx/7uvfT4ZWAJiE9dADLDwkAreqJnibjKqJNJmB9eSieG tYMD1wsNer4LBxcA69HC =gQnB -----END PGP SIGNATURE----- --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86fvc7my1o.fsf>