Re: Two identical copies of an image mounted result in changes to both images if only one is modified

2013-06-20 Thread Fajar A. Nugraha
On Thu, Jun 20, 2013 at 3:47 PM, Clemens Eisserer linuxhi...@gmail.com wrote: Hi, I've observed a rather strange behaviour while trying to mount two identical copies of the same image to different mount points. Each modification to one image is also performed in the second one. Example: dd

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

2010-12-20 Thread Fajar A. Nugraha
On Tue, Dec 21, 2010 at 10:51 AM, C Anthony Risinger anth...@extof.me wrote: in short, everything works fine until you --bind across a subvol via the special folders created when one takes a snapshot, # mount --bind root/subvol of my current root/home/anthony bind # touch bind/TEST you can

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

2010-12-20 Thread Fajar A. Nugraha
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 under ubuntu maverick (2.6.35-24-generic) and it works just fine. Sorry, hit

Re: Synching a Backup Server

2011-01-06 Thread Fajar A. Nugraha
On Fri, Jan 7, 2011 at 12:35 AM, Carl Cook cac...@quantum-sci.com wrote: I want to keep a duplicate copy of the HTPC data, on the backup server Is there a BTRFS tool that would do this? AFAIK zfs is the only opensource filesystem today that can transfer block-level delta between two snapshots,

Re: Synching a Backup Server

2011-01-06 Thread Fajar A. Nugraha
On Fri, Jan 7, 2011 at 5:26 AM, Carl Cook cac...@quantum-sci.com wrote: On Thu 06 January 2011 13:58:41 Freddie Cash wrote: Simplest solution is to write a script to create a mysqldump of all databases into a directory, add that to cron so that it runs at the same time everyday, 10-15 minutes

Re: btrfsck segmentation fault

2011-01-08 Thread Fajar A. Nugraha
On Sat, Jan 8, 2011 at 5:29 AM, cwillu cwi...@cwillu.com wrote: On Fri, Jan 7, 2011 at 3:15 PM, Andrew Schretter schr...@math.duke.edu wrote: I have a 10TB btrfs filesystem over iSCSI that is currently unmountable.  I'm currently running Fedora 13 with a recent Fedora 14 kernel

Re: Synching a Backup Server

2011-01-09 Thread Fajar A. Nugraha
On Sun, Jan 9, 2011 at 6:46 PM, Alan Chandler a...@chandlerfamily.org.uk wrote: then create snapshots of these directories: /mnt/btrfs/         |- server-a         |- server-b         |- server-c         |- snapshots-server-a                  |- @GMT-2010.12.21-16.48.09                    

Re: Synching a Backup Server

2011-01-09 Thread Fajar A. Nugraha
On Mon, Jan 10, 2011 at 5:01 AM, Hugo Mills hugo-l...@carfax.org.uk wrote:   There is a root subvolume namespace (subvolid=0), which may contain files, directories, and other subvolumes. This root subvolume is what you see when you mount a newly-created btrfs filesystem. Is there a detailed

Re: Adding a disk fails

2011-01-21 Thread Fajar A. Nugraha
On Fri, Jan 21, 2011 at 2:00 PM, Helmut Hullen hul...@t-online.de wrote: Hallo, Carl, Du meintest am 20.01.11: If you shutdown the system, at the reboot you should scan all the device in order to find the btrfs ones # find the btrfs device btrfs device scan This must be done at

Re: Cannot Create Partition

2011-01-23 Thread Fajar A. Nugraha
On Mon, Jan 24, 2011 at 1:07 AM, cac...@quantum-sci.com wrote: On /dev/sda I have sda1 which is my / bootable filesystem for Debian formatted ext4.  This is 256MB on a 2TB drive. Really? How do you know it's 256 MB? # fdisk /dev/sda WARNING: GPT (GUID Partition Table) detected on

Re: Btrfs system won't start on Ubuntu (relationship problems...)

2011-03-13 Thread Fajar A. Nugraha
On Sun, Mar 13, 2011 at 11:46 PM, Jérôme Poulin jeromepou...@gmail.com wrote: As a sidenote USB converters don't have low level access to the disk so it also makes smartctl and stuff not working at all. That depends on the disk and controller. I had an old USB controller with PATA disk,

Re: cloning single-device btrfs file system onto multi-device one

