Re: alternative file systems (was: Re: lvm: creating a snapshot)

2014-10-12 Thread John Holland
http://zfsonlinux.org/faq.html#WhatKernelVersionsAreSupported On October 10, 2014 9:20:50 PM EDT, lee wrote: >John Holland writes: > >> I'm having very good results using their repo and DKMS system to >build >> support into kernel modules. It's very easy to set up. I'm using it >> with Linux 3.2

Re: lvm: creating a snapshot

2014-10-12 Thread lee
Don Armstrong writes: > On Sat, 11 Oct 2014, lee wrote: >> Well, who can afford that? Someone who can doesn't need to swap >> drives. > > I've upgraded the drive capacity in machines on multiple occasions > because drives have gotten cheaper... but we don't have enough funding > to afford replaci

Re: alternative file systems (was: Re: lvm: creating a snapshot)

2014-10-11 Thread Reco
Hi. On Sat, 11 Oct 2014 03:20:50 +0200 lee wrote: > > The license of ZFS makes it impossible to be part of > > the kernel per se. The DKMS system is well known for supporting kernel > > modules for video and wireless hardware among others. > > So there isn't really any way to tell whether it w

Re: lvm: creating a snapshot

2014-10-10 Thread Don Armstrong
On Sat, 11 Oct 2014, lee wrote: > Well, who can afford that? Someone who can doesn't need to swap > drives. I've upgraded the drive capacity in machines on multiple occasions because drives have gotten cheaper... but we don't have enough funding to afford replacing the computers at the same time.

Re: lvm: creating a snapshot

2014-10-10 Thread lee
John Holland writes: > It's been a while since I dealt with lvm snapshots but they are > available as I guess block devices somehow, you might have to google to > find out how to get the exact path to the snapshot. When I put a snapshot onto a block device, it should be available just like the b

alternative file systems (was: Re: lvm: creating a snapshot)

2014-10-10 Thread lee
John Holland writes: > I'm having very good results using their repo and DKMS system to build > support into kernel modules. It's very easy to set up. I'm using it > with Linux 3.2.0. Does it work with Debians 3.16 kernels? > The license of ZFS makes it impossible to be part of > the kernel per

Re: lvm: creating a snapshot

2014-10-10 Thread lee
Don Armstrong writes: > On Tue, 07 Oct 2014, lee wrote: >> Don Armstrong writes: >> > Doesn't matter. It just has to be a block device that you can add as >> > a physical volume to the volume group. >> >> Isn't a logical volume of a volume group "just" a block device? The >> VMs have their LVs a

Re: lvm: creating a snapshot

2014-10-10 Thread lee
John Holland writes: > You can copy with dd from the snapshot to another block device or a > file. That file can be on the same computer or you can get it to > another computer by using netcat, NFS, rsync etc. Well, yes, if I could make a snapshot in the first place ... -- Hallowed are the De

Re: lvm: creating a snapshot

2014-10-08 Thread Tanstaafl
On 10/7/2014 7:09 PM, John Holland wrote: > The license of ZFS makes it impossible to be part of > the kernel per se. I have read multiple threads that explain why this is not true. don't understand them, wish I did... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a s

Re: lvm: creating a snapshot

2014-10-07 Thread John Holland
You can copy with dd from the snapshot to another block device or a file. That file can be on the same computer or you can get it to another computer by using netcat, NFS, rsync etc. On Tue, 7 Oct 2014 19:10:54 -0400 John Holland wrote: > It's been a while since I dealt with lvm snapshots but th

Re: lvm: creating a snapshot

2014-10-07 Thread John Holland
It's been a while since I dealt with lvm snapshots but they are available as I guess block devices somehow, you might have to google to find out how to get the exact path to the snapshot. On Sun, 05 Oct 2014 21:47:05 +0200 lee wrote: > John Holland writes: > > > I think you can pipe output of

Re: lvm: creating a snapshot

2014-10-07 Thread John Holland
I'm having very good results using their repo and DKMS system to build support into kernel modules. It's very easy to set up. I'm using it with Linux 3.2.0. The license of ZFS makes it impossible to be part of the kernel per se. The DKMS system is well known for supporting kernel modules for video

Re: lvm: creating a snapshot

2014-10-06 Thread Don Armstrong
On Tue, 07 Oct 2014, lee wrote: > Don Armstrong writes: > > Doesn't matter. It just has to be a block device that you can add as > > a physical volume to the volume group. > > Isn't a logical volume of a volume group "just" a block device? The > VMs have their LVs as block devices just fine. Sur

Re: lvm: creating a snapshot

2014-10-06 Thread lee
Don Armstrong writes: > On Sun, 05 Oct 2014, lee wrote: >> So it would have to be at least a partition? I don't have one free ... >> I could use the swap partition temporarily for something like that. > > Doesn't matter. It just has to be a block device that you can add as a > physical volume to

Re: lvm: creating a snapshot

2014-10-06 Thread lee
Brian Candler writes: >> The volume group concept is for grouping the *disks*, so you can treat >> a group of disks with similar properties as a >> interchangeable. So it makes more sense to have volume groups for >> e.g. "15krpm" and "SSD". Or you can just have one big volume group, >> which m

Re: lvm: creating a snapshot

