[CentOS] lvm snapshot

2015-12-02 Thread Axel Glienke
Hello after a lvm snapshot creation and a reboot are all logical volumes are missing, only swap is present. lvcreate -L 5000M -s -n centos_h1-root_snap /dev/mapper/centos_h1-root lvs LV VGAttr LSizePool Origin Data% Meta% Move Log Cpy%Sy

Re: [CentOS] lvm snapshot

2015-12-02 Thread Axel Glienke
ap control Zitat von Gordon Messmer : On 12/02/2015 11:09 AM, Axel Glienke wrote: after a lvm snapshot creation and a reboot are all logical volumes are missing, only swap is present. What release is that? And what does /proc/cmdline contain when the system boots to the dr

Re: [CentOS] lvm snapshot

2015-12-02 Thread Axel Glienke
Creating snapshot: [root@lvmtest ~]# lvcreate -L5G -s -n root_snap /dev/centos/root Reducing COW size 5,00 GiB down to maximum usable size 2,94 GiB. Logical volume "root_snap" created. [root@lvmtest ~]# lvs LVVG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Conv

Re: [CentOS] lvm snapshot

2015-12-02 Thread Axel Glienke
in journalctl i found: modprobe: FATAL: Module dm-snapshot not found ... Can't process LV root_snap: snapshot target support missing from kernel Zitat von Tru Huynh : On Wed, Dec 02, 2015 at 08:53:39PM +0100, Axel Glienke wrote: Creating snapshot: [root@lvmtest ~]# lvcreate -L5G

Re: [CentOS] lvm snapshot

2015-12-02 Thread Axel Glienke
Ok, kernel needs the module dm-snapshot for snapshot support, but the modules is storage on a snapshoted-lv ... you can't make a root_snapshot with centos? Zitat von Axel Glienke : in journalctl i found: modprobe: FATAL: Module dm-snapshot not found ... Can't process LV root_snap

Re: [CentOS] lvm snapshot

2015-12-02 Thread Axel Glienke
rdon Messmer : On 12/02/2015 12:05 PM, Axel Glienke wrote: in journalctl i found: modprobe: FATAL: Module dm-snapshot not found ... Can't process LV root_snap: snapshot target support missing from kernel I installed a very simple CentOS 7 system with an LVM root FS. Created a sna

Re: [CentOS] lvm snapshot

2015-12-02 Thread Axel Glienke
a manually dracut -f --add-drivers "dm-snapshot" solve the problem Zitat von Gordon Messmer : On 12/02/2015 02:48 PM, Gordon Messmer wrote: I'll try to recreate the problem on a new VM, but that doesn't make much sense. Including the required module isn't dependent on creating the snapshot

[CentOS] openvpn + routing

2015-12-06 Thread Axel Glienke
Hello, i have a little question. My system: ip route: 0.0.0.0/1 via 10.8.0.5 dev tun0 default via 192.168.2.1 dev br0 proto static metric 425 10.8.0.1 via 10.8.0.5 dev tun0 10.8.0.5 dev tun0 proto kernel scope link src 10.8.0.6 88.198.140.127 via 192.168.2.1 dev br0 192.168.2.0/24 dev br0