2011-03-22 Thread Fajar A. Nugraha
On Mon, Mar 21, 2011 at 11:24 PM, Stephane Chazelas stephane.chaze...@gmail.com wrote: AFAICT, compression is enabled at mount time and would only apply to newly created files. Is there a way to compress files already in a btrfs filesystem? You need to select the files manually (not possible

Re: read-only subvolumes?

2011-03-23 Thread Fajar A. Nugraha
On Wed, Mar 23, 2011 at 3:21 PM, Andreas Philipp philipp.andr...@gmail.com wrote: I think it is since I upgraded to kernel version 2.6.38 (I do not create subvolumes on a regular basis.). thor btrfs # btrfs subvolume create 123456789 Create subvolume './123456789' thor btrfs # touch

Re: [PATCH 0/2] btrfs: allow cross-subvolume BTRFS_IOC_CLONE

2011-04-01 Thread Fajar A. Nugraha
On Fri, Apr 1, 2011 at 8:40 PM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from Christoph Hellwig's message of 2011-04-01 09:34:05 -0400: I don't think it's a good idea to introduce any user visible operations over subvolume boundaries.  Currently we don't have any operations over

Re: How Snapshots Inter-relate?

2011-04-22 Thread Fajar A. Nugraha
On Fri, Apr 22, 2011 at 10:03 PM, cac...@quantum-sci.com wrote: Would it be good practice to say, once a year, do a completely new fresh snapshot? There's no such thing as new fresh snapshot. You can create a new, empty subvolume. Or you can create snapshot of existing root/subvolume, which

Re: Rename a btrfs filesystem?

2011-04-29 Thread Fajar A. Nugraha
On Sat, Apr 30, 2011 at 9:24 AM, Evert Vorster evors...@gmail.com wrote: Hi there. Just a quick question: How do I rename an existing btrfs filesystem without destroying all the subvolumes on it? From mkfs.btrfs it says -L sets the initial filesystem label. With ext2, 3 and 4 the

Re: Cannot Deinstall a Debian Package

2011-05-03 Thread Fajar A. Nugraha
On Wed, May 4, 2011 at 2:27 AM, cac...@quantum-sci.com wrote: Having a failure that may be because grub2 doesn't BTRFS.  /boot is ext3 and / is BTRFS. Does Debian (or whatever distro you use) support BTRFS /? If yes, you should ask them. If no, then you should've already known that there's a

Re: btrfs csum failed

2011-05-03 Thread Fajar A. Nugraha
On Wed, May 4, 2011 at 7:44 AM, Martin Schitter m...@mur.at wrote: Am 2011-05-04 02:28, schrieb Josef Bacik: Wait why are you running with btrfs in production? do you know a better alternative for continuous snapshots? :) zfs :D it works surprisingly well since more than a year. well the

Re: Cannot Deinstall a Debian Package

2011-05-03 Thread Fajar A. Nugraha
On Wed, May 4, 2011 at 5:20 AM, cac...@quantum-sci.com wrote: On Tuesday 3 May, 2011 14:26:52 Fajar A. Nugraha wrote: Does Debian (or whatever distro you use) support BTRFS /? If yes, you should ask them. What do you mean 'does Debian support BTRFS'?  The kernel supports it. Just because

Compression: per filesystem, or per subvolume?

2011-05-08 Thread Fajar A. Nugraha
Currently using Ubuntu Natty, kernel 2.6.38-9-generic, I have these mount points using btrs subvolumes $ mount -t btrfs /dev/sda2 on / type btrfs (rw,noatime,subvolid=256,compress-force=zlib) /dev/sda2 on /home type btrfs (rw,noatime,subvolid=258,compress=lzo) Yet dmesg seems to show only zlib

Re: Compression: per filesystem, or per subvolume?

2011-05-10 Thread Fajar A. Nugraha
, so right now I just use separate /boot/grub in ext4 to make it work correctly. -- Fajar On May 8, 2011 7:35 AM, Fajar A. Nugraha l...@fajar.net wrote: Currently using Ubuntu Natty, kernel 2.6.38-9-generic, I have these mount points using btrs subvolumes $ mount -t btrfs /dev/sda2

Re: BTRFS, encrypted LVM and disk write cache ?

2011-05-13 Thread Fajar A. Nugraha
On Fri, May 13, 2011 at 4:36 AM, Swâmi Petaramesh sw...@petaramesh.org wrote: However shifting from ext3 to BTRFS has been enough to turn my perfectly stable system into a perfectly unstable and crash-prone system :-/ Well, first of all, btrfs is still under heavy development. Add to that the

Re: BTRFS, encrypted LVM and disk write cache ?

2011-05-13 Thread Fajar A. Nugraha
On Fri, May 13, 2011 at 3:59 PM, Swâmi Petaramesh sw...@petaramesh.org wrote: Adding to the fact that it comes included with the stock and distro kernels... That gives a bit contradictory signals... Should I stay or should I go ? Looks a bit like legal babble boiling down to « Yes, it is

Re: BTRFS, encrypted LVM and disk write cache ?

2011-05-13 Thread Fajar A. Nugraha
On Fri, May 13, 2011 at 4:33 PM, Swâmi Petaramesh sw...@petaramesh.org wrote: # uname -a Linux tethys 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux # mount | grep btrfs /dev/mapper/VG1-TETHYS on / type btrfs (rw,relatime,subvol=UBUNTU,compress=zlib)

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

2011-05-27 Thread Fajar A. Nugraha
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 compression scheme. Please be aware that grub2 currently can't load files

btrfs error after using kernel 3.0-rc1

