Re: [Lxc-users] rootfs backup

2011-01-10 Thread matthew byers
What is the name of the tool? I have extra drives so making one that doesn't
house system files is easy enough. I run btrfs on my main install on my
laptop for months now with no issues whatsoever, btw.

On Mon, Jan 10, 2011 at 7:30 PM, Trent W. Buck wrote:

> matthew byers 
> writes:
>
> > Yea i know btrfs has snapshot abilities but my entire server is ext4.
>
> There is a tool to convert an ext filesystem to btrfs IN-PLACE.
>
> I do not recommend it, because I do not recommend btrfs at all -- it is
> not production-ready.  (I do use it at home; YMMV.)
>
>
>
> --
> Gaining the trust of online customers is vital for the success of any
> company
> that requires sensitive data to be transmitted over the Web.   Learn how to
> best implement a security strategy that keeps consumers' information secure
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl
> ___
> Lxc-users mailing list
> Lxc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>



-- 
God Bless
--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl ___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] rootfs backup

2011-01-10 Thread Trent W. Buck
matthew byers 
writes:

> Yea i know btrfs has snapshot abilities but my entire server is ext4.

There is a tool to convert an ext filesystem to btrfs IN-PLACE.

I do not recommend it, because I do not recommend btrfs at all -- it is
not production-ready.  (I do use it at home; YMMV.)


--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] rootfs backup

2011-01-07 Thread Daniel Lezcano
On 01/07/2011 03:18 AM, matthew byers wrote:
> Yea i know btrfs has snapshot abilities but my entire server is ext4. I
> could format a extra drive with btrfs. Would that allow me to use btrfs for
> containers? Are there any other ideas or processes i can try out?

You can create a sparse file, format it as btrfs and mount it somewhere 
as a rootfs for the container. Otherwise, using the lxc-0.7.3 version 
you can specify this image file as the rootfs directly.



--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] rootfs backup

2011-01-07 Thread matthew byers
Yea i know btrfs has snapshot abilities but my entire server is ext4. I
could format a extra drive with btrfs. Would that allow me to use btrfs for
containers? Are there any other ideas or processes i can try out?

On Thu, Jan 6, 2011 at 12:50 PM, C Anthony Risinger wrote:

> On Thu, Jan 6, 2011 at 12:02 PM, Noah Campbell 
> wrote:
> >
> > With my limited knowledge of lxc, I would recommend looking at a
> filesystem that supports snapshots.
>
> yes, in the past i've used btrfs for this (.32 kernel).  some will say
> that it's not suitable for use (and in some situations it may not be),
> but imo, it's stable enough for my uses; i've had a server running
> since .32 was released (2 yrs?) hosting several btrfs-based containers
> without any issue... and btrfs was only considered "ready for early
> adopters" at that point.
>
> using a couple of template subvolumes, i was able to snapshot them
> into usable domains in < 1 second, and create backups just as fast,
> while at the same time reusing blocks and saving enormous amounts of
> disk space.
>
> works like a treat :-) i plan on using it extensively very soon for an
> updated KVM+LXC server using libvirt.
>
> C Anthony
>
> psdepending on how... bold... you are, there are LZO compression
> patches queued for .38:
>
> http://www.spinics.net/lists/linux-btrfs/msg07748.html
>
> and some dedup work is basic but workable:
>
> http://www.spinics.net/lists/linux-btrfs/msg07819.html
> http://www.spinics.net/lists/linux-btrfs/msg07820.html
>
> both will be very useful for containerized environments.
>



-- 
God Bless
--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl ___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] rootfs backup

2011-01-06 Thread C Anthony Risinger
On Thu, Jan 6, 2011 at 12:02 PM, Noah Campbell  wrote:
>
> With my limited knowledge of lxc, I would recommend looking at a filesystem 
> that supports snapshots.

yes, in the past i've used btrfs for this (.32 kernel).  some will say
that it's not suitable for use (and in some situations it may not be),
but imo, it's stable enough for my uses; i've had a server running
since .32 was released (2 yrs?) hosting several btrfs-based containers
without any issue... and btrfs was only considered "ready for early
adopters" at that point.

using a couple of template subvolumes, i was able to snapshot them
into usable domains in < 1 second, and create backups just as fast,
while at the same time reusing blocks and saving enormous amounts of
disk space.

works like a treat :-) i plan on using it extensively very soon for an
updated KVM+LXC server using libvirt.

C Anthony

psdepending on how... bold... you are, there are LZO compression
patches queued for .38:

http://www.spinics.net/lists/linux-btrfs/msg07748.html

and some dedup work is basic but workable:

http://www.spinics.net/lists/linux-btrfs/msg07819.html
http://www.spinics.net/lists/linux-btrfs/msg07820.html

both will be very useful for containerized environments.

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] rootfs backup

2011-01-06 Thread Noah Campbell
With my limited knowledge of lxc, I would recommend looking at a filesystem 
that supports snapshots.  

-Noah

On Jan 6, 2011, at 9:12 AM, matthew byers wrote:

> Hey i was wondering if there is a way to backup a rootfs aside from copying 
> it over. Im asking because i made a container with intent of messing it up. I 
> succeeded which in turn messed up the rootfs. So i was wondering if there was 
> a way to backup a rootfs aside from using: cp rootfs.ubuntu rootfs.ubuntu.bak 
> Is there a snapshot ability or something? As you can tell i am newly starting 
> to get into lxc. Any help/ideas is greatly appreciated.
> 
> -- 
> God Bless
> --
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and, 
> should the need arise, upgrade to a full multi-node Oracle RAC database 
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl___
> Lxc-users mailing list
> Lxc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users


--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] rootfs backup

2011-01-06 Thread Papp Tamas

On 01/06/2011 06:12 PM, matthew byers wrote:
> Hey i was wondering if there is a way to backup a rootfs aside from 
> copying it over. Im asking because i made a container with intent of 
> messing it up. I succeeded which in turn messed up the rootfs. So i 
> was wondering if there was a way to backup a rootfs aside from using: 
> cp rootfs.ubuntu rootfs.ubuntu.bak
> Is there a snapshot ability or something? As you can tell i am newly 
> starting to get into lxc. Any help/ideas is greatly appreciated.

You can any snapshotting tool (btrfs, lvm, etc), or do I miss something?

tamas

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


[Lxc-users] rootfs backup

2011-01-06 Thread matthew byers
Hey i was wondering if there is a way to backup a rootfs aside from copying
it over. Im asking because i made a container with intent of messing it up.
I succeeded which in turn messed up the rootfs. So i was wondering if there
was a way to backup a rootfs aside from using: cp rootfs.ubuntu
rootfs.ubuntu.bak
Is there a snapshot ability or something? As you can tell i am newly
starting to get into lxc. Any help/ideas is greatly appreciated.

-- 
God Bless
--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users