Re: btrfs hang (deadlock?) when trying to create a ext4 filesystem in KVM guest

2010-12-15 Thread C Anthony Risinger
On Thu, Oct 28, 2010 at 1:29 AM, Tomasz Chmielewski man...@wpkg.org wrote: On 28.10.2010 00:55, Chris Mason wrote: On Wed, Oct 27, 2010 at 03:29:38PM +0200, Tomasz Chmielewski wrote: There are a couple of problems when running KVM guests with images stored on btrfs filesystem. One of them

Scary OOPS when playing with --bind, --move, and friends

2010-12-20 Thread C Anthony Risinger
hello, i really need to stop recklessly doing this stuff to my laptop... i'm finishing a new initramfs hook to support many features of btrfs; when considering how i was going to mount the target subvol as / for the booting system, i decided to play with --bind and --move. in short, everything

Re: Scary OOPS when playing with --bind, --move, and friends

2010-12-20 Thread C Anthony Risinger
On Mon, Dec 20, 2010 at 10:19 PM, Fajar A. Nugraha l...@fajar.net wrote: On Tue, Dec 21, 2010 at 11:16 AM, Fajar A. Nugraha l...@fajar.net wrote: On Tue, Dec 21, 2010 at 10:51 AM, C Anthony Risinger anth...@extof.me wrote: i'm on 2.6.36.2 Try 2.6.35 or later. I tested something similar

Re: Scary OOPS when playing with --bind, --move, and friends

2010-12-20 Thread C Anthony Risinger
On Mon, Dec 20, 2010 at 10:25 PM, C Anthony Risinger anth...@extof.me wrote: On Mon, Dec 20, 2010 at 10:19 PM, Fajar A. Nugraha l...@fajar.net wrote: Still curious about your test scenario though. Can you double check it? A write on the snapshot should not appear on the parent filesystem

Re: [GIT PULL][PATCH v2 0/6] btrfs: Add lzo compression support

2010-12-25 Thread C Anthony Risinger
On Dec 24, 2010, at 2:46 PM, Chris Mason chris.ma...@oracle.com wrote: This is going to be the building block for our 2.6.38 pull request to Linus. hooray christmas came early this year! what a nice gift, thanks! heh, thanks for all the great work guys. I'm doing my best to spread the good

Re: Synching a Backup Server

2011-01-06 Thread C Anthony Risinger
On Thu, Jan 6, 2011 at 1:47 PM, Freddie Cash fjwc...@gmail.com wrote: On Thu, Jan 6, 2011 at 11:33 AM, Marcin Kuk marcin@gmail.com wrote: Rsync is good, but not for all cases. Be aware of databases files - you should do snapshot filesystem before rsyncing. We script a dump of all

Re: Synching a Backup Server

2011-01-06 Thread C Anthony Risinger
On Thu, Jan 6, 2011 at 2:13 PM, Freddie Cash fjwc...@gmail.com wrote: On Thu, Jan 6, 2011 at 12:07 PM, C Anthony Risinger anth...@extof.me wrote: On Thu, Jan 6, 2011 at 1:47 PM, Freddie Cash fjwc...@gmail.com wrote: On Thu, Jan 6, 2011 at 11:33 AM, Marcin Kuk marcin@gmail.com wrote: Rsync

Re: Various Questions

2011-01-07 Thread C Anthony Risinger
On Fri, Jan 7, 2011 at 11:15 AM, Carl Cook cac...@quantum-sci.com wrote: On Fri 07 January 2011 08:14:17 Hubert Kario wrote: I'd suggest at least mkfs.btrfs -m raid1 -d raid0 /dev/sdc /dev/sdd if you really want raid0 I don't fully understand -m or -d.  Why would this make a truer raid0

Re: no space left on device

2011-02-07 Thread C Anthony Risinger
On Mon, Feb 7, 2011 at 3:21 PM, Leonidas Spyropoulos artafi...@gmail.com wrote: Hey all, I run into no space left on device on a virtualbox After installing Debian 6 on a virtual machine I tried installing the KDE desktop The system HDD is 8Gb Both root (/) and /home are btrfs over LVM.

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread C Anthony Risinger
On May 6, 2011 4:20 PM, cac...@quantum-sci.com wrote: On Friday 6 May, 2011 13:51:37 Peter Stuge wrote: cac...@quantum-sci.com wrote: I don't understand this. Clearly. Please continue the discussion in a debian or grub forum.. It really has nothing to do with btrfs. No thanks.  This

Re: Cannot Deinstall a Debian Package