2011-06-01 Thread Fajar A. Nugraha
While using btrfs as root on kernel 3.0-rc1, there was some errors (I wasn't able to capture the error) that forced me to do hard reset. Now during startup system drops to busybox shell because it's unable to mount root partition. Is there a way to recover the data, as at least grub2 was still

Re: btrfs error after using kernel 3.0-rc1

2011-06-01 Thread Fajar A. Nugraha
On Wed, Jun 1, 2011 at 6:06 AM, Fajar A. Nugraha l...@fajar.net wrote: While using btrfs as root on kernel 3.0-rc1, there was some errors (I wasn't able to capture the error) that forced me to do hard reset. Now during startup system drops to busybox shell because it's unable to mount root

btrfs-progs-unstable tmp branch build error

2011-06-01 Thread Fajar A. Nugraha
When building from tmp branch I got this error: mkfs.c: In function ‘main’: mkfs.c:730:6: error: ‘ret’ may be used uninitialized in this function mkfs.c:841:43: error: ‘parent_dir_entry’ may be used uninitialized in this function make: *** [mkfs.o] Error 1 git blame shows the last commit for

[PATCH] make btrfs filesystem label command actually work

2011-06-01 Thread Fajar A. Nugraha
new #=== Not sure if you need if you need a signoff for something as trivial as this, but here it is just in case. Signed-off-by: Fajar A. Nugraha l...@fajar.net --- btrfs.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff

Re: Announcing btrfs-gui

2011-06-02 Thread Fajar A. Nugraha
On Thu, Jun 2, 2011 at 6:20 AM, Hugo Mills h...@carfax.org.uk wrote:   Over the last few weeks, I've been playing with a foolish idea, mostly triggered by a cluster of people being confused by btrfs's free space reporting (df vs btrfs fi df vs btrfs fi show). I also wanted an excuse, and some

Re: kernel BUG at fs/btrfs/tree-log.c:820!

2011-06-05 Thread Fajar A. Nugraha
On Mon, Jun 6, 2011 at 1:34 AM, Thierry Noret tno...@yahoo.fr wrote: Hello, Since my computer has switch off with hard reset, I can't mount my home directory. / is btrfs too and there is no problem Kernel-2.6.38-R6 I've try with 2.6.39 and same problem Thanks T.Noret [ cut

Re: Can anyone boot a system using btrfs root with linux 3.14 or newer?

2014-04-24 Thread Fajar A. Nugraha
On Thu, Apr 24, 2014 at 10:23 AM, Chris Murphy li...@colorremedies.com wrote: It sounds like either a grub.cfg misconfiguration, or a failure to correctly build the initrd/initramfs. So I'd post the grub.cfg kernel command line for the boot entry that works and the entry that fails, for

Re: Which companies contribute to Btrfs?

2014-04-24 Thread Fajar A. Nugraha
On Thu, Apr 24, 2014 at 6:39 PM, David Sterba dste...@suse.cz wrote: On Wed, Apr 23, 2014 at 06:18:34PM -0700, Marc MERLIN wrote: I writing slides about btrfs for an upcoming talk (at linuxcon) and I was trying to gather a list of companies that contribute code to btrfs.

Re: Convert btrfs software code to ASIC

2014-05-19 Thread Fajar A. Nugraha
On Mon, May 19, 2014 at 3:40 PM, Le Nguyen Tran lntran...@gmail.com wrote: Hi, I am Nguyen. I am not a software development engineer but an IC (chip) development engineer. I have a plan to develop an IC controller for Network Attached Storage (NAS). The main idea is converting software code

Re: Convert btrfs software code to ASIC

2014-05-19 Thread Fajar A. Nugraha
On Mon, May 19, 2014 at 8:09 PM, Le Nguyen Tran lntran...@gmail.com wrote: I now need to understand the operation of btrfs source code to determine. I hope that one of you can help me Have you read the wiki link? -- Fajar -- To unsubscribe from this list: send the line unsubscribe

Re: Very slow filesystem

2014-06-04 Thread Fajar A. Nugraha
On Thu, Jun 5, 2014 at 5:15 AM, Igor M igor...@gmail.com wrote: Hello, Why btrfs becames EXTREMELY slow after some time (months) of usage ? # btrfs fi show Label: none uuid: b367812a-b91a-4fb2-a839-a3a153312eba Total devices 1 FS bytes used 2.36TiB devid1 size 2.73TiB

Re: Very slow filesystem

2014-06-04 Thread Fajar A. Nugraha
(resending to the list as plain text, the original reply was rejected due to HTML format) On Thu, Jun 5, 2014 at 10:05 AM, Duncan 1i5t5.dun...@cox.net wrote: Igor M posted on Thu, 05 Jun 2014 00:15:31 +0200 as excerpted: Why btrfs becames EXTREMELY slow after some time (months) of usage ?

Re: latest btrfs-progs and asciidoc dependency

2014-06-05 Thread Fajar A. Nugraha
On Thu, Jun 5, 2014 at 9:41 PM, Marc MERLIN m...@merlins.org wrote: On Thu, Jun 05, 2014 at 12:52:04PM +0100, Tomasz Chmielewski wrote: And it looks the dependency is ~1 GB of new packages? O_o That seems painful, but at the same time, the alternative, nroff/troff sucks. Part ofyour problem

Re: Filesystem corrupted, is there any hope?

2011-06-24 Thread Fajar A. Nugraha
On Fri, Jun 24, 2011 at 5:16 PM, Michael Stephenson mickstephen...@googlemail.com wrote: Hello, I formatted my home partition with btrfs, not realising that the fsck tool can't actually fix errors, as I have just discovered on your wiki. Had I knew this I would have not used it so early, this

Re: will mkfs.btrfs do an initial pre-discard for SSDs like mke2fs does for Ext4?

2011-07-03 Thread Fajar A. Nugraha
On Sun, Jul 3, 2011 at 6:00 PM, Werner Fischer devli...@wefi.net wrote: Hi all, are there any plans that future versions of mkfs.btrfs will do an initial pre-discard for SSDs? (AFAIK mkfs.btrfs does not do this currently) It should already have it. That is, if you look in the right place

Re: TRIM support

2011-07-10 Thread Fajar A. Nugraha
On Mon, Jul 11, 2011 at 3:58 AM, Leonidas Spyropoulos artafi...@gmail.com wrote: On Sun, Jul 10, 2011 at 9:33 AM, Chris Samuel ch...@csamuel.org wrote: On Sun, 3 Jul 2011 05:45:17 AM Calvin Walton wrote: This LWN article from 2009 explains why it can be problematic (especially on SATA drives

Re: TRIM support

2011-07-11 Thread Fajar A. Nugraha
. -- Fajar On Sun, Jul 10, 2011 at 10:59 PM, Fajar A. Nugraha l...@fajar.net wrote: On Mon, Jul 11, 2011 at 3:58 AM, Leonidas Spyropoulos artafi...@gmail.com wrote: On Sun, Jul 10, 2011 at 9:33 AM, Chris Samuel ch...@csamuel.org wrote: On Sun, 3 Jul 2011 05:45:17 AM Calvin Walton wrote: This LWN

Re: corruption. notreelog has no effect? anything else to try?

2011-07-15 Thread Fajar A. Nugraha
On Sat, Jul 16, 2011 at 3:51 AM, mck m...@wever.org wrote: My laptop btrfs partition has become corrupt after a power+battery outage. # btrfs-show Label: none  uuid: e7b37e5d-c704-4ca8-ae7e-f22dd063e165        Total devices 1 FS bytes used 116.33GB        devid    1 size 226.66GB used

Re: corruption. notreelog has no effect? anything else to try?

2011-07-16 Thread Fajar A. Nugraha
On Sun, Jul 17, 2011 at 7:28 AM, Mck m...@wever.org wrote: Knowing very little about zero-log and select-super should i continue using my laptop like normal now? Or is this filesystem still considered corrupt and i should backup and format it all from scratch? This is my guess: - since you

Re: Emergency - Can't Boot

2011-07-30 Thread Fajar A. Nugraha
On Sun, Jul 31, 2011 at 4:12 AM, cac...@quantum-sci.com wrote: On Saturday 30 July, 2011 13:46:21 Hugo Mills wrote: On Sat, Jul 30, 2011 at 12:51:51PM -0700, . wrote: I just did my monthly dist-upgrade and rebooted, only to have it stall at Control D.  It tried to automatically run

Re: corrupted btrfs volume: parent transid verify failed

2011-08-14 Thread Fajar A. Nugraha
On Mon, Aug 15, 2011 at 4:13 AM, Yalonda Gishtaka yalonda.gisht...@gmail.com wrote: Halp!  I was recently forced to power cycle my desktop PC, and upon restart, the btrfs /home volume would no longer mount, citing the error BUG: scheduling while atomic: mount /5584/0x2.  I retrieved

Re: Rename BTRfs to MuchSlowerFS ?

2011-09-06 Thread Fajar A. Nugraha
On Tue, Sep 6, 2011 at 10:30 PM, Swâmi Petaramesh sw...@petaramesh.org wrote: On Monday 5 September 2011 22:25:23 Sergei Trofimovich wrote: I've seen similar problem on Ubuntu-11 + Aspire One (8GB of slow SSD). More specifically half of ubuntu install went very fast and when disk was ~50% free

Re: Rename BTRfs to MuchSlowerFS ?

2011-09-15 Thread Fajar A. Nugraha
On Fri, Sep 16, 2011 at 2:37 AM, Felix Blanke felixbla...@gmail.com wrote: I'm using btrfs since one year now and it's quite fast. I don't feel any differences to other filesystems. Never tried a benchmark but for my daily work it's nice. Your workload must be light :) I also never had any

Re: Rename BTRfs to MuchSlowerFS ?

2011-09-16 Thread Fajar A. Nugraha
On Fri, Sep 16, 2011 at 1:21 PM, Maciej Marcin Piechotka uzytkown...@gmail.com wrote: On Fri, 2011-09-16 at 05:16 +0700, Fajar A. Nugraha wrote: On Fri, Sep 16, 2011 at 2:37 AM, Felix Blanke felixbla...@gmail.com wrote: I'm using btrfs since one year now and it's quite fast. I don't feel any

Re: Honest timeline for btrfsck

2011-10-08 Thread Fajar A. Nugraha
On Sun, Oct 9, 2011 at 4:13 AM, Asdo a...@shiftmail.org wrote: On 10/07/11 22:19, Diego Calleja wrote: On Viernes, 7 de Octubre de 2011 21:10:33 Asdo escribió: failures, but you can always mount by rolling back to a previous uberblock, showing an earlier view of the filesystem, which would

btrfs root + mount subvolid=0 problem

2011-10-10 Thread Fajar A. Nugraha
Hi I have a system with Ubuntu natty i386 which uses btrfs root. It has worked mostly well, but I have a problem when I want to create new snapshot. Current layout looks something like this $ mount | grep btrfs /dev/sda6 on / type btrfs (rw,noatime,subvolid=258,compress-force=lzo) /dev/sda6 on

Re: btrfs root + mount subvolid=0 problem

2011-10-10 Thread Fajar A. Nugraha
On Mon, Oct 10, 2011 at 5:20 PM, David Sterba d...@jikos.cz wrote: On Mon, Oct 10, 2011 at 02:30:30PM +0700, Fajar A. Nugraha wrote: This happens both with natty's 2.6.38-11-generic and kernel 3.0.4 (backported from oneiric). Does anyone know if this is a know problem, or how to get further

Re: btrfs root + mount subvolid=0 problem

2011-10-10 Thread Fajar A. Nugraha
On Mon, Oct 10, 2011 at 7:09 PM, Fajar A. Nugraha l...@fajar.net wrote: On Mon, Oct 10, 2011 at 5:20 PM, David Sterba d...@jikos.cz wrote: On Mon, Oct 10, 2011 at 02:30:30PM +0700, Fajar A. Nugraha wrote: This happens both with natty's 2.6.38-11-generic and kernel 3.0.4 (backported from

Re: btrfs-progs: new integration branch out

2011-10-12 Thread Fajar A. Nugraha
On Wed, Oct 12, 2011 at 7:34 PM, Hugo Mills h...@carfax.org.uk wrote:   All -   After a long wait (sorry about that, things have been busy for me lately), I've managed to pull together a new integration branch for btrfs-progs. This can be pulled from:

Re: btrfs-progs: new integration branch out

2011-10-12 Thread Fajar A. Nugraha
On Wed, Oct 12, 2011 at 7:34 PM, Hugo Mills h...@carfax.org.uk wrote:   Fixes or updated patches for any problems you may find are welcomed, of course. I noticed that btrfs subvolume snapshot is now broken. It keeps on saying Invalid arguments for subvolume snapshot. Further checking shows

Re: btrfs-progs: new integration branch out

2011-10-12 Thread Fajar A. Nugraha
On Wed, Oct 12, 2011 at 11:50 PM, Mitch Harder mitch.har...@sabayonlinux.org wrote: On Wed, Oct 12, 2011 at 10:22 AM, Fajar A. Nugraha l...@fajar.net wrote: I noticed that btrfs subvolume snapshot is now broken. It keeps on saying Invalid arguments for subvolume snapshot. Further checking

Re: Could I create volumes on one device ?

2011-10-12 Thread Fajar A. Nugraha
On Wed, Oct 12, 2011 at 11:51 PM, bbsposters bbspost...@yahoo.com.tw wrote: Hi list, I want to create volumes (not subvolumes) on one device. Could it work? If it works, how can I do by btrfs tools ? If it can't, is there any way to create subvolumes which have their independent space? For

Re: Snapshot rollback

2011-10-23 Thread Fajar A. Nugraha
On Mon, Oct 24, 2011 at 12:45 PM, dima dole...@parallels.com wrote: Phillip Susi psusi at cfl.rr.com writes: I created a snapshot of my root subvol, then used btrfs-subvolume set-default to make the snapshot the default subvol and rebooted.  This seems to have correctly gotten the system to

Re: Snapshot rollback

2011-10-24 Thread Fajar A. Nugraha
On Mon, Oct 24, 2011 at 3:24 PM, dima dole...@parallels.com wrote: Fajar A. Nugraha list at fajar.net writes: A problem with that, though, if you decide to put /boot on btrfs as well. Grub uses the default subvolume to determine paths (for kernel, initrd, etc). A workaround is to manually

Re: Snapshot rollback

2011-10-25 Thread Fajar A. Nugraha
On Tue, Oct 25, 2011 at 9:00 AM, dima dole...@parallels.com wrote: Fajar A. Nugraha list at fajar.net writes: AFAIK you have three possible ways to use /boot on btrfs: (1) put /boot on subvolid=0, don't change the default subvolume. That works, but all your snapshot/subvols will be visible

Re: Snapshot rollback

2011-10-25 Thread Fajar A. Nugraha
On Tue, Oct 25, 2011 at 3:54 PM, dima dole...@parallels.com wrote: Hi Fajar, I think I am doing just this, but my subvolumes are not visible under /boot. I have all my subvolumes set up like this: /path/to/subvolid_0/boot  a simple directory bind-mounted to / /path/to/subvolid_0/__active  my

Re: Unable to mount (or, why not to work late at night).

2011-10-27 Thread Fajar A. Nugraha
On Thu, Oct 27, 2011 at 10:22 PM, Ken D'Ambrosio k...@jots.org wrote: So, I was trying to downgrade my Ubuntu last night, and, before doing anything risky like that, I backed up my disk via dd to an image on an external disk. some of us make use of snapshot/clone, whether it's using btrfs or

Re: Unable to mount (or, why not to work late at night).

2011-10-27 Thread Fajar A. Nugraha
On Fri, Oct 28, 2011 at 7:32 AM, Ken D'Ambrosio k...@jots.org wrote: some of us make use of snapshot/clone, whether it's using btrfs or zfs :) No, this is just flat my fault: it doesn't matter what backup method you use if you do it wrong.  (I actually have three snapshots of each of my two

Re: How to remount btrfs without compression?

2011-11-07 Thread Fajar A. Nugraha
On Tue, Nov 8, 2011 at 8:06 AM, Eric Griffith egriffit...@gmail.com wrote: Edit your fstab, remove the compress flag, reboot. Tell btrfs to rebalance the system, reboot again. And I -THINK- that'll decompress all the files I think the original question was how to force uncompressed mode,

Re: How to remount btrfs without compression?

2011-11-09 Thread Fajar A. Nugraha
On Wed, Nov 9, 2011 at 2:48 PM, Lubos Kolouch lubos.kolo...@gmail.com wrote: Sorry for possibly OT question - when I have historical btrfs system mounted with zlib compression, can I remount it with lzo ? yes What will happen? Will the COW be broken and the files taking duplicate space? Or

Re: fsck with err is 1

2011-11-22 Thread Fajar A. Nugraha
On Wed, Nov 23, 2011 at 12:33 PM, Blair Zajac bl...@orcaware.com wrote: Hello, I'm trying btrfs in a VirtualBox VM running Ubuntu 11.10 with kernel 3.0.0.   Running fsck I get a message with err is 1. Does this mean there's an error?  Is err either always 0 or 1, or does err increment

Re: btrfs and load (sys)

2011-11-23 Thread Fajar A. Nugraha
On Thu, Nov 24, 2011 at 8:00 AM, Chris Samuel ch...@csamuel.org wrote: Another possibility I *think* is that you could try 3.1 with Chris Mason's for-linus git branch pulled into it.  Hopefully someone who knows the procedure better than I can correct me on this! :-) My method is: - use 3.1.1

Re: btrfs/git question.

2011-11-28 Thread Fajar A. Nugraha
On Tue, Nov 29, 2011 at 8:58 AM, Phillip Susi ps...@cfl.rr.com wrote: On 11/28/2011 12:53 PM, Ken D'Ambrosio wrote: Seems I've picked up a wireless regression, and randomly drop my WiFi connection with more recent kernels.  While I'd love to try to track down the issue, the sporadic nature

Re: btrfs/git question.

2011-11-29 Thread Fajar A. Nugraha
On Tue, Nov 29, 2011 at 10:22 PM, Chris Mason chris.ma...@oracle.com wrote: On Tue, Nov 29, 2011 at 09:33:37AM +0700, Fajar A. Nugraha wrote: On Tue, Nov 29, 2011 at 8:58 AM, Phillip Susi ps...@cfl.rr.com wrote: On 11/28/2011 12:53 PM, Ken D'Ambrosio wrote: Seems I've picked up a wireless

Re: btrfs errors

2011-12-02 Thread Fajar A. Nugraha
On Fri, Dec 2, 2011 at 7:34 PM, Mike Thomas bt...@thomii.com wrote: Hi, I've been using btrfs for a while now, I've been utilizing snapshotting nightly/weekly/monthly.  During the weekly I also do a backup of the filesystem to an ext4 filesystem.  My storage is a linux md raid 5 volume. I've

Re: Filesystem acting up during balance

2011-12-08 Thread Fajar A. Nugraha
2011/12/9 Ricardo Bánffy rban...@gmail.com: Dec  9 01:06:21 adams kernel: [  207.912535] usb 1-2.1: reset high speed USB device number 7 using ehci_hcd That's usually a REALLY bad sign. If you can remove the drive from the USB enclosure, I suggest you plug it to onboard SATA port. That way at

Re: btrfs encryption problems

2011-12-12 Thread Fajar A. Nugraha
On Thu, Dec 1, 2011 at 5:15 AM, 810d4rk 810d...@gmail.com wrote: I plugged it directly by sata and this is what I get from the 3.1 kernel: [  581.921417]  sdb: sdb1 [  581.921642] sd 2:0:0:0: [sdb] Attached SCSI disk [  660.040263] EXT4-fs (dm-4): VFS: Can't find ext4 filesystem ... and then

Re: What is best practice when partitioning a device that holds one or more btr-filesystems

2011-12-14 Thread Fajar A. Nugraha
On Thu, Dec 15, 2011 at 4:42 AM, Wilfred van Velzen wvvel...@gmail.com wrote: On Wed, Dec 14, 2011 at 9:56 PM, Gareth Pye gar...@cerberos.id.au wrote: On Thu, Dec 15, 2011 at 5:51 AM, Wilfred van Velzen wvvel...@gmail.com wrote: (I'm not interested in what early adopter users do when they are

Re: Extreme slowdown

2011-12-15 Thread Fajar A. Nugraha
On Fri, Dec 16, 2011 at 1:49 AM, Tobias tra...@robotech.de wrote: Hi all! My BTRFS-FS ist getting really slow. Reading is ok, writing is slow and deleting is horrible slow. There are many files and many links on the FS. # btrfs filesystem df /srv/storage Data: total=3.09TB, used=3.07TB

Re: BTRFS fsck apparent errors

2012-07-04 Thread Fajar A. Nugraha
On Wed, Jul 4, 2012 at 8:42 PM, David Sterba d...@jikos.cz wrote: On Wed, Jul 04, 2012 at 07:40:05AM +0700, Fajar A. Nugraha wrote: Are there any known btrfs regression in 3.4? I'm using 3.4.0-3-generic from a ppa, but a normal mount - umount cycle seems MUCH longer compared to how

Re: file system corruption removal / documentation quandry

2012-07-11 Thread Fajar A. Nugraha
On Thu, Jul 12, 2012 at 12:13 PM, eric gisse jowr...@gmail.com wrote: Basically, phoronix showed there is a --repair option. After enabling snapshotting and playing around with the various discussed options, I discovered that --repair and no special mount options was sufficient to get the

Re: brtfs on top of dmcrypt with SSD - Trim or no Trim

2012-07-18 Thread Fajar A. Nugraha
On Thu, Jul 19, 2012 at 1:13 AM, Marc MERLIN m...@merlins.org wrote: TL;DR: I'm going to change the FAQ to say people should use TRIM with dmcrypt because not doing so definitely causes some lesser SSDs to suck, or possibly even fail and lose our data. Longer version: Ok, so several months

Re: Very slow samba file transfer speed... any ideas ?

2012-07-19 Thread Fajar A. Nugraha
On Thu, Jul 19, 2012 at 7:39 PM, Shavi N shav...@gmail.com wrote: So btrfs gives a massive difference locally, but that still doesn't explain the slow transfer speeds. Is there a way to test this? I'd try with real data, not /dev/zero. e.g: dd_rescue -b 1M -m 1.4G /dev/sda testfile.img ... or

Re: Very slow samba file transfer speed... any ideas ?

2012-07-20 Thread Fajar A. Nugraha
On Fri, Jul 20, 2012 at 5:23 PM, Shavi N shav...@gmail.com wrote: Hence I'm asking.. I know that I get fast copy/write speeds on the btrfs volume from real life situations, How did you know that? So far none of your posted test result have shown that btrfs vol in your system is FAST. -- Fajar

Re: Upgrading from 2.6.38, how?

2012-07-24 Thread Fajar A. Nugraha
On Wed, Jul 25, 2012 at 11:39 AM, Gareth Pye gar...@cerberos.id.au wrote: My proposed upgrade method is: Boot from a live CD with the latest kernel I can find so I can do a few tests: A - run the fsck in read only mode to confirm things look good B - mount read only, confirm that I can read

Re: How can btrfs take 23sec to stat 23K files from an SSD?

2012-08-01 Thread Fajar A. Nugraha
On Wed, Aug 1, 2012 at 1:01 PM, Marc MERLIN m...@merlins.org wrote: So, clearly, there is something wrong with the samsung 830 SSD with linux It it were a random crappy SSD from a random vendor, I'd blame the SSD, but I have a hard time believing that samsung is selling SSDs that are slower

Re: raw partition or LV for btrfs?

2012-08-12 Thread Fajar A. Nugraha
On Sun, Aug 12, 2012 at 11:46 PM, Daniel Pocock dan...@pocock.com.au wrote: I notice this question on the wiki/faq: https://btrfs.wiki.kernel.org/index.php/UseCases#What_is_best_practice_when_partitioning_a_device_that_holds_one_or_more_btr-filesystems and as it hasn't been answered, can

Re: I want to try something on the BTR file system,...

2012-08-12 Thread Fajar A. Nugraha
On Mon, Aug 13, 2012 at 8:22 AM, Ben Leverett ben...@live.com wrote: could you please send me a copy of the btr driver/kernel? I wonder if using live.com email has something to do with how you ask that question :P Anyway, depending on what you want to use it for, you might find it easier to

Re: raw partition or LV for btrfs?

2012-08-12 Thread Fajar A. Nugraha
On Mon, Aug 13, 2012 at 11:19 AM, Kyle Gates kylega...@hotmail.com wrote: Also, I think the current grub2 has lzo support. You're right grub2 (1.99-18) unstable; urgency=low [ Colin Watson ] ... * Backport from upstream: - Add support for LZO compression in btrfs (LP: #727535). so

Re: raw partition or LV for btrfs?

2012-08-14 Thread Fajar A. Nugraha
On Tue, Aug 14, 2012 at 8:28 PM, Daniel Pocock dan...@pocock.com.au wrote: Can you just elaborate on the qgroups feature? - Does this just mean I can make the subvolume sizes rigid, like LV sizes? Pretty much. - Or is it per-user restrictions or some other more elaborate solution? No If I

Re: raw partition or LV for btrfs?

2012-08-14 Thread Fajar A. Nugraha
On Tue, Aug 14, 2012 at 9:09 PM, cwillu cwi...@cwillu.com wrote: If I understand correctly, if I don't use LVM, then such move and resize operations can't be done for an online filesystem and it has more risk. You can resize, add, and remove devices from btrfs online without the need for LVM.

oops with btrfs on zvol

2012-08-31 Thread Fajar A. Nugraha
Hi, I'm experimenting with btrfs on top of zvol block device (using zfsonlinux), and got oops on a simple mount test. While I'm sure that zfsonlinux is somehow also at fault here (since the same test with zram works fine), the oops only shows things btrfs-related without any usable mention of

Re: enquiry about defrag

2012-09-09 Thread Fajar A. Nugraha
On Sun, Sep 9, 2012 at 2:49 PM, ching lschin...@gmail.com wrote: On 09/09/2012 08:30 AM, Jan Steffens wrote: On Sun, Sep 9, 2012 at 2:03 AM, ching lschin...@gmail.com wrote: 2. Is there any command for the fragmentation status of a file/dir ? e.g. fragment size, number of fragments. Use the

Re: Workaround for hardlink count problem?

2012-09-10 Thread Fajar A. Nugraha
On Mon, Sep 10, 2012 at 4:12 PM, Martin Steigerwald mar...@lichtvoll.de wrote: Am Samstag, 8. September 2012 schrieb Marc MERLIN: I was migrating a backup disk to a new btrfs disk, and the backup had a lot of hardlinks to collapse identical files to cut down on inode count and disk space.

Re: specify UUID for btrfs

2012-09-13 Thread Fajar A. Nugraha
On Thu, Sep 13, 2012 at 1:07 PM, ching lu lschin...@gmail.com wrote: Is it possible to specify UUID for btrfs when creating the filesystem? Not that I know of or changing it when it is offline? This one is a definite no. i have several script/setting file which have hardcoded UUID and i do

Re: Experiences: Why BTRFS had to yield for ZFS

2012-09-19 Thread Fajar A. Nugraha
On Wed, Sep 19, 2012 at 2:28 PM, Casper Bang casper.b...@gmail.com wrote: Anand Jain Anand.Jain at oracle.com writes: archive-log-apply script - if you could, can you share the script itself ? or provide more details about the script. (It will help to understand the work-load in

Re: Tunning - cache write (database)

2012-10-01 Thread Fajar A. Nugraha
On Mon, Oct 1, 2012 at 8:27 PM, Cesar Inacio Martins cesar_inacio_mart...@yahoo.com.br wrote: My problem: * Using btrfs + compression , flush of 60 MB/s take 4 minutes (on this 4 minutes they keep constatly I/O of +- 4MB/s no disks) (flush from Informix database) * OpenSuse 12.1

Re: Tunning - cache write (database)

2012-10-01 Thread Fajar A. Nugraha
On Tue, Oct 2, 2012 at 3:16 AM, Clemens Eisserer linuxhi...@gmail.com wrote: I suggest you start by reading http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg18827.html After that, PROBABLY start your database by preloading libeatmydata to disable fsync completely. Which will cure

Re: btrfs causing reboots and kernel oops on SL 6 (RHEL 6)

2012-10-04 Thread Fajar A. Nugraha
On Sat, Jun 4, 2011 at 11:33 AM, Joel Pearson japear...@agiledigital.com.au wrote: Hi, I'm using SL 6 (RHEL 6) and I've been playing around with running PostgreSQL on btrfs. Snapshotting works ok, but the computer keeps rebooting without warning (can be 5 mins or 1.5 hours), finally I

Re: Naming of subvolumes

2012-10-26 Thread Fajar A. Nugraha
On Sat, Oct 27, 2012 at 8:58 AM, cwillu cwi...@cwillu.com wrote: I haven't tried btrfs send/receive for this purpose, so I can't compare. But btrfs subvolume set-default is faster than the release of my finger from the return key. And it's easy enough the user could do it themselves if they

Re: Naming of (bootable) subvolumes

2012-10-28 Thread Fajar A. Nugraha
On Sun, Oct 28, 2012 at 12:22 AM, Chris Murphy li...@colorremedies.com wrote: On Oct 26, 2012, at 9:03 PM, Fajar A. Nugraha l...@fajar.net wrote: So back to the original question, I'd suggest NOT to use either send/receive or set-default. Instead, setup multiple boot environment (e.g. old

Re: [Request for review] [RFC] Add label support for snapshots and subvols

2012-11-01 Thread Fajar A. Nugraha
On Fri, Nov 2, 2012 at 5:16 AM, cwillu cwi...@cwillu.com wrote: btrfs fi label -t /btrfs/snap1-sv1 Prod-DB-sand-box-testing Why is this better than: # btrfs su snap /btrfs/Prod-DB /btrfs/Prod-DB-sand-box-testing # mv /btrfs/Prod-DB-sand-box-testing /btrfs/Prod-DB-production-test # ls

Re: [Request for review] [RFC] Add label support for snapshots and subvols

2012-11-01 Thread Fajar A. Nugraha
On Fri, Nov 2, 2012 at 5:32 AM, Hugo Mills h...@carfax.org.uk wrote: On Fri, Nov 02, 2012 at 05:28:01AM +0700, Fajar A. Nugraha wrote: On Fri, Nov 2, 2012 at 5:16 AM, cwillu cwi...@cwillu.com wrote: btrfs fi label -t /btrfs/snap1-sv1 Prod-DB-sand-box-testing Why is this better than

Re: Production use with vanilla 3.6.6

2012-11-05 Thread Fajar A. Nugraha
On Mon, Nov 5, 2012 at 7:07 PM, Stefan Priebe - Profihost AG s.pri...@profihost.ag wrote: Hello list, is btrfs ready for production use in 3.6.6? Or should i backport fixes from 3.7-rc? Is it planned to have a stable kernel which will get all btrfs fixes backported? I would say no to both,

Re: fstrim on BTRFS

2011-12-28 Thread Fajar A. Nugraha
On Thu, Dec 29, 2011 at 11:37 AM, Roman Mamedov r...@romanrm.ru wrote: On Thu, 29 Dec 2011 11:21:14 +0700 Fajar A. Nugraha l...@fajar.net wrote: I'm trying fstrim and my disk is now pegged at write IOPS. Just wondering if maybe a btrfs fi balance would be more useful, since: Modern

  1   2   >