2014-10-06 Thread Brian Candler
The volume group concept is for grouping the *disks*, so you can treat a group of disks with similar properties as a interchangeable. So it makes more sense to have volume groups for e.g. "15krpm" and "SSD". Or you can just have one big volume group, which makes disk upgrades seamless. And rem

Re: lvm: creating a snapshot

2014-10-05 Thread Don Armstrong
On Sun, 05 Oct 2014, lee wrote: > So it would have to be at least a partition? I don't have one free ... > I could use the swap partition temporarily for something like that. Doesn't matter. It just has to be a block device that you can add as a physical volume to the volume group. [And obviously,

Re: lvm: creating a snapshot

2014-10-05 Thread lee
John Holland writes: > I think you can pipe output of dd on the source to netcat, going to a netcat > on the destination machine which is piped to dd going to a device or file on > that machine. Hm, assuming that the volume group resides on /dev/sda3, I would have something like 'dd if=/dev/

Re: lvm: creating a snapshot

2014-10-05 Thread lee
PaulNM writes: > On 10/04/2014 04:09 PM, Don Armstrong wrote: >> On Fri, 03 Oct 2014, Karl E. Jorgensen wrote: >>> On Fri, Oct 03, 2014 at 08:43:06PM +0200, lee wrote: Can I create a snapshot over the network on disks an another machine? >>> >>> No >> >> You can, but not trivially. Use

Re: lvm: creating a snapshot

2014-10-05 Thread lee
Don Armstrong writes: > On Fri, 03 Oct 2014, Karl E. Jorgensen wrote: >> On Fri, Oct 03, 2014 at 08:43:06PM +0200, lee wrote: >> > Can I create a snapshot over the network on disks an another >> > machine? >> >> No > > You can, but not trivially. Use nbd, iscsi or similar to share a block > devi

Re: lvm: creating a snapshot

2014-10-05 Thread lee
John Holland writes: > Zfsonlinux.org has info on using ZFS with debian. I create vm images > and snapshot them and clone the snapshots all the time. The clones are > writable and only use as much space as corresponds to the difference > from the source. The volumes have to be ZVOL s, not regular

Re: lvm: creating a snapshot

2014-10-04 Thread PaulNM
On 10/04/2014 04:09 PM, Don Armstrong wrote: > On Fri, 03 Oct 2014, Karl E. Jorgensen wrote: >> On Fri, Oct 03, 2014 at 08:43:06PM +0200, lee wrote: >>> Can I create a snapshot over the network on disks an another >>> machine? >> >> No > > You can, but not trivially. Use nbd, iscsi or similar to s

Re: lvm: creating a snapshot

2014-10-04 Thread John Holland
/04/2014 - 4:09 PM To: debian-user@lists.debian.org Subject: Re: lvm: creating a snapshot > On Fri, 03 Oct 2014, Karl E. Jorgensen wrote: >> On Fri, Oct 03, 2014 at 08:43:06PM +0200, lee wrote: >> > Can I create a snapshot over the network on disks an another >> > machine

Re: lvm: creating a snapshot

2014-10-04 Thread John Holland
very reliable. -- John Holland jholl...@vin-dit.org gpg public key ID 0x9551CF2D - Original Message - From: lee Sent: 10/04/2014 - 9:31 AM To: debian-user@lists.debian.org Subject: Re: lvm: creating a snapshot > "Karl E. Jorgensen" writes: > >> Hi >> >

Re: lvm: creating a snapshot

2014-10-04 Thread Don Armstrong
On Fri, 03 Oct 2014, Karl E. Jorgensen wrote: > On Fri, Oct 03, 2014 at 08:43:06PM +0200, lee wrote: > > Can I create a snapshot over the network on disks an another > > machine? > > No You can, but not trivially. Use nbd, iscsi or similar to share a block device over the network, and then use lv

Re: lvm: creating a snapshot

2014-10-04 Thread lee
"Karl E. Jorgensen" writes: > Hi > > On Fri, Oct 03, 2014 at 08:43:06PM +0200, lee wrote: >> Hi, >> >> how can I create a LVM snapshot of a VM? >> >> >> root@heimdall:~# lvcreate -L 4G -s /dev/mapper/vg_guests-lv_jarl -n >> lv_snap_jarl /dev/mapper/vg_mydata >> Physical Volume "/dev/mapper/

Re: lvm: creating a snapshot

2014-10-03 Thread Karl E. Jorgensen
Hi On Fri, Oct 03, 2014 at 08:43:06PM +0200, lee wrote: > Hi, > > how can I create a LVM snapshot of a VM? > > > root@heimdall:~# lvcreate -L 4G -s /dev/mapper/vg_guests-lv_jarl -n > lv_snap_jarl /dev/mapper/vg_mydata > Physical Volume "/dev/mapper/vg_mydata" not found in Volume Group > "vg

lvm: creating a snapshot

2014-10-03 Thread lee
Hi, how can I create a LVM snapshot of a VM? root@heimdall:~# lvcreate -L 4G -s /dev/mapper/vg_guests-lv_jarl -n lv_snap_jarl /dev/mapper/vg_mydata Physical Volume "/dev/mapper/vg_mydata" not found in Volume Group "vg_guests" root@heimdall:~# There is no free space in 'vg_guests'. The only