HAMMER2

{{Short description|File system from DragonFly BSD}}

{{Infobox filesystem

| name = HAMMER2

| developer = Matthew Dillon

| full_name = HAMMER2

| introduction_date = {{Start date and age|2014|06|04}}

| introduction_os = DragonFly BSD 3.8

| partition_id =

| directory_struct =

| file_struct =

| bad_blocks_struct =

| max_file_size =

| max_files_no =

| max_filename_size =

| max_volume_size =

| dates_recorded =

| date_range =

| date_resolution =

| forks_streams =

| attributes =

| file_system_permissions = UNIX permissions

| compression = Yes

| data_deduplication = Live

| encryption = Planned

| OS = DragonFly BSD

}}

HAMMER2 is a successor to the HAMMER filesystem, redesigned from the ground up to support enhanced clustering. HAMMER2 supports online and batched deduplication, snapshots, directory entry indexing, multiple mountable filesystem roots, mountable snapshots, a low memory footprint, compression, encryption, zero-detection, data and metadata checksumming, and synchronization to other filesystems or nodes. It lacks support for extended file attributes ("xattr").

History

File:DragonFly BSD 6.2.1 HAMMER2 file system layout screenshot.png

The HAMMER2 file system was conceived by Matthew Dillon, who initially planned to bring it up to minimal working state by July 2012 and ship the final version in 2013. During Google Summer of Code 2013 Daniel Flores implemented compression in HAMMER2 using LZ4 and zlib algorithms.{{cite web|url=https://diit.cz/clanek/dragonfly-bsd-50-hammer2-900-000-procesu|title=DragonFly BSD 5.0: HAMMER2 a 900 000 procesů}} On June 4, 2014, DragonFly 3.8.0 was released featuring support for HAMMER2, although the file system was said to be not ready for use. On October 16, 2017, DragonFly 5.0 was released with bootable support for HAMMER2, though file-system status was marked as experimental.

HAMMER2 had a long incubation and development period before it officially entered production in April 2018, as the recommended root filesystem in the Dragonfly BSD 5.2 release.{{cite web|url=https://www.dragonflybsd.org/release52/|title=DragonFly BSD 5.2|publisher=Dragonfly BSD Project|date=9 April 2018|access-date=11 April 2018}}

Dillon continues to actively develop and maintain HAMMER2 as of June 2020.

See also

{{Portal|Free and open-source software}}

References

{{reflist|refs=

{{cite mailing list |url=http://apollo.backplane.com/DFlyMisc/hammer2.txt |title=DESIGN document for HAMMER2 (24-Jul-2017 update) |first=Matthew |last=Dillon |author-link=Matthew Dillon (computer scientist) |date=2017-07-24 }}

{{cite mailing list |url=https://www.dragonflybsd.org/mailarchive/kernel/2011-05/msg00010.html |title=HAMMER2 announcement |first=Matthew |last=Dillon |author-link=Matthew Dillon (computer scientist) |date=2011-05-11 }}

{{cite web |url=http://www.google-melange.com/gsoc/project/details/google/gsoc2013/iostream/5750892489867264 |title=Block compression feature in HAMMER2 |work=GSoC 2013 |access-date=2014-06-05}}

{{cite web |url=https://www.dragonflybsd.org/release38/ |title=DragonFly Release 3.8 |work=DragonFly BSD |date=2014-06-04 |access-date=2014-06-05}}

{{cite web |url=https://www.dragonflybsd.org/release50/ |title=DragonFly Release 5.0 |work=DragonFly BSD |date=2017-10-16 |access-date=2017-10-16}}

}}