All Projects → johnramsden → Zedenv

johnramsden / Zedenv

Licence: bsd-3-clause
ZFS Boot Environment manager (new development moved to zectl)

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Zedenv

Rdrview
Firefox Reader View as a command line tool
Stars: ✭ 622 (+991.23%)
Mutual labels:  freebsd
Swfw
Pure C Simple Window Framework (to be rebased soon).
Stars: ✭ 23 (-59.65%)
Mutual labels:  freebsd
Hev Socks5 Server
A simple, lightweight socks5 server for Unix (Linux/BSD/macOS)
Stars: ✭ 33 (-42.11%)
Mutual labels:  freebsd
Judge Server
Judging backend server for the DMOJ online judge.
Stars: ✭ 648 (+1036.84%)
Mutual labels:  freebsd
Raspberrypipkg
DEPRECATED - DO NOT USE | Go here instead ->
Stars: ✭ 758 (+1229.82%)
Mutual labels:  freebsd
Netkiller.github.io
Netkiller Free ebook - 免费电子书
Stars: ✭ 861 (+1410.53%)
Mutual labels:  freebsd
Persepolis
Persepolis Download Manager is a GUI for aria2.
Stars: ✭ 5,218 (+9054.39%)
Mutual labels:  freebsd
Webfsd
A simple HTTP server for mostly static content written in C
Stars: ✭ 50 (-12.28%)
Mutual labels:  freebsd
Arcan
Arcan - [Display Server, Multimedia Framework, Game Engine] -> "Desktop Engine"
Stars: ✭ 885 (+1452.63%)
Mutual labels:  freebsd
Freebsd Papers
The FreeBSD Papers, Slides, and Video Collection
Stars: ✭ 33 (-42.11%)
Mutual labels:  freebsd
Pyroute2
Python Netlink and PF_ROUTE library — network setup and monitoring
Stars: ✭ 658 (+1054.39%)
Mutual labels:  freebsd
Duf
Disk Usage/Free Utility - a better 'df' alternative
Stars: ✭ 7,240 (+12601.75%)
Mutual labels:  freebsd
Jail Task Driver
nomad task driver that uses FreeBSD jails
Stars: ✭ 28 (-50.88%)
Mutual labels:  freebsd
Htop
htop is an interactive text-mode process viewer for Unix systems. It aims to be a better 'top'.
Stars: ✭ 5,626 (+9770.18%)
Mutual labels:  freebsd
Awesome Unix
All the UNIX and UNIX-Like: Linux, BSD, macOS, Illumos, 9front, and more.
Stars: ✭ 973 (+1607.02%)
Mutual labels:  freebsd
Filesystem
An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD.
Stars: ✭ 603 (+957.89%)
Mutual labels:  freebsd
Moosefs Freebsd Ports
Official FreeBSD Ports for MooseFS 3.0 (and MooseFS 2.0). If you're looking for MooseFS 2.0 ports, check the 2.0.x branch.
Stars: ✭ 10 (-82.46%)
Mutual labels:  freebsd
O
🌀 Text editor suitable for writing git commit messages and editing Markdown files. Can build executables and jump to errors at the press of `ctrl-space`, for several programming languages. Can format code with `ctrl-w`. Provides general syntax highlighting, rainbow parenthesis and cut/paste portals. o is intentionally limited to VT100.
Stars: ✭ 54 (-5.26%)
Mutual labels:  freebsd
Xfreq
a UNIX software to monitor the Intel Core i7 and Core 2 showing turbo boost, temperatures, cstates and other processor features.
Stars: ✭ 47 (-17.54%)
Mutual labels:  freebsd
Adhokku
A toy PaaS
Stars: ✭ 32 (-43.86%)
Mutual labels:  freebsd

====== zedenv

Future development has been moved to zectl <https://github.com/johnramsden/zectl>_

.. image:: https://travis-ci.com/johnramsden/zedenv.svg :target: https://travis-ci.com/johnramsden/zedenv

ZFS boot environment manager

Documentation for the project can be found at readthedocs <https://zedenv.readthedocs.io>_.

zedenv is still experimental and should not be used on production systems.

Install

zedenv requires python 3.6+, pyzfscmds <https://github.com/johnramsden/pyzfscmds>_, and ZFS running as the root filesystem.

The system should also be configured in the format:

.. code:: shell

${zpool}/${optional_datasets}/${boot_environment_root}/${root_dataset}

For example, zpool/ROOT/default or zpool/sys/hostname/ROOT/default.

zedenv can be installed a few ways:

  • From the setup.py <setup.py>_ directly.
  • From the Makefile <packaging/Makefile>_.
  • From the Arch AUR <https://aur.archlinux.org/packages/zedenv/>_.

First, clone the git repos.

.. code-block:: shell

git clone https://github.com/johnramsden/pyzfscmds
git clone https://github.com/johnramsden/zedenv

Makefile and setup.py

To install without poluting your system, you can also create a directory somewhere and install in a venv, otherwise install to the system.

Optionally, create a venv and activate.

.. code-block:: shell

python3.6 -m venv venv
. venv/bin/activate

setup.py


Enter the repos and install.

.. code-block:: shell

    cd pyzfscmds
    python setup.py install

    cd ../zedenv
    python setup.py install

Makefile

Enter the packaging directory in the repos run make, pyzfscmds must be installed first.

.. code-block:: shell

cd pyzfscmds/packaging
make

cd ../../zedenv/packaging
make

How To Use

zedenv can be used to manage boot environments using ZFS. If your system is set up in a way compatible with boot environments, you can start using them right away.

Create and activate a new Boot Environment.

.. code-block:: shell

$ zedenv create default-0
$ zedenv activate default-0

This will make it the Boot Environment used on reboot.

.. code-block:: shell

$ zedenv list

.. code-block:: none

Name       Active   Mountpoint   Creation
default    N        -            Wed-May-23-23:48-2018
default-0  R        /            Thu-May-24-23:54-2018

This can be shown with a list, command. The boot environment currently being used will have a 'N' in the active column signifying the boot environment is being used now. An 'R' in the active column means this environment will be used on reboot.

Bootloader Plugins

Bootloader plugins are available for:

  • Systemd-boot
  • FreeBSD loader
  • GRUB (via external plugin <https://github.com/johnramsden/zedenv-grub/>_)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].