2011-05-06 Thread C Anthony Risinger
On Fri, May 6, 2011 at 8:51 PM, C Anthony Risinger anth...@extof.me wrote: On May 6, 2011 4:20 PM, cac...@quantum-sci.com wrote: On Friday 6 May, 2011 13:51:37 Peter Stuge wrote: cac...@quantum-sci.com wrote: I don't understand this. Clearly. Please continue the discussion in a debian

Re: [PATCH] Btrfs: make lzo the default compression scheme

2011-05-27 Thread C Anthony Risinger
On Fri, May 27, 2011 at 2:41 AM, Fajar A. Nugraha l...@fajar.net wrote: On Fri, May 27, 2011 at 2:32 PM, Sander san...@humilis.net wrote: Li Zefan wrote (ao): As the lzo compression feature has been established for quite a while, we are now ready to replace zlib with lzo as the default

Re: strange btrfs sub list output

2011-05-31 Thread C Anthony Risinger
On Tue, May 31, 2011 at 5:00 AM, Stephane Chazelas stephane_chaze...@yahoo.fr wrote: 2011-05-27 13:49:52 +0200, Andreas Philipp: [...] Thanks, I can understand that. What I don't get is how one creates a subvol with a top-level other than 5. I might be missing the obvious, though. If I

Re: strange btrfs sub list output

2011-06-02 Thread C Anthony Risinger
On Tue, May 31, 2011 at 2:32 PM, C Anthony Risinger anth...@xtfx.me wrote: On Tue, May 31, 2011 at 1:50 PM, Andreas Philipp philipp.andr...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31.05.2011 19:40, C Anthony Risinger wrote: On Tue, May 31, 2011 at 5:00 AM

filesystem seeding ... BUGs on .38, .39, loopback, real devices, tmp branch ... everything

2011-06-02 Thread C Anthony Risinger
hello, i'm trying to setup a seeded FS -- was only able to find this: http://thread.gmane.org/gmane.comp.file-systems.btrfs/10529 ... and announcement-like info from 2009 or so. i keep hitting bugs/oops, and even though the FS *appears* to work correctly afterwards, sometimes mount/strace/etc

Re: filesystem seeding ... BUGs on .38, .39, loopback, real devices, tmp branch ... everything

2011-06-02 Thread C Anthony Risinger
On Thu, Jun 2, 2011 at 6:40 AM, Geoff Ritter geoff.rit...@gmail.com wrote: On Thu, 2011-06-02 at 04:20 -0500, C Anthony Risinger wrote: i tried with loop devices at first, then real devices -- this is all under KVM/QEMU, and with FSs that are/will be smaller than 1G. I have tried the seed

Re: Issues with KVM

2011-07-22 Thread C Anthony Risinger
On Fri, Jul 22, 2011 at 2:44 PM, Victor Stinner victor.stin...@haypocalc.com wrote:  Hi, I have a new fast computer to run many virtual machines. Everything looks very fast, except the installation of new operating systems in KVM. The installation is very fast until it begins to write on

Re: Issues with KVM

2011-07-22 Thread C Anthony Risinger
On Fri, Jul 22, 2011 at 2:59 PM, C Anthony Risinger anth...@xtfx.me wrote: On Fri, Jul 22, 2011 at 2:44 PM, Victor Stinner victor.stin...@haypocalc.com wrote: ) is caching enabled on the image? () oops, disregard that ... remainder left over from editing copy/paste :-) C Anthony

Re: [PATCH] btrfs: do not allow mounting non-subvolumes via subvol option

2011-08-03 Thread C Anthony Risinger
On Wed, Aug 3, 2011 at 1:47 PM, David Sterba d...@jikos.cz wrote: On Sat, Jul 30, 2011 at 12:16:44AM +0800, Zhong, Xin wrote: I believe I have submit a similar patch months ago: http://marc.info/?l=linux-btrfsm=130208585106572w=2 You did! I was not aware of that. I believe adding a helper

Re: BTRFS partition won't mount

