New FBSD Foundation projects: Grow Mounted Filesystems, and NAND Flash Support

The FreeBSD Foundation has announced it is funding two new projects:

  • Grow Mounted Filesystems
  • NAND Flash Support

Grow Mounted Filesystems

This project will focus on growing filesystems whilst mounted and add GEOM and filesystem changes that are necessary to increase the size of both UFS and ZFS filesystems while a filesystem is mounted read-write.

Check the announcement for more details: Grow Mounted Filesystems

NAND Flash Support

It was announced that Semihalf, an embedded solutions company, has been awarded a grant to bring their comprehensive NAND Flash file system and storage stack to FreeBSD. This technology enables FreeBSD to natively manage NAND Flash devices, satisfying a crucial requirement for many applications needing access to fast, reliable, non-volatile storage.

Check the announcement for more details: NAND Flash Support

BSD Magazine (Mar 2012): Nessus, Exploitation Tools and Payloads

March’s issue of the BSD Magazine is now available: Nessus, Exploitation Tools and Payloads (free PDF download).

You’ll find the following subjects inside:

  • MaheshaBSD-2.0: What’s New On The Lake Manasarovar?
  • GhostBSD: A Brief Overview
  • How Do I Study for the BSDA Certification?
  • GDB and Truss for Debugging
  • PostgreSQL: MVCC and Vacuum
  • Beowulf Clusters with DragonflyBSD
  • Npppd: EasyPPTP VPN with OpenBSD
  • Anatomy of FreeBSD Compromise Part 4

Read and download Nessus, Exploitation Tools and Payloads (BSD Mag 12/03)

FreeBSD 8.3-RC1 Available

Ken Smith has announced the availability of the first release candidate for FreeBSD 8.3, the project’s legacy stable branch: “The first release candidate build of the 8.3-RELEASE release cycle is now available on the FTP servers for the amd64, i386, and pc98 architectures. We hope to have one more release candidate build, followed by the release itself. If you notice any problems you can report them through the normal Gnats PR system or here on the -stable mailing list. If you would like to use csup/cvsup mechanisms to do a source-based update of an existing system the branch tag to use is now ‘RELENG_8_3′. If you would like to use SVN instead use ‘releng/8.3′. As part of preparing for RC1 ‘releng/8.3′ was branched. The freebsd-update(8) utility supports binary upgrades of i386 and amd64 systems running earlier FreeBSD releases.” Here is the full release announcement.

FreeBSD 8.3-BETA1 Available

The legacy production branch of FreeBSD 8 has received another update, version 8.3. As of now there is only one BETA build scheduled for this release cycle. The next test build is slated to be RC1.

“The first beta build of the 8.3-RELEASE release cycle is now available on the FTP servers for the amd64, i386, and pc98 architectures. Since the stable/8 branch is relatively mature we hope there will only be one BETA build for this release cycle. If testing does not turn up any show-stopper caliber problems the next test build will be RC1.

If you notice problems you can report them through the normal Gnats PR system or here on the -stable mailing list.

If you would like to use csup/cvsup mechanisms to do a source-based update of an existing system the branch tag to use is ‘RELENG_8′. If you would like to use SVN instead use ‘stable/8′. “

Read the full release announcement: FreeBSD 8.3-BETA1 Available.

FreeBSD Foundation one of 12 Initial Affiliates for OSI

Earlier this year, the Open Source Initiative (OSI) switched from a Board-only organization focused largely on licensing to a member-led organization of affiliates. The OSI Board invited the FreeBSD Foundation to its initial set of Affiliates and Justin Gibbs and Dru Lavigne from the FreeBSD Foundation have agreed to act as delegates.

Simon Phipps from the OSI announced the 12 initial affiliates at FOSDEM. In addition to the FreeBSD Foundation, the initial affiliates include: KDE, the Apache Software Foundation, the Mozilla Foundation, the Plone Foundation, Creative Commons, the Linux Foundation, Joomla, the Sahana Software Foundation, Drupal, the Eclipse Foundation, and the Wikiotics Foundation. (via)

pkgng: First look at FreeBSD’s new package manager

Most of you will be aware that a group of developers have released the first beta of FreeBSD’s new package management: pkgng.

Jake Smith has been playing around with the new package manager and has summarised the main pkgng commands: pkgng: First look at FreeBSD’s new package manager.

Here is a quick overview of pkgng, how to use it and some of the new features that will be available. The tests on this page are based on pkgng version 1.0 beta5 running on FreeBSD 9.0 RELEASE amd64.

More info on pkgng can be found on the FreeBSD pkgng wiki page.

SSH Mastery: An Addition to Any Unix User’s Bookshelf

The first paragraph of this book’s afterword reads:

“You now know more about SSH, OpenSSH and Putty than the vast majority of IT professionals! Congratulations”.

That claim will be true for any reader of SSH Mastery who has read the book up to that point and has incorporated at least some of the elements of the configurations it describes into their own environments.

“But why a book dedicated to a single command?”, you might ask. Almost all Unixes and Unix-likes have incorporated OpenSSH, the free SSH that is developed as part of the OpenBSD project, and OpenSSH comes with excellent documentation in the form of several extensive man pages.

More

FreeBSD 9 Review by on the Linux Action Show (video)

