[opensuse-factory] Default btrfs subvolume after a rollback
I've recently rolled back to an earlier snapshot to get Firefox working again. To prpare for the big Tumbleweed update I wanted to delete some snapshots, including one that was either immediately before or after that rollback. The "snapper rm" command failed, dmesg had a "the default subvolume cannot be deleted" message and the system was completely unusable after that since there were absolutely no mounted file systems anywhere anymore (including /proc). So, low and behold, that snapshot I couldn't delete is indeed set as the default subvolume: # btrfs subvolume get-default / ID 2337 gen 115112 top level 282 path .snapshots/1974/snapshot Snapper is far ahead of this: # snapper list Type | # | Pre # | Date | User | Cleanup | Description | Userdata -------+------+-------+--------------------------+------+----------+-------------------+-------------- single | 0 | | | root | | current | single | 1 | | Fri Nov 21 20:30:01 2014 | root | timeline | timeline | single | 145 | | Mon Dec 1 07:45:01 2014 | root | timeline | timeline | single | 353 | | Fri Jan 2 20:15:01 2015 | root | timeline | timeline | single | 1902 | | Thu Jun 4 06:45:01 2015 | root | timeline | timeline | single | 1974 | | Mon Jun 8 23:58:50 2015 | root | | | pre | 1977 | | Tue Jun 9 06:58:56 2015 | root | number | zypp(zypper) | important=yes post | 1978 | 1977 | Tue Jun 9 07:01:42 2015 | root | number | | important=yes pre | 1979 | | Tue Jun 9 07:07:53 2015 | root | number | zypp(packagekitd) | important=no post | 1980 | 1979 | Tue Jun 9 07:08:29 2015 | root | number | | important=no pre | 1986 | | Wed Jun 10 20:08:39 2015 | root | number | zypp(packagekitd) | important=no post | 1987 | 1986 | Wed Jun 10 20:11:03 2015 | root | number | | important=no pre | 1992 | | Thu Jun 11 06:33:30 2015 | root | number | zypp(zypper) | important=no post | 1993 | 1992 | Thu Jun 11 06:33:32 2015 | root | number | | important=no pre | 1999 | | Fri Jun 12 07:11:15 2015 | root | number | zypp(packagekitd) | important=no post | 2000 | 1999 | Fri Jun 12 07:12:35 2015 | root | number | | important=no pre | 2004 | | Fri Jun 12 19:54:19 2015 | root | number | zypp(packagekitd) | important=no post | 2005 | 2004 | Fri Jun 12 19:55:10 2015 | root | number | | important=no pre | 2006 | | Fri Jun 12 19:55:32 2015 | root | number | zypp(packagekitd) | important=no post | 2007 | 2006 | Fri Jun 12 19:55:56 2015 | root | number | | important=no pre | 2012 | | Sat Jun 13 08:14:58 2015 | root | number | zypp(packagekitd) | important=no post | 2013 | 2012 | Sat Jun 13 08:15:02 2015 | root | number | | important=no pre | 2020 | | Sat Jun 20 12:09:15 2015 | root | number | zypp(packagekitd) | important=yes pre | 2021 | | Sat Jun 20 12:09:41 2015 | root | number | zypp(packagekitd) | important=yes post | 2022 | 2021 | Sat Jun 20 12:13:10 2015 | root | number | | important=yes pre | 2043 | | Sun Jun 21 20:35:00 2015 | root | number | zypp(zypper) | important=no post | 2044 | 2043 | Sun Jun 21 20:35:03 2015 | root | number | | important=no pre | 2046 | | Sun Jun 21 21:45:41 2015 | root | number | zypp(packagekitd) | important=no post | 2047 | 2046 | Sun Jun 21 21:45:56 2015 | root | number | | important=no pre | 2048 | | Mon Jun 22 08:05:34 2015 | root | number | zypp(packagekitd) | important=no post | 2049 | 2048 | Mon Jun 22 08:05:49 2015 | root | number | | important=no single | 2065 | | Tue Jun 23 07:30:01 2015 | root | timeline | timeline | pre | 2069 | | Tue Jun 23 19:57:27 2015 | root | number | zypp(packagekitd) | important=no post | 2070 | 2069 | Tue Jun 23 19:57:30 2015 | root | number | | important=no single | 2074 | | Wed Jun 24 07:30:01 2015 | root | timeline | timeline | pre | 2078 | | Thu Jun 25 07:09:54 2015 | root | number | zypp(packagekitd) | important=no post | 2079 | 2078 | Thu Jun 25 07:10:54 2015 | root | number | | important=no single | 2080 | | Thu Jun 25 07:15:01 2015 | root | timeline | timeline | single | 2087 | | Fri Jun 26 07:45:01 2015 | root | timeline | timeline | single | 2091 | | Sat Jun 27 09:30:01 2015 | root | timeline | timeline | pre | 2093 | | Sat Jun 27 10:34:50 2015 | root | number | zypp(packagekitd) | important=no post | 2094 | 2093 | Sat Jun 27 10:35:58 2015 | root | number | | important=no single | 2104 | | Sun Jun 28 07:15:01 2015 | root | timeline | timeline | pre | 2112 | | Sun Jun 28 14:31:42 2015 | root | number | zypp(packagekitd) | important=no post | 2113 | 2112 | Sun Jun 28 14:31:54 2015 | root | number | | important=no single | 2121 | | Mon Jun 29 08:00:01 2015 | root | timeline | timeline | single | 2122 | | Tue Jun 30 07:00:01 2015 | root | timeline | timeline | single | 2126 | | Tue Jun 30 21:15:01 2015 | root | timeline | timeline | single | 2127 | | Tue Jun 30 22:15:01 2015 | root | timeline | timeline | pre | 2128 | | Wed Jul 1 06:24:49 2015 | root | number | zypp(packagekitd) | important=no post | 2129 | 2128 | Wed Jul 1 06:25:56 2015 | root | number | | important=no single | 2130 | | Wed Jul 1 06:30:01 2015 | root | timeline | timeline | single | 2131 | | Wed Jul 1 19:00:01 2015 | root | timeline | timeline | single | 2132 | | Wed Jul 1 20:00:01 2015 | root | timeline | timeline | single | 2133 | | Wed Jul 1 21:00:01 2015 | root | timeline | timeline | single | 2134 | | Wed Jul 1 22:00:01 2015 | root | timeline | timeline | single | 2135 | | Wed Jul 1 23:00:01 2015 | root | timeline | timeline | single | 2136 | | Thu Jul 2 06:45:01 2015 | root | timeline | timeline | single | 2137 | | Thu Jul 2 22:15:01 2015 | root | timeline | timeline | single | 2138 | | Thu Jul 2 23:15:01 2015 | root | timeline | timeline | single | 2139 | | Fri Jul 3 07:15:01 2015 | root | timeline | timeline | single | 2140 | | Fri Jul 3 17:45:01 2015 | root | timeline | timeline | single | 2141 | | Fri Jul 3 18:45:01 2015 | root | timeline | timeline | pre | 2142 | | Fri Jul 3 19:27:17 2015 | root | number | yast snapper | So how do I get the default subvolume back to where it should be, so I can remove some more snapshots and do the update? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
В Fri, 03 Jul 2015 19:38:20 +0200
Achim Gratz
I've recently rolled back to an earlier snapshot to get Firefox working again. To prpare for the big Tumbleweed update I wanted to delete some snapshots, including one that was either immediately before or after that rollback. The "snapper rm" command failed, dmesg had a "the default subvolume cannot be deleted" message and the system was completely unusable after that since there were absolutely no mounted file systems anywhere anymore (including /proc).
So, low and behold, that snapshot I couldn't delete is indeed set as the default subvolume:
# btrfs subvolume get-default / ID 2337 gen 115112 top level 282 path .snapshots/1974/snapshot
Yes, I never liked it and still believe that is wrong design. ...
So how do I get the default subvolume back to where it should be, so
As far as I understand the only possibility is to copy data from current snapshot to top level volume and reset default. There is no way I am aware of to reshuffle subvolumes in btrfs.
I can remove some more snapshots and do the update?
Why cannot you remove other snapshots? They should be independent, no? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Andrei Borzenkov writes:
# btrfs subvolume get-default / ID 2337 gen 115112 top level 282 path .snapshots/1974/snapshot
Yes, I never liked it and still believe that is wrong design. ...
I don't understand what you are trying to say.
So how do I get the default subvolume back to where it should be, so
As far as I understand the only possibility is to copy data from current snapshot to top level volume and reset default. There is no way I am aware of to reshuffle subvolumes in btrfs.
How exactly? I know how to mount sublvolid=0 to some temporary place, but I don't find a way to check which subvolume is actually mounted as / at the moment, for instance.
I can remove some more snapshots and do the update?
Why cannot you remove other snapshots? They should be independent, no?
I can remove other snapshots, however there is no indication that some snapshot in the midst of things really is the default subvolume and the next time the snapper cleanup tried to delete this snapshot (unless it checks for the default subvolume) it will hose the system again. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Achim Gratz writes:
How exactly? I know how to mount sublvolid=0 to some temporary place, but I don't find a way to check which subvolume is actually mounted as / at the moment, for instance.
OK, the latter part is done by # btrfs subvolume show / and it clearly shows that it is indeed having the snapshot mounted. So if I mount the btrfs root to some other place, what do I need to do before I can set the default subvolume back to zero? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf Blofeld V1.15B11: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
В Fri, 03 Jul 2015 20:17:14 +0200
Achim Gratz
Achim Gratz writes:
How exactly? I know how to mount sublvolid=0 to some temporary place, but I don't find a way to check which subvolume is actually mounted as / at the moment, for instance.
OK, the latter part is done by
# btrfs subvolume show /
and it clearly shows that it is indeed having the snapshot mounted. So if I mount the btrfs root to some other place, what do I need to do before I can set the default subvolume back to zero?
How *me* would do it - boot from live media, mount current snapshot on /src and root subvolume on /tgt and run rsync -a --delete /src/ /tgt/ then reset default subvolume. But you can also try what is suggested here https://www.suse.com/documentation/sled-12/book_sle_admin/data/sec_snapper_s... i.e. snapper rollback. I wonder if this does not do the same under the hood ... :) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Andrei Borzenkov writes:
How *me* would do it - boot from live media, mount current snapshot on /src and root subvolume on /tgt and run
rsync -a --delete /src/ /tgt/
then reset default subvolume.
Hmm. Wouldn't that stomp all over hardlinks and such stuff?
But you can also try what is suggested here
https://www.suse.com/documentation/sled-12/book_sle_admin/data/sec_snapper_s...
i.e. snapper rollback. I wonder if this does not do the same under the hood ... :)
That's what got me where I am today. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
В Fri, 03 Jul 2015 20:49:49 +0200
Achim Gratz
Andrei Borzenkov writes:
How *me* would do it - boot from live media, mount current snapshot on /src and root subvolume on /tgt and run
rsync -a --delete /src/ /tgt/
then reset default subvolume.
Hmm. Wouldn't that stomp all over hardlinks and such stuff?
OK, then make it rsync -aHSW --delete :)
But you can also try what is suggested here
https://www.suse.com/documentation/sled-12/book_sle_admin/data/sec_snapper_s...
i.e. snapper rollback. I wonder if this does not do the same under the hood ... :)
That's what got me where I am today.
That definitely requires bug report. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Andrei Borzenkov writes:
That definitely requires bug report.
https://bugzilla.suse.com/show_bug.cgi?id=937047 Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, Jul 03, 2015 at 09:33:15PM +0300, Andrei Borzenkov wrote:
How *me* would do it - boot from live media, mount current snapshot on /src and root subvolume on /tgt and run
rsync -a --delete /src/ /tgt/
then reset default subvolume.
But you can also try what is suggested here
https://www.suse.com/documentation/sled-12/book_sle_admin/data/sec_snapper_s...
i.e. snapper rollback. I wonder if this does not do the same under the hood ... :)
No, snapper rollback does not "rsync" the data but sets the btrfs
default subvolume.
Regards,
Arvin
--
Arvin Schnell,
В Fri, 03 Jul 2015 20:05:20 +0200
Achim Gratz
Andrei Borzenkov writes:
# btrfs subvolume get-default / ID 2337 gen 115112 top level 282 path .snapshots/1974/snapshot
Yes, I never liked it and still believe that is wrong design. ...
I don't understand what you are trying to say.
I think that more clean solution would be to have /<subvol>/ <root-1> <root-2> ... This way you can switch between them by just adding rootflags=subvol=root-1, there is no special dedicated "initial root" which makes it easy to go back and forth between them, Top level subvolume is just to group them in one namespace.
So how do I get the default subvolume back to where it should be, so
As far as I understand the only possibility is to copy data from current snapshot to top level volume and reset default. There is no way I am aware of to reshuffle subvolumes in btrfs.
How exactly? I know how to mount sublvolid=0 to some temporary place, but I don't find a way to check which subvolume is actually mounted as / at the moment, for instance.
btrfs subvolume show /
I can remove some more snapshots and do the update?
Why cannot you remove other snapshots? They should be independent, no?
I can remove other snapshots, however there is no indication that some snapshot in the midst of things really is the default subvolume and the next time the snapper cleanup tried to delete this snapshot (unless it checks for the default subvolume) it will hose the system again.
I'm not sure it was intended to run this way for a long time. But I guess bug report won't harm. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Andrei Borzenkov writes:
I think that more clean solution would be to have
/<subvol>/ <root-1> <root-2> ...
This way you can switch between them by just adding rootflags=subvol=root-1, there is no special dedicated "initial root" which makes it easy to go back and forth between them,
Top level subvolume is just to group them in one namespace.
That's incidentally the solution that the btrfs wiki advocates, IIUC.
I'm not sure it was intended to run this way for a long time. But I guess bug report won't harm.
What good is a rollback when I can't keep on going from there? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hello Achim, Andrei, and all, On 2015-07-03 T 21:25 +0300 Andrei Borzenkov wrote:
I think that more clean solution would be to have
/<subvol>/ <root-1> <root-2> ...
This way you can switch between them by just adding rootflags=subvol=root-1, there is no special dedicated "initial root" which makes it easy to go back and forth between them,
Top level subvolume is just to group them in one namespace.
this is not exactly, but very similar to how it works in SUSE Linux Enterprise 12, and how I had assumed it were configured in openSUSE 13.2 and Tumbleweed. However, I learned last week that the configuration (at least of openSUSE 13.2) is different from the one in SUSE Linux Enterprise 12, and this might lead to this question and problems. For the future, the plan is this: - the root filesystem is _always_ installed in a separate subvolume - the "independent" subvolumes (/var/log, /opt, /srv, /home) are by default installed underneath another separate primary level subvolume called "@" (this naming is inherited from the Debain community years ago) With that setup a clean switching between different "root"s is possible. More details in the Bugzilla on monday. Enjoy the weekend! So long - MgE -- Matthias G. Eckermann, Senior Product Manager SUSE® Linux Enterprise SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, Jul 03, Andrei Borzenkov wrote:
В Fri, 03 Jul 2015 20:05:20 +0200 Achim Gratz
пишет: Andrei Borzenkov writes:
# btrfs subvolume get-default / ID 2337 gen 115112 top level 282 path .snapshots/1974/snapshot
Yes, I never liked it and still believe that is wrong design. ...
I don't understand what you are trying to say.
I think that more clean solution would be to have
/<subvol>/ <root-1> <root-2> ...
This way you can switch between them by just adding rootflags=subvol=root-1, there is no special dedicated "initial root" which makes it easy to go back and forth between them,
Top level subvolume is just to group them in one namespace.
That's exactly what we have today. Except that the path is: /.snapshots/<id>/snapshot/ and not /subvol/root-<id> And with grub2 you don't need "rootflags=", grub2 shows you all available "root" you can boot into. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, Jul 6, 2015 at 10:16 AM, Thorsten Kukuk
On Fri, Jul 03, Andrei Borzenkov wrote:
В Fri, 03 Jul 2015 20:05:20 +0200 Achim Gratz
пишет: Andrei Borzenkov writes:
# btrfs subvolume get-default / ID 2337 gen 115112 top level 282 path .snapshots/1974/snapshot
Yes, I never liked it and still believe that is wrong design. ...
I don't understand what you are trying to say.
I think that more clean solution would be to have
/<subvol>/ <root-1> <root-2> ...
This way you can switch between them by just adding rootflags=subvol=root-1, there is no special dedicated "initial root" which makes it easy to go back and forth between them,
Top level subvolume is just to group them in one namespace.
That's exactly what we have today.
Except that system itself is installed in top level subvolume. At least, it was this way last time I tried btrfs install.
Except that the path is: /.snapshots/<id>/snapshot/ and not /subvol/root-<id>
And with grub2 you don't need "rootflags=", grub2 shows you all available "root" you can boot into.
The question is not to boot into it but to revert your top level volume to the same state as one of these snapshots. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, Jul 06, Andrei Borzenkov wrote:
Except that system itself is installed in top level subvolume. At least, it was this way last time I tried btrfs install.
The code to not do that is submitted. But in the end, it doesn't matter, since even the top level subvolume is only a subvolume.
Except that the path is: /.snapshots/<id>/snapshot/ and not /subvol/root-<id>
And with grub2 you don't need "rootflags=", grub2 shows you all available "root" you can boot into.
The question is not to boot into it but to revert your top level volume to the same state as one of these snapshots.
Of course, this are all only subvolumes/snapshots, nothing else. -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hello Andrei and all On 2015-07-06 T 10:29 +0300 Andrei Borzenkov wrote:
That's exactly what we have today.
Except that system itself is installed in top level subvolume. At least, it was this way last time I tried btrfs install.
as I wrote, this unfortunately is a difference between openSUSE and SUSE Linux Enterprise: SUSE Linux Enterprise does install the original root filesystem in a separate subvolume (called "@"), and I am convinced that this is the right™ way, and thus is what openSUSE should also do going forward. Please open a separate bugreport for Tumbleweed, thus the change can be tracked, ... So long - MgE -- Matthias G. Eckermann - Senior Product Manager SUSE® Linux Enterprise SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Monday 2015-07-06 11:59, Matthias G. Eckermann wrote:
Except that system itself is installed in top level subvolume. At least, it was this way last time I tried btrfs install.
as I wrote, this unfortunately is a difference between openSUSE and SUSE Linux Enterprise: SUSE Linux Enterprise does install the original root filesystem in a separate subvolume (called "@"), and I am convinced that this is the right™ way, and thus is what openSUSE should also do going forward.
Well, probably so. But at the same time, it would help if btrfs had a "pivot_root"-ish interface to swap the root subvolume with another, so as to facilitate quick snapshot deletion of the root volume. :) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2015-07-06 T 12:15 +0200 Jan Engelhardt wrote:
Well, probably so. But at the same time, it would help if btrfs had a "pivot_root"-ish interface to swap the root subvolume with another, so as to facilitate quick snapshot deletion of the root volume. :)
While this sounds useful, I doubt that it is practically possible. Example: I am running Kernel 3.12.43-52.6-default, and I have a root filesystem with these four kernels installed: # ls -1d /lib/modules/* /lib/modules/3.12.28-4-default /lib/modules/3.12.38-44-default /lib/modules/3.12.39-47-default /lib/modules/3.12.43-52.6-default Now, my snapshot 707 has these kernels installed: # ls -1d /.snapshots/707/snapshot/lib/modules/* /.snapshots/707/snapshot/lib/modules/3.12.28-4-default /.snapshots/707/snapshot/lib/modules/3.12.36-38-default /.snapshots/707/snapshot/lib/modules/3.12.38-44-default /.snapshots/707/snapshot/lib/modules/3.12.39-47-default Doing a pivot_root-ish rollback to 707 via "snapper pivot-rollback 707" would lead to a broken system, as modules would not be found anymore -- beyond other potential issues, which I have not considered yet. In other words: to be effective, a rollback of the root filesystem must be finalized with a reboot. That said, for the future we might think about "forward" rolling without a reboot. That could work without a reboot, if there is an entity which controls the environment and the actions (e.g. the ZYpp stack). What do you think? So long - MgE -- Matthias G. Eckermann - Senior Product Manager SUSE® Linux Enterprise SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, Jul 03, 2015 at 08:05:20PM +0200, Achim Gratz wrote:
I can remove other snapshots, however there is no indication that some snapshot in the midst of things really is the default subvolume and the next time the snapper cleanup tried to delete this snapshot (unless it checks for the default subvolume) it will hose the system again.
Snapshots generated during a rollback do not have a cleanup
algorithm set unless to manually did. So those will not be
cleanup automatically.
And snapper does give you the possibility to set a description
and userdata when creating snapshots to help you keep an overview
of your system.
Regards,
Arvin
--
Arvin Schnell,
participants (6)
-
Achim Gratz
-
Andrei Borzenkov
-
Arvin Schnell
-
Jan Engelhardt
-
Matthias G. Eckermann
-
Thorsten Kukuk