You are not logged in.

#1 2014-07-20 18:40:12

nstgc
Member
Registered: 2014-03-17
Posts: 393

Issues rolling back to a previous snapshot

I make daily snapshots of my installation in case something breaks, and indeed I've rolled back to a previous snapshot before.

Before I continue, I don't believe this is an issue with btrfs itself, but rather I think its a BKAC error.

My boot loader is GRUB2 (just plain grub from the repo) and instead of booting with default I hit "e" and change the subvolume from arch to the oldest snapshot (I then work up from there to find the latest snapshot that works). I also change the fstab entry so that the subvolume is mounted to "/", otherwise it can be nasty.

This time when I did, I was getting several boot errors from systemd (red notifications) I didn't catch what they were, or I'd share them. X also wouldn't start.

My question, is then, two fold. Firstly, is my process incorrect? This is my chief assumption. Second, is there any other information I can, and should provide?

[edit] I removed mention of btrfs from the title as it doesn't seem relevant.

[edit2] I chroot'ed into the snapshot and ran "journalctl -p 0..3 -xn" with the following result.

# journalctl -p 0..3 -xn
Failed to read /proc/cmdline. Ignoring: No such file or directory
-- Logs begin at Fri 2014-06-06 09:07:20 EDT, end at Sun 2014-07-20 14:19:20 EDT. --
Jul 20 14:09:06 Lain-Arch systemd-modules-load[222]: Failed to lookup alias 'sg': Fu
Jul 20 14:09:06 Lain-Arch systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-modules-load.service has failed.
--
-- The result is failed.
-- Reboot --
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: exception Emask 0x0 SAct 0x0 SErr 0x0 ac
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: irq_stat 0x40000001
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: cmd a0/01:00:00:00:01/00:00:00:00:00/a0
                                           res 50/00:02:00:00:00/00:00:00:00:00/a0 E
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: status: { DRDY }
Jul 20 14:16:51 Lain-Arch systemd-modules-load[222]: Failed to lookup alias 'sg': Fu
Jul 20 14:16:51 Lain-Arch systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-modules-load.service has failed.
lines 1-23...skipping...
-- Logs begin at Fri 2014-06-06 09:07:20 EDT, end at Sun 2014-07-20 14:19:20 EDT. --
Jul 20 14:09:06 Lain-Arch systemd-modules-load[222]: Failed to lookup alias 'sg': Functi
Jul 20 14:09:06 Lain-Arch systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-modules-load.service has failed.
--
-- The result is failed.
-- Reboot --
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: irq_stat 0x40000001
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: cmd a0/01:00:00:00:01/00:00:00:00:00/a0 tag
                                           res 50/00:02:00:00:00/00:00:00:00:00/a0 Emask
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: status: { DRDY }
Jul 20 14:16:51 Lain-Arch systemd-modules-load[222]: Failed to lookup alias 'sg': Functi
Jul 20 14:16:51 Lain-Arch systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-modules-load.service has failed.
--
lines 1-24...skipping...
-- Logs begin at Fri 2014-06-06 09:07:20 EDT, end at Sun 2014-07-20 14:19:20 EDT. --
Jul 20 14:09:06 Lain-Arch systemd-modules-load[222]: Failed to lookup alias 'sg': Function n
Jul 20 14:09:06 Lain-Arch systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-modules-load.service has failed.
--
-- The result is failed.
-- Reboot --
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: irq_stat 0x40000001
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: cmd a0/01:00:00:00:01/00:00:00:00:00/a0 tag 3 dm
                                           res 50/00:02:00:00:00/00:00:00:00:00/a0 Emask 0x1
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: status: { DRDY }
Jul 20 14:16:51 Lain-Arch systemd-modules-load[222]: Failed to lookup alias 'sg': Function n
Jul 20 14:16:51 Lain-Arch systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-modules-load.service has failed.
--
-- The result is failed.
lines 1-25...skipping...
-- Logs begin at Fri 2014-06-06 09:07:20 EDT, end at Sun 2014-07-20 14:19:20 EDT. --
Jul 20 14:09:06 Lain-Arch systemd-modules-load[222]: Failed to lookup alias 'sg': Function not
Jul 20 14:09:06 Lain-Arch systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-modules-load.service has failed.
--
-- The result is failed.
-- Reboot --
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: irq_stat 0x40000001
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: cmd a0/01:00:00:00:01/00:00:00:00:00/a0 tag 3 dma
                                           res 50/00:02:00:00:00/00:00:00:00:00/a0 Emask 0x1 (
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: status: { DRDY }
Jul 20 14:16:51 Lain-Arch systemd-modules-load[222]: Failed to lookup alias 'sg': Function not
Jul 20 14:16:51 Lain-Arch systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-modules-load.service has failed.
--
-- The result is failed.
Jul 20 14:16:54 Lain-Arch dhcpcd[377]: no valid interfaces found
lines 1-26...skipping...
-- Logs begin at Fri 2014-06-06 09:07:20 EDT, end at Sun 2014-07-20 14:19:20 EDT. --
Jul 20 14:09:06 Lain-Arch systemd-modules-load[222]: Failed to lookup alias 'sg': Function not imp
Jul 20 14:09:06 Lain-Arch systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-modules-load.service has failed.
--
-- The result is failed.
-- Reboot --
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: irq_stat 0x40000001
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: cmd a0/01:00:00:00:01/00:00:00:00:00/a0 tag 3 dma 1664
                                           res 50/00:02:00:00:00/00:00:00:00:00/a0 Emask 0x1 (devi
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: status: { DRDY }
Jul 20 14:16:51 Lain-Arch systemd-modules-load[222]: Failed to lookup alias 'sg': Function not imp
Jul 20 14:16:51 Lain-Arch systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-modules-load.service has failed.
--
-- The result is failed.
Jul 20 14:16:54 Lain-Arch dhcpcd[377]: no valid interfaces found
Jul 20 14:19:19 Lain-Arch systemd[1]: Failed to start Store Sound Card State.
-- Subject: Unit alsa-store.service has failed
lines 1-28...skipping...
-- Logs begin at Fri 2014-06-06 09:07:20 EDT, end at Sun 2014-07-20 14:19:20 EDT. --
Jul 20 14:09:06 Lain-Arch systemd-modules-load[222]: Failed to lookup alias 'sg': Function not implemen
Jul 20 14:09:06 Lain-Arch systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-modules-load.service has failed.
--
-- The result is failed.
-- Reboot --
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: irq_stat 0x40000001
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: cmd a0/01:00:00:00:01/00:00:00:00:00/a0 tag 3 dma 16640 in
                                           res 50/00:02:00:00:00/00:00:00:00:00/a0 Emask 0x1 (device er
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: status: { DRDY }
Jul 20 14:16:51 Lain-Arch systemd-modules-load[222]: Failed to lookup alias 'sg': Function not implemen
Jul 20 14:16:51 Lain-Arch systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-modules-load.service has failed.
--
-- The result is failed.
Jul 20 14:16:54 Lain-Arch dhcpcd[377]: no valid interfaces found
Jul 20 14:19:19 Lain-Arch systemd[1]: Failed to start Store Sound Card State.
-- Subject: Unit alsa-store.service has failed
-- Defined-By: systemd
lines 1-29...skipping...
-- Logs begin at Fri 2014-06-06 09:07:20 EDT, end at Sun 2014-07-20 14:19:20 EDT. --
Jul 20 14:09:06 Lain-Arch systemd-modules-load[222]: Failed to lookup alias 'sg': Function not implemented
Jul 20 14:09:06 Lain-Arch systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-modules-load.service has failed.
--
-- The result is failed.
-- Reboot --
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: irq_stat 0x40000001
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: cmd a0/01:00:00:00:01/00:00:00:00:00/a0 tag 3 dma 16640 in
                                           res 50/00:02:00:00:00/00:00:00:00:00/a0 Emask 0x1 (device error)
Jul 20 14:16:51 Lain-Arch kernel: ata14.00: status: { DRDY }
Jul 20 14:16:51 Lain-Arch systemd-modules-load[222]: Failed to lookup alias 'sg': Function not implemented
Jul 20 14:16:51 Lain-Arch systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-modules-load.service has failed.
--
-- The result is failed.
Jul 20 14:16:54 Lain-Arch dhcpcd[377]: no valid interfaces found
Jul 20 14:19:19 Lain-Arch systemd[1]: Failed to start Store Sound Card State.
-- Subject: Unit alsa-store.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
lines 1-30

Last edited by nstgc (2014-07-20 22:06:15)

Offline

Board footer

Powered by FluxBB