2011-08-08 Thread C Anthony Risinger
On Wed, Aug 3, 2011 at 3:50 PM, Hugo Mills h...@carfax.org.uk wrote:   Try the instructions on the wiki at [1]. (And please feed back and/or fix any issues you have with the instructions -- they're still quite new and probably have awkward corners). [1]

Re: BTRFS partition won't mount

2011-08-09 Thread C Anthony Risinger
On Mon, Aug 8, 2011 at 10:54 PM, C Anthony Risinger anth...@xtfx.me wrote: On Wed, Aug 3, 2011 at 3:50 PM, Hugo Mills h...@carfax.org.uk wrote:   Try the instructions on the wiki at [1]. (And please feed back and/or fix any issues you have with the instructions -- they're still quite new

Re: licenses (for apple OSX and others)?

2011-08-14 Thread C Anthony Risinger
On Sun, Aug 14, 2011 at 9:53 PM, Billy Crook billycr...@gmail.com wrote: On Sun, Aug 14, 2011 at 19:34, ivo welch ivo...@gmail.com wrote: curiosity question---could btrfs be licensed in multiple ways to allow Apple and other vendors to adopt it? Great question, Ivo. And it turns out, btrfs

Re: Btrfs moved my root tree off the end of the device

2011-09-07 Thread C Anthony Risinger
On Wed, Sep 7, 2011 at 6:33 PM, Justin Gottula jus...@jgottula.com wrote: Hi, I recently created a Btrfs volume on top of a software (mdadm) raid5 array (since Btrfs currently lacks raid5 support at the FS level). On this 640 GB volume, I stored a ~400 GB tar file. After a couple weeks of

Re: mount a multi-device filesystem using a loopback device

2011-09-07 Thread C Anthony Risinger
On Wed, Sep 7, 2011 at 1:44 AM, Jeff Liu jeff@oracle.com wrote: On 09/07/2011 12:37 PM, cwillu wrote: 1.  Create and format two images, the 1st in 400Mbytes, and 2nd in 286Mbytes. root@pibroch:/btrfs-progs# ls -lh /usr/src/linux-3.0/img* -rw-r--r-- 1 jeff jeff 400M 2011-09-07 12:00

Re: snapshot issues

2011-10-14 Thread C Anthony Risinger
out. AFAIK a snapshot will not traverse beyond it's own boundaries. -- C Anthony Risinger -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

list subvolumes with new btrfs command

2010-04-25 Thread C Anthony Risinger
hello, i maintain an unofficial initrd hook in Arch Linux that allows BTRFS to be used as the root device. i am trying to update the hook to use the more extensive btrfs command, adding support for users to change their default subvolume from within the initrd (i'm creating a sort of rollback

Re: list subvolumes with new btrfs command

2010-04-25 Thread C Anthony Risinger
need super root? in my ubuntu10.04 with latest btrfs-progs: $ ./btrfs subvolume list /media/sda3-100g/ ERROR: can't perform the search $ sudo ./btrfs subvolume list /media/sda3-100g/ ID 258 top level 5 path misc/snap/snap-4-26 ah sorry, i forgot to mention that it doesn't work as super user

Re: list subvolumes with new btrfs command

2010-04-26 Thread C Anthony Risinger
I am using ubuntu-10.04-rc with kernel compiled from the almost lastest source , the btrfs-progs is latest too. You can modify line  fprintf(stderr, ERROR: can't perform the search\n); to  fprintf(stderr, ERROR: can't perform the search: %s\n, strerror(errno)); to see what happened on

Re: list subvolumes with new btrfs command

2010-04-26 Thread C Anthony Risinger
On Mon, Apr 26, 2010 at 12:58 PM, Hubert Kario h...@qbs.com.pl wrote: On Monday 26 April 2010 19:23:21 C Anthony Risinger wrote: I am using ubuntu-10.04-rc with kernel compiled from the almost lastest source , the btrfs-progs is latest too. You can modify line  fprintf(stderr, ERROR

Re: list subvolumes with new btrfs command

2010-04-26 Thread C Anthony Risinger
On Mon, Apr 26, 2010 at 2:10 PM, C Anthony Risinger anth...@extof.me wrote: On Mon, Apr 26, 2010 at 12:58 PM, Hubert Kario h...@qbs.com.pl wrote: On Monday 26 April 2010 19:23:21 C Anthony Risinger wrote: I am using ubuntu-10.04-rc with kernel compiled from the almost lastest source

Re: list subvolumes with new btrfs command

2010-04-26 Thread C Anthony Risinger
On Mon, Apr 26, 2010 at 3:51 PM, C Anthony Risinger anth...@extof.me wrote: On Mon, Apr 26, 2010 at 2:10 PM, C Anthony Risinger anth...@extof.me wrote: On Mon, Apr 26, 2010 at 12:58 PM, Hubert Kario h...@qbs.com.pl wrote: On Monday 26 April 2010 19:23:21 C Anthony Risinger wrote: I am using

default subvolume abilities/restrictions

2010-05-19 Thread C Anthony Risinger
hi, i'm working on an initrd hook [http://aur.archlinux.org/packages.php?ID=33376] to support non-volatile system rollbacks (promoting a temporary rollback snapshot to the new active/default). when the system is installed to the default/. subvolume (as many users probably initially do), it is

Re: default subvolume abilities/restrictions

2010-05-19 Thread C Anthony Risinger
On Wed, May 19, 2010 at 9:20 AM, Chris Ball c...@laptop.org wrote: Hi,   moving along to a question... can the default subvolume be   swapped/removed/renamed/popped/shifted? I think btrfs subvolume list; btrfs subvolume set-default id path does what you need. - Chris. maybe i'm missing

missing include from btrfsck.c?

2010-06-09 Thread C Anthony Risinger
i'm not a C developer, but i like to think i know enough to be dangerous (pragmatic) :-D building from git master failed with: .. .. gcc -Wp,-MMD,./.btrfsck.o.d,-MT,btrfsck.o -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -g -Werror -Os -c btrfsck.c cc1: warnings being treated

Re: default subvolume abilities/restrictions

2010-06-11 Thread C Anthony Risinger
On Wed, May 19, 2010 at 9:01 AM, C Anthony Risinger anth...@extof.me wrote: .. i need a way, programmatically and safely, to move the users installation from the original subvolume into an isolated subvolume .. or to generate a new, empty default/root subvolume and place

Re: Music-files suddenly not recognized anymore, empty files - Btrfschk reports errors

2010-06-12 Thread C Anthony Risinger
On Sat, Jun 12, 2010 at 3:40 PM, Clemens Eisserer linuxhi...@gmail.com wrote: Hi, Recently Amarok started to reject some of music files. Some files seem to be simply corrupted (mplayer is still able to play them), other have zero length. Btrfsck reports: root 5 inode 1371 errors 400 found

Re: default subvolume abilities/restrictions

2010-06-12 Thread C Anthony Risinger
On Sat, Jun 12, 2010 at 12:24 AM, C Anthony Risinger anth...@extof.me wrote: On Wed, May 19, 2010 at 9:01 AM, C Anthony Risinger anth...@extof.me wrote: .. i need a way, programmatically and safely, to move the users installation from the original subvolume into an isolated subvolume

Re: default subvolume abilities/restrictions

2010-06-12 Thread C Anthony Risinger
On Sat, Jun 12, 2010 at 7:22 PM, David Brown bt...@davidb.org wrote: On Sat, Jun 12, 2010 at 06:06:23PM -0500, C Anthony Risinger wrote: # btrfs subvolume create new_root # mv . new_root/old_root can i at least get confirmation that the above is possible? I've had no problem

Re: default subvolume abilities/restrictions

2010-06-13 Thread C Anthony Risinger
On Sat, Jun 12, 2010 at 8:06 PM, C Anthony Risinger anth...@extof.me wrote: On Sat, Jun 12, 2010 at 7:22 PM, David Brown bt...@davidb.org wrote: On Sat, Jun 12, 2010 at 06:06:23PM -0500, C Anthony Risinger wrote: # btrfs subvolume create new_root # mv . new_root/old_root can i at least get

Re: default subvolume abilities/restrictions

2010-06-18 Thread C Anthony Risinger
On Sun, Jun 13, 2010 at 12:47 PM, C Anthony Risinger anth...@extof.me wrote: On Sat, Jun 12, 2010 at 8:06 PM, C Anthony Risinger anth...@extof.me wrote: On Sat, Jun 12, 2010 at 7:22 PM, David Brown bt...@davidb.org wrote: On Sat, Jun 12, 2010 at 06:06:23PM -0500, C Anthony Risinger wrote

Re: Atomic replacement of subvolumes is not possible

2010-06-27 Thread C Anthony Risinger
On Sat, Jun 26, 2010 at 12:25 PM, Daniel Baumann dan...@debian.org wrote: Hi, this is basically a forward from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587253 rename(2) allows for the atomic replacement of files.  Being able to atomically replace subvolume snapshots would be equally

Re: Atomic replacement of subvolumes is not possible

2010-06-30 Thread C Anthony Risinger
On Wed, Jun 30, 2010 at 8:31 AM, Chris Mason chris.ma...@oracle.com wrote: On Sun, Jun 27, 2010 at 07:44:12PM -0500, C Anthony Risinger wrote: On Sat, Jun 26, 2010 at 12:25 PM, Daniel Baumann dan...@debian.org wrote: Hi, this is basically a forward from http://bugs.debian.org/cgi-bin

Re: Atomic replacement of subvolumes is not possible

2010-07-02 Thread C Anthony Risinger
On Thu, Jul 1, 2010 at 8:30 PM, Chris Mason chris.ma...@oracle.com wrote: On Wed, Jun 30, 2010 at 09:26:11AM -0500, C Anthony Risinger wrote: On Wed, Jun 30, 2010 at 8:31 AM, Chris Mason chris.ma...@oracle.com wrote: On Sun, Jun 27, 2010 at 07:44:12PM -0500, C Anthony Risinger wrote: On Sat

Re: Atomic replacement of subvolumes is not possible

2010-07-03 Thread C Anthony Risinger
On Fri, Jul 2, 2010 at 2:38 PM, Goffredo Baroncelli kreij...@gmail.com wrote: On Friday, July 02, 2010, Chris Mason wrote: On Wed, Jun 30, 2010 at 09:26:11AM -0500, C Anthony Risinger wrote: [...] what about this:  would it be possible to have TWO subvolumes by default?  the regular one

Re: btrfsctl returns bad exit status

2010-07-23 Thread C Anthony Risinger
Try using btrfs tool; btrfsctl is/will be deprecated I think... and it's better anyway. C Anthony [mobile] On Jul 23, 2010, at 3:04 PM, K. Richard Pixley r...@noir.com wrote: Using btrfsctl from ubuntu maverick, (built and running on ubuntu-10.04), I get: r...@eisenhower btrfsctl -s snap1

Re: unable to replace defect raid1 device

2010-07-31 Thread C Anthony Risinger
Try to add replacement, rebalance, then remove missing C Anthony [mobile] On Jul 31, 2010, at 2:04 PM, Michael Kofler mich...@kofler.info wrote: on Ubuntu 10.10 alpha with btrfs 0.19 and a 2.6.35 (2.6.35-12-generic #17-Ubuntu SMP Mon Jul 26 18:48:06) I created a btrfs raid 1 system: #

Re: quick question...

2010-08-08 Thread C Anthony Risinger
i'm not an expert, but ill do my best to answer. replies interspersed below. On Sun, Aug 8, 2010 at 8:57 PM, Evert Vorster evors...@gmail.com wrote: Hi there. Has anybody got a btrfs root filesystem that is running on a bare block device? Would lilo be able to boot an initramfs that is

Re: can't unmount

2010-08-12 Thread C Anthony Risinger
On Aug 12, 2010, at 10:58 AM, K. Richard Pixley r...@noir.com wrote: And should I be worried about what umount -l might be leaving behind? (eg, any unfreed kernel resources) Or is that a reasonable way to deal with this situation on an ongoing basis? --rich On 8/12/10 08:55 , K. Richard

Re: Question of stability

2010-09-18 Thread C Anthony Risinger
On Sep 18, 2010, at 6:55 PM, Roy Sigurd Karlsbakk r...@karlsbakk.net wrote: - Original Message - On Sat, Sep 18, 2010 at 11:37 PM, Roy Sigurd Karlsbakk r...@karlsbakk.net wrote: Hi all I've been on this list for a year or so, and I have been following progress for some more. Are

Re: Question of stability

2010-09-18 Thread C Anthony Risinger
On Sat, Sep 18, 2010 at 9:00 PM, Roy Sigurd Karlsbakk r...@karlsbakk.net wrote: Stable is a pretty subjective term; many don't even think ext4 is stable. I've used it on my personal machine since .30-31-ish without problems, and on a server w/raid 1 for about a year (btrfs + lxc is niiice,

Re: Question of stability

2010-09-20 Thread C Anthony Risinger
On Mon, Sep 20, 2010 at 10:12 AM, K. Richard Pixley r...@noir.com wrote:  On 9/18/10 17:43 , C Anthony Risinger wrote: I remeber someone recently using it for continuous build servers successfully That's probably me and I wouldn't call the effort successful yet.  There are at least several

Re: Slow link/Capacity changed + Kernel OOPS... possible hardware issues, ideas?

2010-10-07 Thread C Anthony Risinger
On Thu, Oct 7, 2010 at 10:20 PM, Chris Ball c...@laptop.org wrote: Hi,   can anyone point me in the right direction?  it looks like maybe   the SSD is failing to me (all the slow link and capacity   changed to 0 stuff), but i really don't know.  i knew there was   a reason they were

Re: Slow link/Capacity changed + Kernel OOPS... possible hardware issues, ideas?

2010-10-09 Thread C Anthony Risinger
On Fri, Oct 8, 2010 at 11:00 PM, Evert Vorster evors...@gmail.com wrote: Hi there... I'm not an expert. however, since you don't care about the data on the SSD anymore, reformat it, and fill it up, then verify what you have written. However, if the capacity has changed, would that not

Re: [PATCH] Btrfs: add support for mixed data+metadata block groups V3

2010-10-21 Thread C Anthony Risinger
On Thu, Oct 21, 2010 at 8:05 PM, Josef Bacik jo...@redhat.com wrote: On Thu, Oct 21, 2010 at 05:21:06PM -0500, Mitch Harder wrote: On Thu, Oct 21, 2010 at 5:09 PM, Diego Calleja dieg...@gmail.com wrote: On Jueves, 21 de Octubre de 2010 17:46:58 David Nicol escribió: Does this mixing

Re: [PATCH] Btrfs: add support for mixed data+metadata block groups V3

2010-10-21 Thread C Anthony Risinger
On Thu, Oct 21, 2010 at 8:37 PM, Josef Bacik jo...@redhat.com wrote: On Thu, Oct 21, 2010 at 08:32:12PM -0500, C Anthony Risinger wrote: On Thu, Oct 21, 2010 at 8:05 PM, Josef Bacik jo...@redhat.com wrote: On Thu, Oct 21, 2010 at 05:21:06PM -0500, Mitch Harder wrote: On Thu, Oct 21, 2010

Re: Determine if a given fs is a btrfs fs

2010-10-25 Thread C Anthony Risinger
On Mon, Oct 25, 2010 at 6:31 AM, Jérôme Poulin jeromepou...@gmail.com wrote: On Sun, Oct 24, 2010 at 5:32 PM, Jérôme Poulin jeromepou...@gmail.com wrote: ... p4 jerome # btrfs device scan /dev/dm-22 Scanning for Btrfs filesystems in '/dev/dm-22' p4 jerome # echo $? 0 This is OK. p4 jerome

Replacing the top-level root

2010-10-25 Thread C Anthony Risinger
On Mon, Oct 25, 2010 at 2:58 PM, Chris Mason chris.ma...@oracle.com wrote: Oh, and it shouldn't work on the root of the FS either ;) -chris This is not 100% related but... Will removing [replacing] the top-level root be something that can/will be supported? I've asked in the past about this

Re: Btrfs-progs: Update man page for mixed data+metadata option.

2010-11-10 Thread C Anthony Risinger
On Wed, Nov 10, 2010 at 9:53 PM, Mitch Harder mitch.har...@sabayonlinux.org wrote: On Wed, Nov 10, 2010 at 8:10 PM, Josef Bacik jo...@redhat.com wrote: On Wed, Nov 10, 2010 at 12:02:18PM -0600, Mitch Harder wrote: Update the mkfs.btrfs man page for the -M option to mix data and metadata

Re: btrfs problems and fedora 14

2010-11-22 Thread C Anthony Risinger
On Mon, Nov 22, 2010 at 10:47 PM, Wenyi Liu qingshen...@gmail.com wrote: 2010/11/23, david grant d...@david-grant.com: I thought I would try btrfs on a new installation of f14. yes, I know its experimental but stable so it seemed to be a good time to try it. I am not sure if I have missed

mounting arbitrary directories

2010-11-27 Thread C Anthony Risinger
i have read just recently and in the past that btrfs supports COW for _any_ file/directory (this is reflinks, yes?), and today i accidentally noticed that i can mount a directory as well (if it's in the top level volume at least). eg. if i have a regular directory (not a subvolume) in the

Re: [RFC-PATCH] Re: mounting arbitrary directories

2010-11-29 Thread C Anthony Risinger
On Sun, Nov 28, 2010 at 4:07 AM, C Anthony Risinger anth...@extof.me wrote: On Nov 27, 2010, at 10:22 PM, Calvin Walton calvin.wal...@gmail.com wrote: On Sat, 2010-11-27 at 21:19 -0600, C Anthony Risinger wrote: eg. if i have a regular directory (not a subvolume) in the top- level: /__boot

Re: [GIT PULL][PATCH v2 0/6] btrfs: Add lzo compression support

2010-11-29 Thread C Anthony Risinger
On Wed, Nov 17, 2010 at 8:08 PM, Li Zefan l...@cn.fujitsu.com wrote: Hi Chris, Here's the updated patchset. As I still haven't got a kernel.org account, I have set up a git tree in another public git repository, and I'll use it for now. You can pull from:        

Re: Default to read-only on snapshot creation and have a flag if snapshot should be writable (was: [PATCH 0/5] btrfs: Readonly snapshots)

2010-11-29 Thread C Anthony Risinger
On Nov 29, 2010, at 3:48 PM, Andrey Kuzmin andrey.v.kuz...@gmail.com wrote: I'm not sure why zfs came up, they don't own the term :). As to zfs/overhead topic, I doubt there's any difference between clone and writable shapshot (there should be none, of course, it's just two different names

Re: [GIT PULL][PATCH v2 0/6] btrfs: Add lzo compression support

2010-11-30 Thread C Anthony Risinger
On Mon, Nov 29, 2010 at 7:00 PM, Li Zefan l...@cn.fujitsu.com wrote: C Anthony Risinger wrote: On Wed, Nov 17, 2010 at 8:08 PM, Li Zefan l...@cn.fujitsu.com wrote: You can pull from:        git://repo.or.cz/linux-btrfs-devel.git lzo-support Lzo is a much faster compression algorithm than

Re: What to do about subvolumes?

2010-12-01 Thread C Anthony Risinger
On Wed, Dec 1, 2010 at 8:21 AM, Josef Bacik jo...@redhat.com wrote: === How do we want subvolumes to work from a user perspective? === 1) Users need to be able to create their own subvolumes.  The permission semantics will be absolutely the same as creating directories, so I don't think

Re: What to do about subvolumes?

2010-12-01 Thread C Anthony Risinger
On Wed, Dec 1, 2010 at 10:01 AM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from C Anthony Risinger's message of 2010-12-01 09:51:55 -0500: On Wed, Dec 1, 2010 at 8:21 AM, Josef Bacik jo...@redhat.com wrote: === How do we want subvolumes to work from a user perspective? === 1)

Re: What to do about subvolumes?

2010-12-01 Thread C Anthony Risinger
On Wed, Dec 1, 2010 at 10:38 AM, Hugo Mills hugo-l...@carfax.org.uk wrote: On Wed, Dec 01, 2010 at 09:21:36AM -0500, Josef Bacik wrote: === Quotas === This is a huge topic in and of itself, but Christoph mentioned wanting to have an idea of what we wanted to do with it, so I'm putting it

Re: What to do about subvolumes?

2010-12-01 Thread C Anthony Risinger
On Wed, Dec 1, 2010 at 12:36 PM, Josef Bacik jo...@redhat.com wrote: On Wed, Dec 01, 2010 at 07:33:39PM +0100, Goffredo Baroncelli wrote: Another point that I want like to discuss is how manage the pivoting between the subvolumes. One of the most beautiful feature of btrfs is the snapshot

Re: What to do about subvolumes?

2010-12-01 Thread C Anthony Risinger
On Wed, Dec 1, 2010 at 12:48 PM, C Anthony Risinger anth...@extof.me wrote: On Wed, Dec 1, 2010 at 12:36 PM, Josef Bacik jo...@redhat.com wrote: On Wed, Dec 01, 2010 at 07:33:39PM +0100, Goffredo Baroncelli wrote: Another point that I want like to discuss is how manage the pivoting between

Re: disk space caching generation missmatch

2010-12-02 Thread C Anthony Risinger
On Thu, Dec 2, 2010 at 2:34 PM, Josef Bacik jo...@redhat.com wrote: +       if (!ret) { +               spin_lock(block_gruop-lock); +               block_group-disk_cache_state = BTRFS_DC_SETUP; +               spin_unlock(block_group-lock); +       } misspelling: block_gruop -

Re: disk space caching generation missmatch

2010-12-02 Thread C Anthony Risinger
Did you fix that typo I posted? C Anthony [mobile] On Dec 2, 2010, at 6:05 PM, Johannes Hirte johannes.hi...@fem.tu-ilmenau.de wrote: On Thursday 02 December 2010 21:34:10 Josef Bacik wrote: On Wed, Dec 01, 2010 at 10:40:29PM +0100, Johannes Hirte wrote: On Wednesday 01 December 2010

Re: [RFC-PATCH] Re: mounting arbitrary directories

2010-12-03 Thread C Anthony Risinger
On Mon, Nov 29, 2010 at 11:42 AM, C Anthony Risinger anth...@extof.me wrote: On Sun, Nov 28, 2010 at 4:07 AM, C Anthony Risinger anth...@extof.me wrote: On Nov 27, 2010, at 10:22 PM, Calvin Walton calvin.wal...@gmail.com wrote: On Sat, 2010-11-27 at 21:19 -0600, C Anthony Risinger wrote: eg

Re: crash when mounting subvolume in a subdirectory

2010-12-06 Thread C Anthony Risinger
On Mon, Dec 6, 2010 at 7:40 PM, Li Zefan l...@cn.fujitsu.com wrote: Michael Niederle wrote: Hi! I'm not sure whether this *should* be possible, but I think it *shouldn't* crash: It's currently not allowed to mount a subvolume which is not created in the root directory of the default

Re: severe hardlink bug

2012-07-29 Thread C Anthony Risinger
On Sun, Jul 29, 2012 at 2:02 PM, Konstantin Dmitriev ksee.zelga...@gmail.com wrote: Dipl.-Ing. Michael Niederle mniederle at gmx.at writes: I reinstalled over 700 packages - plt-scheme beeing the only one failing due to the btrfs link restriction. I have hit the same issue - tried to run

Re: severe hardlink bug

2012-07-30 Thread C Anthony Risinger
On Mon, Jul 30, 2012 at 4:36 AM, Arnd Hannemann a...@arndnet.de wrote: Am 29.07.2012 21:13, schrieb C Anthony Risinger: On Sun, Jul 29, 2012 at 2:02 PM, Konstantin Dmitriev ksee.zelga...@gmail.com wrote: Dipl.-Ing. Michael Niederle mniederle at gmx.at writes: I reinstalled over 700 packages

Re: How to get Btrfs on 2nd partition of USB HDD to automount as read/write

2012-08-19 Thread C Anthony Risinger
On Sun, Aug 19, 2012 at 2:51 PM, dg1727 dg1...@hushmail.com wrote: permissions of the directories in /dev are drwx-- for the NTFS and dr-xr-xr-x for the Btrfs. How can the OS be set up so that the Btrfs will automount read/write? try: chmod u+w /path/to/btrfs/mount ... for whatever

Re: Feeback on RAID1 feature of Btrfs

2012-12-19 Thread C Anthony Risinger
On Tue, Dec 18, 2012 at 6:13 AM, Hugo Mills h...@carfax.org.uk wrote: On Tue, Dec 18, 2012 at 01:20:20PM +0200, Brendan Hide wrote: On 2012/12/17 06:23 PM, Hugo Mills wrote: On Mon, Dec 17, 2012 at 04:51:33PM +0100, Sebastien Luttringer wrote: Hello, snip I get the feeling that RAID1 only

Re: Btrfs partition lost after RAID1 mirror disk failure?

2012-01-03 Thread C Anthony Risinger
On Tue, Jan 3, 2012 at 8:44 AM, Dan Garton dan.gar...@gmail.com wrote: [...]  1327  btrfs-vol -a  1328  btrfs-vol -a /nuvat  1329  btrfs-vol -a asdasd /nuvat  1330  btrfs-vol -a missing /nuvat  1331  btrfs-vol -a /dev/sdc /nuvat  1332  btrfs-vol -a /dev/sdb /nuvat  1334  btrfs-vol -a

Re: Btrfs partition lost after RAID1 mirror disk failure?

2012-01-06 Thread C Anthony Risinger
On Wed, Jan 4, 2012 at 2:30 PM, Dan Garton dan.gar...@gmail.com wrote: Assuming that this is the case, do I stand a chance of retrieving that volume and accessing that data again? Or does destructive imply total loss? (In which case, I'll cut my losses) unfortunately i really don't know

Re: Fractal Tree Indexing over B-Trees?

2012-03-28 Thread C Anthony Risinger
On Wed, Mar 28, 2012 at 9:25 AM, Danny Piccirillo danny.picciri...@member.fsf.org wrote: The case has been made on Phoronix for F-Trees: They makes use hard drive speeds, not (relatively slow) access times; beat SSD's; and scale perfectly across multiple cores with hundreds of millions of

Re: Moving top level to a subvolume

2012-06-13 Thread C Anthony Risinger
On Fri, Jun 8, 2012 at 2:40 PM, Arne Jansen sensi...@gmx.net wrote: On 06/08/2012 09:24 PM, Matthew Hawn wrote: I just converted my root filesystem to btrfs with btrfs-convert.  However, since I am running Ubuntu, I would like to have the same subvolume structure as a default install,. How

Re: Moving top level to a subvolume

2012-06-13 Thread C Anthony Risinger
On Wed, Jun 13, 2012 at 2:21 AM, Arne Jansen sensi...@gmx.net wrote: On 13.06.2012 09:04, C Anthony Risinger wrote: a) have a lot of data b) need to do this via script c) ??? ... because in a), data will *copied* the slow way, and in b) you leave a bunch of junk laying around in the old