Alan, Chris and Bryan talk about FreeBSD 9.0 on the Linux Action Show.

In my opinion, the hosts could be more focused, serious and professional, instead of joking around continually. Anyway, this is the link: FreeBSD 9.0 Review.

If you’re interested in the FreeBSD part, jump to 37:55.

Topics of the conversation:

  • UFS Softupdate Journaling
  • The FreeBSD Fast File System now supports softupdates journaling. It introduces a intent log into a softupdates-enabled file system which eliminates the need for background fsck(8) even on unclean shutdown
  • This new feature means that a fsck after an unexpected reboot is no longer required. In modern FreeBSD only a basic preen was required, and then a full fsck would take place on a snapshot of the file system, in the background after the system had finished rebooting. With the new softupdate journaling (basically an intent log), a full fsck is no longer required at all
  • Journaling support is enabled by default on all newly created file systems, and can be enabled on existing UFS2 partitions using tunefs(8)
  • Full TRIM support for SSDs
  • The FreeBSD Fast File System now supports the TRIM command when freeing data blocks. The TRIM-enable flag makes the file system send a delete request to the underlying device for each freed block
  • TRIM support can also be enabled during newfs(8) or on an existing file system with tunefs(8)
  • ZFS Upgraded to v28
  • ZFS v28 introduces support for data deduplication, triple parity RAIDZ (raidz3), snapshot holds, log device removal, zfs diff, zpool split, zpool import -F, and read-only zpool import
  • The zpool(8): utility now supports a zpool labelclear command. This allows to wipe the label data from a drive that is not active in a pool
  • HAST Improvements
  • The Highly Available Storage daemon now supports data checksumming (crc32 or sha256) and compression (zero hole or lzf) and improved security
  • Introduction of the GEOM RAID class graid(8)
  • Which supports:
    • RAID0
    • RAID1
    • RAID1E
    • RAID10
    • SINGLE
    • CONCAT
  • It also supports the on disk formats for:
    • Intel RAID BIOS
    • JMicron RAID BIOS
    • NVIDIA MediaShield RAID BIOS
    • Promise and AMD/ATI RAID BIOS
    • SiliconImage RAID BIOS
  • Additionally, geom_map(4) allows specific areas of a device to be mapped as separate devices, especially useful for embedded flash storage
  • GEOM also support the following classes: CACHE, ELI, JOURNAL, LABEL, MIRROR, MOUNTVER, MULTIPATH, NOP, PART, RAID3, SCHED, SHSEC, STRIPE and VIRSTOR
  • NFSv4 with ACLs
  • In addition to NFSv2 and v3,
  • New utmpx(3) user accounting system
  • 5 new TCP congestion control schems
  • The FreeBSD TCP/IP network stack now supports the mod_cc(9) pluggable congestion control framework. This allows TCP congestion control algorithms to be implemented as dynamically loadable kernel modules
  • The following kernel modules are available as of 9.0-RELEASE: cc_chd(4) for the CAIA-Hamilton-Delay algorithm, cc_cubic(4) for the CUBIC algorithm, cc_hd(4) for the Hamilton-Delay algorithm, cc_htcp(4) for the H-TCP algorithm, cc_newreno(4) for the NewReno algorithm, and cc_vegas(4) for the Vegas algorithm.
  • An h_ertt(4) (Enhanced Round Trip Time) module has been added, which allows per-connection, low noise estimates of the instantaneous RTT in the TCP/IP network stack.
  • New CAM based disk subsystem
  • The ATA/SATA disk subsystem has been replaced with a new cam(4)-based implementation. cam(4) stands for Common Access Method, which is an implementation of an API set originally for SCSI–2 and standardized as “SCSI–2 Common Access Method Transport and SCSI Interface Module”
  • The ada(4) driver now supports per-device write cache control. New sysctl(8) variables kern.cam.ada.write_cache and kern.cam.ada.N.write_cache settings of 1 enables and 0 disables the write cache, and –1 leaves the device default behavior. sysctl(8) variables can override the configuration in a per-device basis (the default value is –1, which means to use the global setting)
  • New Resource Accounting and Limiting APIs
  • RACCT is a new resource accounting API has been implemented. It can keep per-process, per-jail, and per-loginclass resource accounting information
  • The new resource-limiting API RCTL works in conjunction with the RACCT resource accounting implementation and takes user-configurable actions based on the set of rules it maintains and the current resource usage
  • Full USB3 support
  • OpenSSH upgraded to 5.8p2 with HPN for faster transfer speeds
  • OpenResolv to manage resolv.conf for multiple interfaces
  • Support for SHA–256 and SHA–512 cryptographic password hashing
  • sh updated
  • new arithmetic expression handling imported from dash (which is originally from NetBSD ash)
  • changes to the way builtin commands relate to PATH env
  • fixed various other bugs
  • Capsicum Capability Mode
  • New Sandboxing and compartmentalization framework from Cambridge University
  • Improved privilege separation in OpenSSH and DHClient
  • Replacement of various GPL tools and utilities with BSD licensed ones to avoid GPLv3
  • libreadline
  • grep
  • llvm/clang imported, will eventually replace gcc 4.2 (last GPL v2)
  • compiler-rt replaced libgcc

FreeBSD 9.0 Review

Thanks to David Rogers for making me aware of this review. Submit your news.