<?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=4568&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] BTRFS Drama]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4568</link>
		<description><![CDATA[The most recent posts in [SOLVED] BTRFS Drama.]]></description>
		<lastBuildDate>Tue, 19 Oct 2021 15:01:53 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] BTRFS Drama]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32246#p32246</link>
			<description><![CDATA[<p>Thank you very much again... 🍺</p><p>After this event I am not sure BTRFS has been a good idea anymore, I would achieve the same result with LVM except for the snapshots (althoug LVM supports them). I did it because mistakenly I was convinced about some internal command, and it doesn&#039;t matter if you are or not a power user, it still looks cumbersome the procedure rather than doing:</p><div class="codebox"><pre><code># zfs rollback -r /your/snapshot@date</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Danielsan)]]></author>
			<pubDate>Tue, 19 Oct 2021 15:01:53 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32246#p32246</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] BTRFS Drama]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32184#p32184</link>
			<description><![CDATA[<div class="quotebox"><cite>Danielsan wrote:</cite><blockquote><div><p>Can I actually mount a disk while using a subvolume?</p><p>You wrote</p><p><span class="bbc"># mount /dev/sdXY /mnt</span></p><p>In my case it would be /dev/sda1, did I understand properly?</p></div></blockquote></div><p>Yes, that&#039;s right.</p><div class="quotebox"><cite>Danielsan wrote:</cite><blockquote><div><p>Other distros like Ubuntu, Opensuse and Arch implemented an automatic function related with the packaging upgrading to rollback</p></div></blockquote></div><p>Yeah, well De{bi,vu}an is for experienced users so it doesn&#039;t need those hand-holding tools.</p><p>At least the bullseye installer now uses a <span class="bbc">@rootfs</span> subvolume for btrfs; the old installer just used to dump the whole filesystem straight onto the root partition, which was irritating.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 17 Oct 2021 17:00:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32184#p32184</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] BTRFS Drama]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32182#p32182</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p><strong>@OP:</strong> so boot into the snapshot from GRUB (change <span class="bbc">rootflags=subvol=@</span> to <span class="bbc">rootflags=subvol=btrfs/snap_20211015</span>) but remember to either edit the <span class="bbc">/</span> line in btrfs/snap_20211015/etc/fstab so that the <span class="bbc">subvol=</span> bit is correct or just delete that line and set the parameters via /etc/default/grub instead.</p><p>Once booted into the snapshot mount the btrfs partition and move the snapshot:</p><div class="codebox"><pre><code># mount /dev/sdXY /mnt
# mv /mnt/@{,.orig}
# mv /mnt/btrfs/snap_20211015 /mnt/@</code></pre></div><p>Then reboot again.</p><p>If that all works you can remove the original root subvolume:</p><div class="codebox"><pre><code># mount /dev/sdXY /mnt
# btrfs subvolume delete /mnt/@.orig # any nested subvolumes will have to be deleted first; rm -r might be quicker :-)</code></pre></div></div></blockquote></div><p>Thanks, this really clarify a lot of things however there is something that I still don&#039;t get...</p><p>Can I actually mount a disk while using a subvolume?</p><p>You wrote</p><p><span class="bbc"># mount /dev/sdXY /mnt</span></p><p>In my case it would be /dev/sda1, did I understand properly?</p><p>Anyway I didn&#039;t understand many critics about BTRFS but since I am playing with FreeBSD almost daily I have started to understand the reasons, the filesystem lacks a method to restore itself, like for instance ZFS, and this procedure is a bit cumbersome. Other distros like Ubuntu, Opensuse and Arch implemented an automatic function related with the packaging upgrading to rollback.</p>]]></description>
			<author><![CDATA[dummy@example.com (Danielsan)]]></author>
			<pubDate>Sun, 17 Oct 2021 16:06:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32182#p32182</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] BTRFS Drama]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32178#p32178</link>
			<description><![CDATA[<div class="quotebox"><cite>thierrybo wrote:</cite><blockquote><div><p>Daedalus broke also for me on proprietary drivers. The fix is in Ceres.&#160; Could you have&#160; just use nouveau drivers as i did just the time the fixed version reach daedalus rather than use a full system&#160; rollback?.</p></div></blockquote></div><p>Yes I could, but later I just realized the older kernel was working, and then I understood what was the issue and simply upgraded from Ceres.</p>]]></description>
			<author><![CDATA[dummy@example.com (Danielsan)]]></author>
			<pubDate>Sun, 17 Oct 2021 15:28:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32178#p32178</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] BTRFS Drama]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32160#p32160</link>
			<description><![CDATA[<p><strong>@OP:</strong> so boot into the snapshot from GRUB (change <span class="bbc">rootflags=subvol=@</span> to <span class="bbc">rootflags=subvol=btrfs/snap_20211015</span>) but remember to either edit the <span class="bbc">/</span> line in btrfs/snap_20211015/etc/fstab so that the <span class="bbc">subvol=</span> bit is correct or just delete that line and set the parameters via /etc/default/grub instead.</p><p>Once booted into the snapshot mount the btrfs partition and move the snapshot:</p><div class="codebox"><pre><code># mount /dev/sdXY /mnt
# mv /mnt/@{,.orig}
# mv /mnt/btrfs/snap_20211015 /mnt/@</code></pre></div><p>Then reboot again.</p><p>If that all works you can remove the original root subvolume:</p><div class="codebox"><pre><code># mount /dev/sdXY /mnt
# btrfs subvolume delete /mnt/@.orig # any nested subvolumes will have to be deleted first; rm -r might be quicker :-)</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 17 Oct 2021 09:23:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32160#p32160</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] BTRFS Drama]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32152#p32152</link>
			<description><![CDATA[<p>Daedalus broke also for me on proprietary drivers. The fix is in Ceres.&#160; Could you have&#160; just use nouveau drivers as i did just the time the fixed version reach daedalus rather than use a full system&#160; rollback?.</p>]]></description>
			<author><![CDATA[dummy@example.com (thierrybo)]]></author>
			<pubDate>Sun, 17 Oct 2021 07:10:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32152#p32152</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] BTRFS Drama]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32127#p32127</link>
			<description><![CDATA[<p>Yes sure thing! Thanks!</p><p><strong>FSTAB (only BTRFS Volumes)</strong></p><div class="codebox"><pre><code># / was on /dev/sda1 during installation
## BTRFS SUBVOL ROOT
UUID=5a8bbd0d-e862-4e40-86f2-3f8f9b10e110 /               btrfs   subvol=@,defaults,noatime,space_cache,discard=async,autodefrag        0       0

## BTRFS SUBVOL HOME
UUID=5a8bbd0d-e862-4e40-86f2-3f8f9b10e110 /home           btrfs   subvol=@home,defaults,noatime,space_cache,discard=async,autodefrag        0       0</code></pre></div><p><strong>GRUB</strong></p><div class="codebox"><pre><code>GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2&gt; /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT=&quot;rootflags=subvol=@ quiet&quot;
GRUB_CMDLINE_LINUX=&quot;&quot;</code></pre></div><p><strong>Subvolume List</strong></p><div class="codebox"><pre><code>ID 268 gen 382712 top level 5 path @
ID 327 gen 382712 top level 5 path @home
ID 357 gen 4558 top level 268 path btrfs/snap_20200903
ID 358 gen 4561 top level 268 path btrfs/snap_20200903ro
ID 405 gen 32786 top level 268 path btrfs/snap_20200908
ID 518 gen 365657 top level 268 path btrfs/snap_20211015</code></pre></div><p>Did I miss anything?</p>]]></description>
			<author><![CDATA[dummy@example.com (Danielsan)]]></author>
			<pubDate>Sat, 16 Oct 2021 15:49:00 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32127#p32127</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] BTRFS Drama]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32117#p32117</link>
			<description><![CDATA[<p>It&#039;s a bit tricky to help without knowing your backup and restore method but for my system I would just boot into the snapshot subvolume and rename (<span class="bbc">mv</span>) it to the top level subvolume. I don&#039;t have a <span class="bbc">/</span> line in /etc/fstab but if you do then I think that would have to be changed to boot into the subvolume without errors (which is why I don&#039;t have that line in my file) but otherwise it&#039;s pretty simple.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sat, 16 Oct 2021 10:19:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32117#p32117</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] BTRFS Drama]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32115#p32115</link>
			<description><![CDATA[<p>Hi Guys,</p><p>I had some issues while updating to Daedalus with the NVIDIA Drivers and for the first time I had the necessity to rollback with BTRFS to a previous snapshot but I couldn&#039;t; I found the procedure totally counter-intuitive and I haven&#039;t still got that. Eventually I resolved my issue downloading the nvidia-driver from Ceres.</p><p>The only real and understandable answer I found is this:</p><p><a href="https://unix.stackexchange.com/questions/622148/rollback-root-snapshot-in-btrfs" rel="nofollow">https://unix.stackexchange.com/question … t-in-btrfs</a></p><p>However I would not be able to rollback to my previous snapshot and this made me think why, back to time, I got so crazy to install everything under BTRFS/Subvolumes if then to rollback/restore is so cumbersome...</p><p>The only point I can do is this:</p><div class="codebox"><pre><code>sudo btrfs subvolume list /
ID 268 gen 382712 top level 5 path @
ID 327 gen 382712 top level 5 path @home
ID 357 gen 4558 top level 268 path btrfs/snap_20200903
ID 358 gen 4561 top level 268 path btrfs/snap_20200903ro
ID 405 gen 32786 top level 268 path btrfs/snap_20200908
ID 518 gen 365657 top level 268 path btrfs/snap_20211015</code></pre></div><p>I thoughts that rolling-back with BTRFS was something similar to ZFS but I was totally wrong... 🤦♂️</p><p>Is anyone willing to explain to a <em>dumb</em> how I should have performed this rollback? 🙏</p>]]></description>
			<author><![CDATA[dummy@example.com (Danielsan)]]></author>
			<pubDate>Sat, 16 Oct 2021 08:30:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32115#p32115</guid>
		</item>
	</channel>
</rss>
