<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=3380&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Devuan on native ZFS-Root]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3380</link>
		<description><![CDATA[The most recent posts in Devuan on native ZFS-Root.]]></description>
		<lastBuildDate>Wed, 25 Mar 2020 17:36:14 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Devuan on native ZFS-Root]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20723#p20723</link>
			<description><![CDATA[<div class="quotebox"><cite>Terence wrote:</cite><blockquote><div><p>Good morning ladies &amp; gentleman&#039;s,<br />2. Why dividing &quot;/&quot; (root) from &quot;/home&quot; under &quot;ZFS&quot;?</p></div></blockquote></div><p>In my opinion, if you&#039;re using ZFS (or BTRFS), there&#039;s one more reason to separate root and home partitions (besides the ones already mentioned):<br />If you make a snapshot of your root filesystem, and later want to rollback (maybe after you&#039;ve broken something), they should be separate -<br />or else you will rollback your personal data (home) together with the system files on root file system. They should be decoupled.</p><div class="quotebox"><blockquote><div><p>3. Do I need an extra &quot;/boot&quot;-partition even if I have EFI?</p></div></blockquote></div><p>I can&#039;t tell much about EFI, buy you almost never NEED, an extra /boot, but in my opinion it&#039;s always a good idea to have one - for example, grub doesn&#039;t support all filesystems that linux proper does, different versions of grub can or cannot read different filesystems, also you may boot a livecd for a rescue and have trouble unlocking your luks or importing zfs pool, so /boot should be a separate (smallish) partition, formatted with an fs that everyone can read. I recommend ext3 for /boot.</p><p>In early days of windows NT/XP, it was common practice to have a separate C: drive with a simple filesystem (FAT/FAT32), because not everyone could read NTFS back than.</p><p>The same logic applies today - it&#039;s generally more reliable if you have a separate /boot formatted with an fs everyone can read. But of course this depends on your particular needs and use case.</p><div class="quotebox"><blockquote><div><p>4. What sould be necessarily &quot;snapshotted&quot; with ZFS and what not?</p></div></blockquote></div><p>Nothing is &quot;necessarily&quot; snapshotted with ZFS/BTRFS, you snapshot what you want. <br />I always snapshot the root filesystem after the first successful boot, and than before large upgrades or before making potentially breaking changes.<br />Since my /home is separate, I don&#039;t have to worry about my data/work being rolled back, and just operate on root.</p><p>[EDIT:] also keep in mind that if you do have extra /boot on a simple filesystem such as ext3, it&#039;s contents will NOT get snapshotted. You&#039;ll have to be careful with your boot files, or back the contents manually.</p><p>Debian based systems, including Devuan, do a good job of keeping an older, working copy of both your kernel and your initrd - thus there is seldom a need for backing up the full contents of /boot.<br />[End-EDIT]</p><p>If you&#039;re talking about a production server, there may be other specific cases where you must do snapshots.</p><div class="quotebox"><blockquote><div><p>5. ZFS don&#039;t need &quot;Swap&quot; <a href="https://xenotrope.blogspot.com/2017/08/encrypted-zfs-on-root-for-devuan-zfs.html" rel="nofollow"> but Devuan?</a>. A &quot;Swap-file&quot; instead of partition? how do it? Ones ZFS up and runnig delete &quot;Swap&quot; and &quot;entry&quot; in &quot;/etc/fstab&quot;?</p></div></blockquote></div><p>Good rule of a thumb is to make at least one swap partition, sized for example half of your ram. That will give you some breathing space.</p>]]></description>
			<author><![CDATA[dummy@example.com (dev-1-dash-1)]]></author>
			<pubDate>Wed, 25 Mar 2020 17:36:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20723#p20723</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan on native ZFS-Root]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20669#p20669</link>
			<description><![CDATA[<div class="quotebox"><cite>Terence wrote:</cite><blockquote><div><p>1. Why dividing &quot;/&quot; (root) from &quot;/home&quot; under &quot;LUKS&quot;?<br />2. Why dividing &quot;/&quot; (root) from &quot;/home&quot; under &quot;ZFS&quot;?</p></div></blockquote></div><p><a href="https://askubuntu.com/questions/142695/what-are-the-pros-and-cons-of-having-a-separate-home-partition" rel="nofollow">https://askubuntu.com/questions/142695/ … -partition</a></p><div class="quotebox"><cite>Terence wrote:</cite><blockquote><div><p>3. Do I need an extra &quot;/boot&quot;-partition even if I have EFI?</p></div></blockquote></div><p>You need an EFI system partition but it doesn&#039;t need to be mounted at all. Most distributions mount it under /boot/efi but that&#039;s only actually needed when installing the bootloader. The grub-install(8) command can be directed to an EFI system partition mounted to an arbitrary location with the --efi-directory= option (which defaults to /boot/efi).</p><div class="quotebox"><cite>Terence wrote:</cite><blockquote><div><p>4. What sould be necessarily &quot;snapshotted&quot; with ZFS and what not?</p></div></blockquote></div><p>You don&#039;t need the API filesystems (/proc, /sys &amp; /dev) but you&#039;ll need everything else if you want a full system restoration to the snapshot.</p><div class="quotebox"><cite>Terence wrote:</cite><blockquote><div><p>5. ZFS don&#039;t need &quot;Swap&quot; <a href="https://xenotrope.blogspot.com/2017/08/encrypted-zfs-on-root-for-devuan-zfs.html" rel="nofollow"> but Devuan?</a>.</p></div></blockquote></div><p>Linux needs swap, it handles OOM events badly.</p><div class="quotebox"><cite>Terence wrote:</cite><blockquote><div><p>A &quot;Swap-file&quot; instead of partition? how do it?</p></div></blockquote></div><p>ZFS doesn&#039;t support swap files, and they&#039;re a dirty hack anyway.</p><p>You can use a ZVOL as swap: <a href="https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-use-a-zvol-as-a-swap-device" rel="nofollow">https://github.com/zfsonlinux/pkg-zfs/w … wap-device</a></p><p>But it can lock up the system: <a href="https://github.com/zfsonlinux/zfs/issues/7734" rel="nofollow">https://github.com/zfsonlinux/zfs/issues/7734</a></p><div class="quotebox"><cite>Terence wrote:</cite><blockquote><div><p>6. Which version of <a href="https:///www.in-ulm.de/~mascheck/various/ash/" rel="nofollow"> ASH</a> is in Devuan 2.1? Could I get a link with command-list?</p></div></blockquote></div><p>Devuan uses <a href="https://pkginfo.devuan.org/stage/ascii/ascii/dash_0.5.8-2.4.html" rel="nofollow">dash</a> but you can use <a href="https://pkginfo.devuan.org/stage/ascii/ascii/busybox_1.22.0-19+b3.html" rel="nofollow">busybox</a>&#039;s version instead (<span class="bbc">busybox ash</span>).</p><p>See the POSIX man page for the general usage: <a href="https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sh.html" rel="nofollow">https://pubs.opengroup.org/onlinepubs/9 … es/sh.html</a></p><p>Or <a href="https://manpages.debian.org/buster/dash/dash.1.en.html" rel="nofollow">dash(1)</a> for the specifics.</p><div class="quotebox"><cite>Terence wrote:</cite><blockquote><div><p>7. Want use &quot;GPT&quot;, is &quot;parted&quot; OK? Under point &quot;5.&quot; is a link that mention &quot;--script&quot;, is a selfmade scripts or standard in &quot;parted&quot;?</p></div></blockquote></div><p>The parted(8) command can handle GUID partition tables but I prefer <a href="https://pkginfo.devuan.org/stage/ascii/ascii/gdisk_1.0.1-1.html" rel="nofollow">gdisk</a> with the sgdisk(8) scripting command. The --script option for parted(8) just allows for single commands instead of the interactive version.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 22 Mar 2020 15:56:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20669#p20669</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan on native ZFS-Root]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20667#p20667</link>
			<description><![CDATA[<p>I don&#039;t know anything about zfs, but I can answer a few of your questions. I did ask someone who uses zfs to take a look at this thread, and he suggests using partitions instead of whole disk for zfs. There is no longer a performance hit for using partitions.</p><p>/home separate from the OS partition is a good idea for several reasons. You are less likely to fill up &#039;/&#039; if you keep your user&#039;s files separate. It can also make reinstall easier.</p><p>swapfile works fine in devuan.<br />I use the following to make a 256MiB swapfile:</p><div class="codebox"><pre><code>dd if=/dev/zero of=/path/to/swapfile bs=1024 count=262144
mkswap /path/to/swapfile</code></pre></div><p>Change the count if you want a bigger swapfile. Add it to fstab to use it.<br />Swap is not necessary. You can boot and run the system without it as long as you have enough RAM. (You obviously do have enough.)</p><p>I recommend using a separate /boot partition. In ascii, it&#039;s possible to have the /boot directory as part of an encrypted root partition, but that doesn&#039;t work in beowulf. (Maybe it will by the time you want to upgrade, but that&#039;s a guess.)<br />Note: the /boot partition is not the same as the efi partition. </p><p>I&#039;ve never used parted to make gpt partitions, but I think it should work. Gparted should also work. I usually do it with gdisk.</p><p>The desktop-live iso won&#039;t give you what you want. It installs a full XFCE desktop. Use one of the Installer isos. Netinstall iso, CD-1 or DVD will work.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 22 Mar 2020 15:28:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20667#p20667</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan on native ZFS-Root]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20664#p20664</link>
			<description><![CDATA[<p>Good morning ladies &amp; gentleman&#039;s,</p><p>now I try a couple of days to get Devuan 2.1 up and running with ZFS in the Virtualbox with no good results, but enabling EFI and try acces the &quot;shell&quot; as soon as permitted I learn a lot... e.g. &quot;ash&quot; as shell, &quot;nano&quot; as editor...</p><p>I tray even other OS&#039;s like Kubuntu 20.04 but reading <a href="https://github.com/openzfs/zfs/wiki/Ubuntu-18.04-Root-on-ZFS" rel="nofollow">this</a>... it appear to be a big problem with &quot;SystemD&quot;, also no chance, hence I abandon finally waste of time with this.</p><p>Due the fact &quot;FreeNAS&quot; &amp; co. use &quot;OpenRC&quot; as &quot;Init-System&quot;, it appear to me, as absolutely new regarding &quot;BSD&quot;, but acquainted with some Linux-commands... I have the only possibility with Devuan + OpenRC + KDE.</p><p>Reading the above article it appear to be a must to set up much more &quot;Data-Sets&quot; as I previously expect, if it&#039;s necessary!? I don&#039;t know!</p><p>Finally i found <a href="https://soylentnews.org/comments.pl?sid=23388" rel="nofollow">this Devuan on ZFS</a> and the &quot;LUKS-Cryprosetup&quot; look very good even if by reading linked article is not clear if &quot;/boot&quot; should have own extra partition or not, <a href="https://devuan.org/os/documentation/install-guides/live-gui.html" rel="nofollow">here, apparently not</a>. Anyway, since I have 0,5 TB NVMe for the OS and UEFI (extra partition), but, these instructions (can) works by installing &quot;desktop-ISO&quot; (GTK), by &quot;DVD-ISO&quot; too? I will see.</p><p>Here my Hardware:<br />- MB one of latest PCI-3e<br />- CPU 8 core 16 Threads<br />- RAM 64 GiB (8-banks)<br />- NVMe 512 MiB<br />- GPU 8 GiB PCI-3e<br />- Data-HDD 4 TiB Sata3</p><p>Here my wish:<br />- Devuan &quot;latest stable&quot; 2.1<br />- ZFS on whole system, excluding &quot;EFI-partition&quot;?<br />- LUKS-Cryptosetup, excluding &quot;EFI-partition&quot;?<br />- OpenRC (parallelized)<br />- KDE as DE</p><p>Here my questions:<br />1. Why dividing &quot;/&quot; (root) from &quot;/home&quot; under &quot;LUKS&quot;?<br />2. Why dividing &quot;/&quot; (root) from &quot;/home&quot; under &quot;ZFS&quot;?<br />3. Do I need an extra &quot;/boot&quot;-partition even if I have EFI?<br />4. What sould be necessarily &quot;snapshotted&quot; with ZFS and what not?<br />5. ZFS don&#039;t need &quot;Swap&quot; <a href="https://xenotrope.blogspot.com/2017/08/encrypted-zfs-on-root-for-devuan-zfs.html" rel="nofollow"> but Devuan?</a>. A &quot;Swap-file&quot; instead of partition? how do it? Ones ZFS up and runnig delete &quot;Swap&quot; and &quot;entry&quot; in &quot;/etc/fstab&quot;?<br />6. Which version of <a href="https:///www.in-ulm.de/~mascheck/various/ash/" rel="nofollow"> ASH</a> is in Devuan 2.1? Could I get a link with command-list?<br />7. Want use &quot;GPT&quot;, is &quot;parted&quot; OK? Under point &quot;5.&quot; is a link that mention &quot;--script&quot;, is a selfmade scripts or standard in &quot;parted&quot;?</p><p>Thanks again and sorry for silly questions from my side.</p>]]></description>
			<author><![CDATA[dummy@example.com (Terence)]]></author>
			<pubDate>Sun, 22 Mar 2020 14:11:49 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20664#p20664</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan on native ZFS-Root]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20583#p20583</link>
			<description><![CDATA[<p>I&#039;ve used this guide to install Debian stretch on ZFS:</p><p><a href="https://github.com/openzfs/zfs/wiki/Debian-Buster-Root-on-ZFS" rel="nofollow">https://github.com/openzfs/zfs/wiki/Deb … oot-on-ZFS</a></p><p>It should also work for Devuan if you use one of their live images.</p><p>Not very n00b-friendly though <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>And note that ZFS is a total memory hog, you&#039;ll need at least 16GiB if you want to enable de-duplication...</p><p>EDIT: ZFS can&#039;t be added as an official option because of licensing issues, Ubuntu are playing with fire offering it as they do.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Thu, 19 Mar 2020 17:57:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20583#p20583</guid>
		</item>
		<item>
			<title><![CDATA[Devuan on native ZFS-Root]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20575#p20575</link>
			<description><![CDATA[<p>Dear dev1ers,</p><p>i have installed Kubuntu 18.04 in VB with native ZFS-Root following <a href="https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Ubuntu-18.04-to-a-Whole-Disk-Native-ZFS-Root-Filesystem-using-Ubiquity-GUI-installer" rel="nofollow">those instructions</a> and works.</p><p>Now, trying to do the same with Devuan_Ascii_DVD.iso /expert install) not working, maybe has not &quot;ubuquity&quot;? Maybe is configured different? Anyway, as soon appear the possibility to access the &quot;bash-terminal&quot; and bevore &quot;partitioning&quot;... the bash don&#039;t let me use &quot;apt&quot;, &quot;apt-get&quot; to install &quot;zfsutils&quot;.</p><p>I don&#039;t know if the &quot;desktop-live.iso&quot; allow me that ==&gt; &quot;ubiquity&quot; (if any) is working like under Kubuntu but... for me is anyway unusefull because I need the DVD for installing KDE &amp; OpenRC too.</p><p>Can you provide me some link-s with reliable and easy to understand instructions on how to do this? Please consider, I&#039;m only user/newbee.</p><p>Considering the readed posting on the web and here in forum... appear ZFS more stable, fast and resistent to attacks too. Please consider, for next Devuan (maybe 3.0) to add the option of installing the OS on native ZFS-Root, <a href="https://github.com/saveriomiroddi/zfs-installer" rel="nofollow">here is a adaptable program</a>, I read also about <a href="https://www.proxmox.com" rel="nofollow">some Proxmox-packages</a> that allow a kind of &quot;webmanaging-GUI&quot; for ZFS, maybe can be ported to Devuan.</p><p>That could be great for Linux-acquainted-users want build a own server completely on ZFS-basis, of-course could be great to backport &quot;zfsutils&quot; 0.8 to Devuan (if possible).</p><p>Other instruction I read are <a href="https://dotfiles.tnetconsulting.net/articles/2016/0327/ubuntu-zfs-native-root.html" rel="nofollow">for Xenial (16.04)</a>, I read also <a href="https://www.proxmox.com" rel="nofollow">these here</a> and <a href="https://saveriomiroddi.github.io/Installing-Ubuntu-on-a-ZFS-root-with-encryption-and-mirroring/" rel="nofollow">these</a>.</p><p>P.S.: For me is coming the time to abbandone completely the *ubuntu-family and make our family-systems secure and fast, please for your help!</p><p>Thanks in advance and best regards. Terence</p>]]></description>
			<author><![CDATA[dummy@example.com (Terence)]]></author>
			<pubDate>Thu, 19 Mar 2020 14:46:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20575#p20575</guid>
		</item>
	</channel>
</rss>
