Article View: muc.lists.freebsd.hackers
Article #128Re: Now FreeBSD boots from an EFI partition plus a single HAMMER2 volume, with snapshots and boot environments, without a single...
From: Miroslav Lachman
Date: Fri, 04 Dec 2026 00:12
Date: Fri, 04 Dec 2026 00:12
78 lines
7034 bytes
7034 bytes
On 03/12/2026 23:00, Mario Marietto wrote: > Hello boys. > > this is my latest project,that reached the working phase just right > now,after weeks of tests : > > > https://github.com/Marietto2008/freebsd-src/tree/hammer2-root > <https://github.com/Marietto2008/freebsd-src/tree/hammer2-root> > > *HAMMER2 as the root filesystem of FreeBSD 16-CURRENT* Interresting project. HAMMER2 seems to me like a useful file system for virtual machines in bhyve, since I assume it will have lower memory requirements than ZFS. You obviously enjoy experimenting with LLM, so you might also be interested in the update to mount_smbfs from version 1 to version 3 :) Keep us updated about future projects and status of HAMMER2 on real HW! Best regards Miroslav Lachman [..] > *Pros and cons compared with UFS and ZFS* > > HAMMER2 offers almost everything ZFS boot environments provide, under a > BSD licence, but without self-healing, send/receive and years of > production use. > > Feature | UFS | ZFS | HAMMER2 (this project) > Licence | BSD | CDDL | BSD > Boots with ZFS disabled | Yes | No | Yes > Boot environments | No | Yes (bectl) | Yes (hammer2be, new) > Snapshots | For dump and background fsck | Yes | Yes, also per PFS > Data checksums | No (metadata only) | Yes, with repair from copies | > Yes, detects but does not repair > Compression | No | Yes | Yes (LZ4, zlib) > Redundancy | With GEOM underneath | Built in (mirror, RAIDZ) | With > GEOM underneath (not tested) > Sending snapshots to other machines | No | Yes (send/receive) | No > Space after a deletion | Freed at once | Freed at once | After bulkfree > Years of use on FreeBSD | Decades | Over fifteen | Thirteen days > (years on DragonFly) > Volumes usable by DragonFly | No | No | Yes, read and write > > > In short: compared with UFS you gain snapshots, boot environments, > checksums and compression; compared with ZFS you gain the licence and > lose self-healing, replication and maturity. > > *What remains to be done* > > Bare-metal runs on the dedicated disk > Propose the fixes upstream: kusumi/freebsd_hammer2, DragonFly, > FreeBSD (needs approval). > > > *Performances (HAMMER2 vs UFS vs ZFS) :* > > > https://github.com/Marietto2008/freebsd-src/blob/hammer2-root/ > hammer2-project/rapporti/PERFORMANCE-report-20261203-en.md > <https://github.com/Marietto2008/freebsd-src/blob/hammer2-root/ > hammer2-project/rapporti/PERFORMANCE-report-20261203-en.md> > > > Thanks to everyone that will help me to improve the code.... > > -- > Mario. -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<60ba0c12-45c3-4059-96ae-c93700b360f3@quip.cz>Path:
mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<CA+1FSijDaxB=kHBVq5We2x0u7WxWed=OEazQ_qJhPzHNdPxdjw@mail.gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail From: Miroslav Lachman <000.fbsd@quip.cz> Newsgroups: muc.lists.freebsd.hackers Subject: Re: Now FreeBSD boots from an EFI partition plus a single HAMMER2 volume, with snapshots and boot environments, without a single line of ZFS code. Date: Fri, 4 Dec 2026 01:12:37 +0100 Organization: Newsgate at muc.de e.V. Approved: news-admin@muc.de Distribution: world Message-ID: <60ba0c12-45c3-4059-96ae-c93700b360f3@quip.cz> References: <CA+1FSijDaxB=kHBVq5We2x0u7WxWed=OEazQ_qJhPzHNdPxdjw@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="3708"; mail-complaints-to="news-admin@muc.de" User-Agent: Mozilla Thunderbird DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1796343168; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=UcoZMvZPgJqtmhh3nutLAopuvHYG5vwW1ZqL8VZjPyE=; b=PK0K/DZPxWr3d/LnouAfJdNoYMW1YUxJqNZUCUDs0KwNO18MCNbWBodKhuXOCqShZH0Uae zxOmUcKSCWPPRsUrqhhYD72PykTZDxocLyzbukeDK9TBsBAVNDLuj7DImjYYh6Rm7JrirO M2yOS0D+ulPNDAhYRaFk5nEiRtLv2S1wryOMtuos3+LOH9lnbNyZBHAcJvgsxoXDAWClkZ 2qrcEkeOafyXFNeP+szBwz74gCeMDnR5XoGlcELdGRGGRvPdiTh9ia3yh9tNdvPt5hStve IpISOySJ0+BeVmmXHZb7cmjm8ImgPSil7C5PFc2PZLYctkl+W2yvKWEGQOsvvQ== X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Authentication-Results: mx1.freebsd.org; dkim=pass header.d=quip.cz header.s=private header.b=VGJdLhhF; dkim=pass header.d=quip.cz header.s=private header.b=iv5OJltE; spf=none (mx1.freebsd.org: domain of "SRS0=c03n=JX=quip.cz=000.fbsd@elsa.codelab.cz" has no SPF policy when checking 94.124.105.4) smtp.mailfrom="SRS0=c03n=JX=quip.cz=000.fbsd@elsa.codelab.cz"; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1796343163; bh=UcoZMvZPgJqtmhh3nutLAopuvHYG5vwW1ZqL8VZjPyE=; h=Date:Subject:To:References:From:In-Reply-To; b=VGJdLhhF/JFFS+ygMv4Fnc/8HYYeSlC2yf2WJy7JqVxHB8H5RfDTMYPaxXqYHpONT kShqS76IFBv6fH5f2cbntViNV49f9XX2SIcEqnFuL9LSVmc3rHZffO0Wg3PwLL47EB sBDh3mCxB2pqqBiecILWSUYCsaVa/HLus97jxAnE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1796343158; bh=UcoZMvZPgJqtmhh3nutLAopuvHYG5vwW1ZqL8VZjPyE=; h=Date:Subject:To:References:From:In-Reply-To; b=iv5OJltECTkp196/07yh2+bjUUv+M+1IhiKxmAHDSVtgR3sHOhqzVGJhNT9QMqpZz 8lCNnxZ7fm93uhmM20zA1Lcn1Qp937NbeIo1TGgPLVQnUsV6d+hZWiFiVzGfE9NBdC vy28NyQMCxbrZHzWp+ZFFDICR0E3mzH1rtPHkNjs= Precedence: list Content-Language: cs-Cestina In-Reply-To: <CA+1FSijDaxB=kHBVq5We2x0u7WxWed=OEazQ_qJhPzHNdPxdjw@mail.gmail.com> X-Rspamd-Queue-Id: 4jgX4s6Pzvz4tPG X-Spamd-Bar: / X-Spamd-Result: default: False [-0.00 / 15.00]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=c03n=JX=quip.cz=000.fbsd@elsa.codelab.cz]; R_DKIM_ALLOW(-0.20)[quip.cz:s=private]; MIME_GOOD(-0.10)[text/plain]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; R_SPF_NA(0.00)[no SPF record]; DMARC_NA(0.00)[quip.cz]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; TO_DN_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=c03n=JX=quip.cz=000.fbsd@elsa.codelab.cz]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DNSWL_BLOCKED(0.00)[94.124.105.4:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[quip.cz:+] X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes