我的根文件系统(btrfs)出现错误,因此我从备份中重新创建了它,但现在snapper
不再起作用了:
# /usr/bin/snapper -v -v -v -v create --description test
IO Error.
# snapper -v delete-config
Deleting config failed (deleting snapshot failed).
# snapper create-config /
Creating config failed (subvolume already covered).
# snapper -c root create-config /
Creating config failed (subvolume already covered).
# snapper list
Type | # | Pre # | Date | User | Cleanup | Description | Userdata
-------+---+-------+------+------+---------+-------------+---------
single | 0 | | | root | | current |
我也尝试重新安装/删除并安装该软件包snapper
但没有任何成功。
有什么想法可以让我snapper
重新开始工作吗?
带有内核的 openSUSE 12.3 3.7.10-1.1-desktop
。
答案1
您需要删除/重命名该文件
/etc/snapper/configs/root
编辑文件
/etc/sysconfig/snapper
并root
从变量中删除SNAPPER_CONFIGS
现在 snapper 应该可以再次工作了:
> snapper create-config /
> snapper list
Type | # | Pre # | Date | User | Cleanup | Description | Userdata
-------+---+-------+--------------------------+------+---------+-------------+---------
single | 0 | | | root | | current |
single | 1 | | Wed Apr 17 22:40:01 2013 | root | | test |
如果仍然不起作用,那么你可能需要删除有缺陷的快照。使用btrfs subvolume delete /.snapshots/...
这个(感谢乔纳森)。