[opensuse-support] snapper question
On a newly installed Tumbleweed I choose BtRFS and XFS as my file-system. As I found with former installations this would automatically make a hidden directory /.snapshots and starts the usage of snapper. My latest installation did not finish a snapper setup and I am stuck with a instruction of reading the man snapper. Read it and I am not much wiser. The yast snapper is not able to help me out either. What is the instruction in order to have a functioning snapper? -- opensuse:tumbleweed:20180615 Qt: 5.11.0 KDE Frameworks: 5.46.0 - KDE Plasma: 5.13.0 - kwin 5.13.0 kmail2 5.8.2 - akonadiserver 5.8.2 - Kernel: 4.17.1-1-default -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Am 19. Juni 2018 07:28:29 MESZ schrieb Constant Brouerius van Nidek
On a newly installed Tumbleweed I choose BtRFS and XFS as my file-system. As I found with former installations this would automatically make a hidden directory /.snapshots and starts the usage of snapper. My latest installation did not finish a snapper setup and I am stuck with a instruction of reading the man snapper. Read it and I am not much wiser. The yast snapper is not able to help me out either. What is the instruction in order to have a functioning snapper?
What you probably want is to boot into the last working snapshot (which is readonly) and run snapper rollback to activate this again -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On Tuesday, June 19, 2018 1:11:04 PM WIB Axel Braun wrote:
Am 19. Juni 2018 07:28:29 MESZ schrieb Constant Brouerius van Nidek
: On a newly installed Tumbleweed I choose BtRFS and XFS as my file-system. As I found with former installations this would automatically make a hidden directory /.snapshots and starts the usage of snapper. My latest installation did not finish a snapper setup and I am stuck with a instruction of reading the man snapper. Read it and I am not much wiser. The yast snapper is not able to help me out either. What is the instruction in order to have a functioning snapper?
What you probably want is to boot into the last working snapshot (which is readonly) and run snapper rollback to activate this again
No snapshot on my system. No /.snapshots so no rollback either. -- opensuse:tumbleweed:20180615 Qt: 5.11.0 KDE Frameworks: 5.46.0 - KDE Plasma: 5.13.0 - kwin 5.13.0 kmail2 5.8.2 - akonadiserver 5.8.2 - Kernel: 4.17.1-1-default -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Den 2018-06-19 kl. 10:43, skrev Constant Brouerius van Nidek:
On Tuesday, June 19, 2018 1:11:04 PM WIB Axel Braun wrote:
Am 19. Juni 2018 07:28:29 MESZ schrieb Constant Brouerius van Nidek
: On a newly installed Tumbleweed I choose BtRFS and XFS as my file-system. As I found with former installations this would automatically make a hidden directory /.snapshots and starts the usage of snapper. My latest installation did not finish a snapper setup and I am stuck with a instruction of reading the man snapper. Read it and I am not much wiser. The yast snapper is not able to help me out either. What is the instruction in order to have a functioning snapper?
Not that I needed to go through this but I believe it's the official doc for it. https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.ref... Cheers, -- /bengan -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On Tue, Jun 19, 2018 at 12:32 PM, Bengt Gördén
Den 2018-06-19 kl. 10:43, skrev Constant Brouerius van Nidek:
On Tuesday, June 19, 2018 1:11:04 PM WIB Axel Braun wrote:
Am 19. Juni 2018 07:28:29 MESZ schrieb Constant Brouerius van Nidek
: On a newly installed Tumbleweed I choose BtRFS and XFS as my file-system. As I found with former installations this would automatically make a hidden directory /.snapshots and starts the usage of snapper. My latest installation did not finish a snapper setup and I am stuck with a instruction of reading the man snapper. Read it and I am not much wiser. The yast snapper is not able to help me out either. What is the instruction in order to have a functioning snapper?
Not that I needed to go through this but I believe it's the official doc for it.
https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.ref...
That only describes how to configure snapshots. That is always possible. Rollback OTOH requires different subvolume layout which must be prepared before installation itself starts. While it is possible to do later, there is no step by step instructions I am aware of. As it is new installation, it is much easier to repeat it making sure snapshots are actually enabled during installation. -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On Tuesday, June 19, 2018 4:32:02 PM WIB Bengt Gördén wrote:
Den 2018-06-19 kl. 10:43, skrev Constant Brouerius van Nidek:
On Tuesday, June 19, 2018 1:11:04 PM WIB Axel Braun wrote:
Am 19. Juni 2018 07:28:29 MESZ schrieb Constant Brouerius van Nidek
: On a newly installed Tumbleweed I choose BtRFS and XFS as my file-system. As I found with former installations this would automatically make a hidden directory /.snapshots and starts the usage of snapper. My latest installation did not finish a snapper setup and I am stuck with a instruction of reading the man snapper. Read it and I am not much wiser. The yast snapper is not able to help me out either. What is the instruction in order to have a functioning snapper?
Not that I needed to go through this but I believe it's the official doc for it.
https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.ref erence/cha.snapper.html#sec.snapper.setup
That was the document I was hoping for. It gave me the answers and the whole idee behing snapper and snapshots. Thanks. Machine is now up and running ;) Cheers, -- opensuse:tumbleweed:20180615 Qt: 5.11.0 KDE Frameworks: 5.46.0 - KDE Plasma: 5.13.0 - kwin 5.13.0 kmail2 5.8.2 - akonadiserver 5.8.2 - Kernel: 4.17.1-1-default -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On Tuesday, 19 June 2018 06:28:29 BST Constant Brouerius van Nidek wrote:
On a newly installed Tumbleweed I choose BtRFS and XFS as my file-system. As I found with former installations this would automatically make a hidden directory /.snapshots and starts the usage of snapper. My latest installation did not finish a snapper setup and I am stuck with a instruction of reading the man snapper. Read it and I am not much wiser. The yast snapper is not able to help me out either. What is the instruction in order to have a functioning snapper?
can you run btrfs subvolume list / btrfs subvolume get-default / to see if the structure has been set up. If it has then it shouldnt be hard to set up a snapper profile. If you do not have the structure it is still doable but requires lots of subvolume manipulation -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On Tuesday, June 19, 2018 5:03:45 PM WIB Andrew Colvin wrote:
On Tuesday, 19 June 2018 06:28:29 BST Constant Brouerius van Nidek wrote:
On a newly installed Tumbleweed I choose BtRFS and XFS as my file-system. As I found with former installations this would automatically make a hidden directory /.snapshots and starts the usage of snapper. My latest installation did not finish a snapper setup and I am stuck with a instruction of reading the man snapper. Read it and I am not much wiser. The yast snapper is not able to help me out either. What is the instruction in order to have a functioning snapper?
can you run btrfs subvolume list / btrfs subvolume get-default / to see if the structure has been set up. If it has then it shouldnt be hard to set up a snapper profile. If you do not have the structure it is still doable but requires lots of subvolume manipulation
btrfs subvolume list / gives what looks like a complete list of var/plus some and the btrfs subvolume get-default / says ID 5 (FS_TREE). Hope that this short reply is the right response. -- opensuse:tumbleweed:20180615 Qt: 5.11.0 KDE Frameworks: 5.46.0 - KDE Plasma: 5.13.0 - kwin 5.13.0 kmail2 5.8.2 - akonadiserver 5.8.2 - Kernel: 4.17.1-1-default -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On Tuesday, 19 June 2018 12:31:17 BST Constant Brouerius van Nidek wrote:
On Tuesday, June 19, 2018 5:03:45 PM WIB Andrew Colvin wrote:
On Tuesday, 19 June 2018 06:28:29 BST Constant Brouerius van Nidek wrote:
On a newly installed Tumbleweed I choose BtRFS and XFS as my file-system. As I found with former installations this would automatically make a hidden directory /.snapshots and starts the usage of snapper. My latest installation did not finish a snapper setup and I am stuck with a instruction of reading the man snapper. Read it and I am not much wiser. The yast snapper is not able to help me out either. What is the instruction in order to have a functioning snapper?
can you run btrfs subvolume list / btrfs subvolume get-default / to see if the structure has been set up. If it has then it shouldnt be hard to set up a snapper profile. If you do not have the structure it is still doable but requires lots of subvolume manipulation
btrfs subvolume list / gives what looks like a complete list of var/plus some and the btrfs subvolume get-default / says ID 5 (FS_TREE). Hope that this short reply is the right response.
This is from a fresh tumbleweed. Is yours the same? If so it is just the snapper profile that needs creating linux-lzzr:/home/andrew # btrfs subvolume list / ID 256 gen 226 top level 5 path @ ID 258 gen 288 top level 256 path @/var ID 259 gen 237 top level 256 path @/usr/local ID 260 gen 275 top level 256 path @/tmp ID 261 gen 226 top level 256 path @/srv ID 262 gen 242 top level 256 path @/root ID 263 gen 226 top level 256 path @/opt ID 264 gen 284 top level 256 path @/home ID 265 gen 226 top level 256 path @/boot/grub2/x86_64-efi ID 266 gen 226 top level 256 path @/boot/grub2/i386-pc ID 267 gen 248 top level 256 path @/.snapshots ID 268 gen 283 top level 267 path @/.snapshots/1/snapshot ID 273 gen 226 top level 267 path @/.snapshots/2/snapshot ID 274 gen 226 top level 267 path @/.snapshots/3/snapshot ID 275 gen 226 top level 267 path @/.snapshots/4/snapshot ID 276 gen 226 top level 267 path @/.snapshots/5/snapshot ID 277 gen 226 top level 267 path @/.snapshots/6/snapshot linux-lzzr:/home/andrew # btrfs subvolume get-default / ID 268 gen 283 top level 267 path @/.snapshots/1/snapshot -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On Tuesday, June 19, 2018 8:14:17 PM WIB Andrew Colvin wrote:
On Tuesday, 19 June 2018 12:31:17 BST Constant Brouerius van Nidek wrote:
On Tuesday, June 19, 2018 5:03:45 PM WIB Andrew Colvin wrote:
On Tuesday, 19 June 2018 06:28:29 BST Constant Brouerius van Nidek wrote:
On a newly installed Tumbleweed I choose BtRFS and XFS as my reply is the right response.
This is from a fresh tumbleweed. Is yours the same? If so it is just the snapper profile that needs creating linux-lzzr:/home/andrew # btrfs subvolume list /
Resulys of my computer differ. Where to start repairing? # btrfs subvolume list / ID 257 gen 8315 top level 5 path var/tmp ID 258 gen 8312 top level 5 path var/spool ID 259 gen 7465 top level 5 path var/opt ID 260 gen 8311 top level 5 path var/log ID 261 gen 7465 top level 5 path var/lib/pgsql ID 262 gen 7465 top level 5 path var/lib/named ID 263 gen 7465 top level 5 path var/lib/mysql ID 264 gen 7465 top level 5 path var/lib/mariadb ID 265 gen 7465 top level 5 path var/lib/mailman ID 266 gen 7465 top level 5 path var/lib/machines ID 267 gen 7465 top level 5 path var/lib/libvirt/images ID 268 gen 7465 top level 5 path var/crash ID 269 gen 8152 top level 5 path var/cache ID 270 gen 8127 top level 5 path usr/local ID 271 gen 8312 top level 5 path tmp ID 272 gen 7465 top level 5 path srv ID 273 gen 7465 top level 5 path opt ID 274 gen 7465 top level 5 path boot/grub2/x86_64-efi ID 275 gen 7465 top level 5 path boot/grub2/i386-pc ID 289 gen 8306 top level 5 path .snapshots ID 290 gen 7652 top level 289 path .snapshots/1/snapshot ID 296 gen 7857 top level 289 path .snapshots/7/snapshot ID 297 gen 7879 top level 289 path .snapshots/8/snapshot ID 298 gen 7905 top level 289 path .snapshots/9/snapshot ID 299 gen 7936 top level 289 path .snapshots/10/snapshot ID 300 gen 7966 top level 289 path .snapshots/11/snapshot ID 301 gen 7987 top level 289 path .snapshots/12/snapshot ID 302 gen 8027 top level 289 path .snapshots/13/snapshot ID 303 gen 8060 top level 289 path .snapshots/14/snapshot ID 304 gen 8090 top level 289 path .snapshots/15/snapshot ID 305 gen 8114 top level 289 path .snapshots/16/snapshot ID 306 gen 8136 top level 289 path .snapshots/17/snapshot ID 307 gen 8154 top level 289 path .snapshots/18/snapshot ID 308 gen 8216 top level 289 path .snapshots/19/snapshot ID 309 gen 8266 top level 289 path .snapshots/20/snapshot ID 310 gen 8304 top level 289 path .snapshots/21/snapshot # btrfs subvolume get-default / ID 5 (FS_TREE) On snapper ls the snapper ls Type | # | Pre # | Date | User | Cleanup | Description | Userdata -------+----+-------+---------------------------------+------+---------- +--------------+-------------- single | 0 | | | root | |current single | 1 | | Tue 19 Jun 2018 05:00:08 PM WIB | root| timeline | timeline| single | 7 | | Tue 19 Jun 2018 11:00:08 PM WIB | root | timeline | timeline| single | 8 | | Wed 20 Jun 2018 12:00:08 AM WIB | root|timeline | timeline| single | 9 | | Wed 20 Jun 2018 01:00:01 AM WIB | root | timeline | timeline | single | 10 | | Wed 20 Jun 2018 02:00:08 AM WIB | root | timeline | timeline| single | 11 | | Wed 20 Jun 2018 03:00:08 AM WIB | root | timeline | timeline | single | 12 | | Wed 20 Jun 2018 04:00:08 AM WIB | root| timeline | timeline | single | 13 | | Wed 20 Jun 2018 05:00:08 AM WIB | root | timeline | timeline| single | 14 | | Wed 20 Jun 2018 06:00:08 AM WIB | root | timeline | timeline| single | 15 | | Wed 20 Jun 2018 07:00:08 AM WIB | root | timeline | timeline | pre | 16 | Wed 20 Jun 2018 07:43:57 AM WIB | root | number | zypp(zypper) | important=yes post | 17 | 16 | Wed 20 Jun 2018 07:54:25 AM WIB | root | number | | important=yes single | 18 | | Wed 20 Jun 2018 08:00:21 AM WIB | root | timeline | timeline | single | 19 | | Wed 20 Jun 2018 09:00:21 AM WIB | root | timeline | timeline | single | 20 | | Wed 20 Jun 2018 10:00:21 AM WIB | root | timeline | timeline| single | 21 | | Wed 20 Jun 2018 11:00:21 AM WIB | root | timeline | timeline| Conclusion. Timeline harus to go. -- opensuse:tumbleweed:20180615 Qt: 5.11.0 KDE Frameworks: 5.46.0 - KDE Plasma: 5.13.0 - kwin 5.13.0 kmail2 5.8.2 - akonadiserver 5.8.2 - Kernel: 4.17.1-1-default -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
participants (5)
-
Andrei Borzenkov
-
Andrew Colvin
-
Axel Braun
-
Bengt Gördén
-
Constant Brouerius van Nidek