From owner-freebsd-questions@freebsd.org Wed May 13 09:46:18 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AE1F82F1324 for ; Wed, 13 May 2020 09:46:18 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49MVDT6pM6z3LfZ for ; Wed, 13 May 2020 09:46:17 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: by mail-io1-xd32.google.com with SMTP id e18so4490688iog.9 for ; Wed, 13 May 2020 02:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=7yet1nZy9wi8MskILNWBCwitEMXXqpNT2bVkQ6KP3tM=; b=Qi4pgZ1Wy8uIMWA9RsP5nHvnIKaU1dvZ3U1VpaFlBCIn27DRWbg6ZUUQc8oMtT7MRw T6uHHS4Sq0/PdakRQAxS6PLMRBw3uzmwXvrbxAdTrKRs1Dhf5fALZK/TBkSjehckoXz5 k7UA4bWfVUEoENMNjfI2nMzsVWVcbcmcsla7NM1CFwsXu5ltv2CTdrPuy085owmIiGv1 y5Y2uEUe66XZ10b/Kf0x3lH+pGCc/kyWcY1MLD3/8SR9G5zKkdjcUz2g+6Z2Ck7CnY1y O5RHBj0p2CJE6GKrEK1m40WfEK0+EJwIGqU52RDbCoPkLXfqD612DV5bttNiYGyxtVOt EpFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=7yet1nZy9wi8MskILNWBCwitEMXXqpNT2bVkQ6KP3tM=; b=WUzv4o5i1rSflUtcbx6ENuHyYQSOq+Sy4hoZLAOrXIrmu7cWpqSO+bDxObf5pTat+W 31IdgdcLykHvNb9qohD8Ez1T8rWyoNsmmZ3Ytir2cB7hOBWCMmhbLFPx7AU4bk+c3CF5 c4jD6FvOXR5AI116otRgFHgi3UXg/EV+H0enxo1ROKEaP4i0y7QFbpUTsraxZY1T3znY aSqxLjj+82uIbVnBO+3URbnpAmob675f3UZ+EXmrWqXb+DHzccaoKzHRyVkMHy508aoF zo5p2EIKylifBLa3cZPo3MpTtttSTNW8Jmd5s5aOTAjlY//x/YKh3ZkCenmvQFWfflPD dJvg== X-Gm-Message-State: AGi0PubcFl6KwT1w0GohUKfbXJVvUyjjlZEER5zRKncWdib4o6dzrCeK B1i8oP8bFOOfSigG1nDi/NduN+tqgkQTp0c8nFA= X-Google-Smtp-Source: APiQypJo5+nh+xFaX2mgcYD6WB966SwJ2xNODvynIUZsXTcXjj3aLZT8zKfV36fHCJACHQv9Cy2w+iKqPIA1wDC0p4o= X-Received: by 2002:a5e:c249:: with SMTP id w9mr5806159iop.128.1589363176557; Wed, 13 May 2020 02:46:16 -0700 (PDT) MIME-Version: 1.0 From: Michael Schuster Date: Wed, 13 May 2020 11:46:06 +0200 Message-ID: Subject: ZFS [Re: kldload vboxvfs.ko panics] To: Christoph Kukulies Cc: freeBSD Mailing List X-Rspamd-Queue-Id: 49MVDT6pM6z3LfZ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Qi4pgZ1W; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of michaelsprivate@gmail.com designates 2607:f8b0:4864:20::d32 as permitted sender) smtp.mailfrom=michaelsprivate@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; URI_COUNT_ODD(1.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2.3.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(0.00)[ip: (-5.28), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.42), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2020 09:46:18 -0000 Hi Christoph, I'm changing the subject ... because the subject changed :-) On Wed, May 13, 2020 at 10:11 AM Christoph Kukulies wrote: > > yes ... sorry, should have mentioned that (ZFS is so embedded in my > FreeBSD > > "context", I always forget that some people don't use it yet). > > Can I catch up to zfs quickly ? I'm sure you can :-) I don't have any links to online resources handy, I guess your fav. search engine can produce those in sufficient number. A few things I find relevant: The very basic conceptual difference between ufs and zfs is that zfs is a volume manager + file system all in one. The basic "unit" zfs works in is a pool - the simplest pool consists of a single disk, but the number of disks (and therefore the size of the storage it offers) you can have in a pool is large (there are practical limits, but the implementations don't impose any you'll reach in your life time ;-)). Within a pool, you can arrange your disks in a stripe (ie, concatenated) or mirrored, or as so-called "raidz"s with varying levels of parity, as well as (reasonable) combinations thereof. Adding disks to existing pools is easy; I haven't been following the effort to implement disk removal, that seems to be a non-trivial effort (so think first before adding a disk you can't spare ;-)). (There are implications to how you organise your pools, esp. where pool growth is concerned; though that's a complex topic in and of itself ...) >From a pool, you can "carve out" any number of file systems. The neat thing about this is that disk space in the pool is available to all file systems until it's actually consumed, so you don't have to make hard decisions about sizing when you create the FSs. Creating a snapshot in zfs is very "cheap" (and fast). Caveat: ZFS uses a lot of *virtual* addresses (or used to while I was at Sun), so on a 32bit machine it may not be a good idea to try zfs (I don't know whether it's even supported there). AFAIK there's no ufs-to-zfs converter on the same disk, and if you want to get some hands-on exposure before committing, I'd suggest you install FreeBSD (or any Solaris derivative like illumos ;-)) with ZFS in a test (virtual) machine first to get a feeling for it. I hope that gives you an idea - I'm not the expert on ZFS by far, but if you have questions and want to send them to me offline, feel free :-) good luck! Michael -- Michael Schuster http://recursiveramblings.wordpress.com/ recursion, n: see 'recursion'