Re: recommendations and contraindications of using btrfs for Oracle Database Server

2018-01-11 Thread Fajar A. Nugraha
On Thu, Jan 11, 2018 at 6:23 PM, Nikolay Borisov wrote: > > > On 11.01.2018 12:51, Ext-Strii-Houttemane Philippe wrote: >> Hello, >> >>We are using btrfs filesystem on local disks (RAID 1) as underlying >> filesystem to host our Oracle 12c datafiles. >> This allow us to

Re: RedHat 7.4 Release Notes: "Btrfs has been deprecated" - wut?

2017-08-02 Thread Fajar A. Nugraha
On Thu, Aug 3, 2017 at 1:44 AM, Chris Mason wrote: > > On 08/02/2017 04:38 AM, Brendan Hide wrote: >> >> The title seems alarmist to me - and I suspect it is going to be >> misconstrued. :-/ > > > Supporting any filesystem is a huge amount of work. I don't have a problem > with

Re: BTRFS, remarkable problem: filesystem turns to read-only caused by firefox download

2016-06-15 Thread Fajar A. Nugraha
On Wed, Jun 15, 2016 at 1:29 PM, Paul Verreth wrote: > Dear all. > > When I download a video using Firefox DownloadHelper addon, the > filesystem suddenly turns read only. Not a coincedence, I tried it > several times, and it happened every time again > > Info: > Linux wolfgang

Re: btrfs subvolume clone or fork (btrfs-progs feature request)

2015-07-09 Thread Fajar A. Nugraha
On Thu, Jul 9, 2015 at 8:20 AM, james harvey jamespharve...@gmail.com wrote: Request for new btrfs subvolume subcommand: clone or fork [-i qgroupid] source [dest]name Create a subvolume name in dest, which is a clone or fork of source. If dest is not given, subvolume name will be

Re: CoW with webserver databases: innodb_file_per_table and dedicated tables for blobs?

2015-06-16 Thread Fajar A. Nugraha
On Tue, Jun 16, 2015 at 2:06 PM, Ingvar Bogdahn ingvar.bogd...@googlemail.com wrote: Hi again, Benchmarking over time seems a good idea, but what if I see that a particular database does indeed degrade in performance? How can I then selectively improve performance for that file, since

Re: should I use btrfs on Centos 7 for a new production server?

2014-12-30 Thread Fajar A. Nugraha
On Wed, Dec 31, 2014 at 1:04 PM, Eric Sandeen sand...@redhat.com wrote: On 12/30/14 10:06 PM, Wang Shilong wrote: I used CentOS7 btrfs myself, just doing some tests..it crashed easily. I don’t know how much efforts that Redhat do on btrfs for 7 series. Maybe use SUSE enterprise for btrfs will

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: 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: 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: 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: btrfs and ECC RAM

2014-01-20 Thread Fajar A. Nugraha
On Mon, Jan 20, 2014 at 10:13 AM, Austin S Hemmelgarn ahferro...@gmail.com wrote: AFAIK, ZFS does background data scrubbing without user intervention No, it doesn't. BTRFS however works differently, it only scrubs data when you tell it to. If it encounters a checksum or read error on a

Re: drawbacks of non-ECC RAM

2014-01-17 Thread Fajar A. Nugraha
On Sat, Jan 18, 2014 at 1:33 AM, valleysmail-l...@yahoo.de valleysmail-l...@yahoo.de wrote: I'd like to know if there are drawbacks in using btrfs with non-ECC RAM instead of using ext4 with non-ECC RAM. Non-ECC RAM can cause problems no matter what fs you use. I know that some features

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: lvm volume like support

2013-02-26 Thread Fajar A. Nugraha
On Tue, Feb 26, 2013 at 9:30 PM, Martin Steigerwald mar...@lichtvoll.de wrote: Am Dienstag, 26. Februar 2013 schrieb Fajar A. Nugraha: On Tue, Feb 26, 2013 at 11:59 AM, Mike Fleetwood mike.fleetw...@googlemail.com wrote: On 25 February 2013 23:35, Suman C schakr...@gmail.com wrote: Hi

Re: lvm volume like support

2013-02-25 Thread Fajar A. Nugraha
On Tue, Feb 26, 2013 at 11:59 AM, Mike Fleetwood mike.fleetw...@googlemail.com wrote: On 25 February 2013 23:35, Suman C schakr...@gmail.com wrote: Hi, I think it would be great if there is a lvm volume or zfs zvol type support in btrfs. Btrfs already has capabilities to add and remove

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: [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: 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: 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: 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: 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: 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: 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: 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: 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

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: 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.

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: 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: 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: 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: 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: 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: 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: BTRFS fsck apparent errors

2012-07-03 Thread Fajar A. Nugraha
On Tue, Jul 3, 2012 at 10:22 PM, Hugo Mills h...@carfax.org.uk wrote: On Tue, Jul 03, 2012 at 05:10:13PM +0200, Swâmi Petaramesh wrote: After I had shifted, I tried to defragment and compress my FS using commands such as : find /mnt/STORAGEFS/STORAGE/ -exec btrfs fi defrag -clzo -v {} \;

Re: Kernel panic from btrfs subvolume delete

2012-06-29 Thread Fajar A. Nugraha
On Fri, Jun 29, 2012 at 5:11 PM, Richard Cooper rich...@richardcooper.net wrote: Hi All, I have two machines where I've been testing various btrfs based backup strategies. They are both Cent OS 6 with the standard kernel and btrfs-progs RPMs from the CentOS repos. -

Re: Kernel panic from btrfs subvolume delete

2012-06-29 Thread Fajar A. Nugraha
On Fri, Jun 29, 2012 at 9:23 PM, Richard Cooper rich...@richardcooper.net wrote: If so, how? https://blogs.oracle.com/linux/entry/oracle_unbreakable_enterprise_kernel_release http://elrepo.org/tiki/kernel-ml Perfect, thank you! I was looking for a mainline kernel yum repo but my google-fu

Re: System Policy for Filenames

2012-06-26 Thread Fajar A. Nugraha
On Wed, Jun 27, 2012 at 1:28 AM, Aaron Peterson myusualnickn...@gmail.com wrote: Billy, Thank you! I will look into FUSE. Ultimately, I want my / to be mounted with these rules,  I will need a boot loader to be able to handle it. Try looking at how ubuntu live cd works. Last time I check,

Re: Subvolumes and /proc/self/mountinfo

2012-06-20 Thread Fajar A. Nugraha
On Wed, Jun 20, 2012 at 10:22 AM, H. Peter Anvin h...@zytor.com wrote: a. Make a snapshot of the current root; b. Mount said snapshot; c. Install the new distro on the snapshot; d. Change the bootloader configuration *inside* the snapshot to point   to the snapshot as the root; e. Install

Re: Subvolumes and /proc/self/mountinfo

2012-06-19 Thread Fajar A. Nugraha
On Wed, Jun 20, 2012 at 6:35 AM, H. Peter Anvin h...@zytor.com wrote: On 06/19/2012 07:22 AM, Calvin Walton wrote: All subvolumes are accessible from the volume mounted when you use -o subvolid=0. (Note that 0 is not the real ID of the root volume, it's just a shortcut for mounting it.)

Re: Moving top level to a subvolume

2012-06-13 Thread Fajar A. Nugraha
On Wed, Jun 13, 2012 at 4:44 PM, C Anthony Risinger anth...@xtfx.me wrote: 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: ... because in a), data will *copied* the slow way What I don't understand is why you think data will

Re: Moving top level to a subvolume

2012-06-12 Thread Fajar A. Nugraha
On Tue, Jun 12, 2012 at 9:52 PM, Randy Barlow ra...@electronsweatshop.com wrote: I personally run Gentoo, but I've been told by some coworkers that the Ubuntu installer offers btrfs as an option to the users without marking it as experimental, unstable, or under development. I wonder if that is

Re: Preparing single-disk setup for future multi-disk usage

2012-05-24 Thread Fajar A. Nugraha
On Thu, May 24, 2012 at 1:05 PM, Björn Wüst bjoern.wu...@iteratec.de wrote: Unfortunately, I do not have a disk to test it right now. The disk I am planning to use is with the post service still :) . you can use sparse files. Possibly with losetup, if necessary. Thank you for your replies

Re: Can btrfs silently repair read-error in raid1

2012-05-08 Thread Fajar A. Nugraha
On Tue, May 8, 2012 at 2:13 PM, Clemens Eisserer linuxhi...@gmail.com wrote: Hi, I have a quite unreliable SSD here which develops some bad blocks from time to time which result in read-errors. Once the block is written to again, its remapped internally and everything is fine again for that

Re: kernel 3.3.4 damages filesystem (?)

2012-05-08 Thread Fajar A. Nugraha
On Tue, May 8, 2012 at 2:39 PM, Helmut Hullen hul...@t-online.de wrote: And you can use three BTRFS filesystems the same way as three Ext4 filesystems if you prefer such a setup if the time spent for restoring the backup does not make up the cost for one additional disk for you. But where's

Re: kernel 3.3.4 damages filesystem (?)

2012-05-07 Thread Fajar A. Nugraha
On Mon, May 7, 2012 at 5:46 PM, Helmut Hullen hul...@t-online.de wrote: For some months I run btrfs unter kernel 3.2.5 and 3.2.9, without problems. Yesterday I compiled kernel 3.3.4, and this morning I started the machine with this kernel. There may be some ugly problems. Data, RAID0:

Re: How file store when using Btrfs on multi-devices? What happen when a device fail?

2012-05-03 Thread Fajar A. Nugraha
On Thu, May 3, 2012 at 1:46 PM, Chu Duc Minh chu.ducm...@gmail.com wrote: Hi, i have some questions when using Btrfs on multi-devices: 1. a large file will always be stored wholely on a device or it may spread on some devices/partitions? IIRC: - in raid1 mode, it will be written on all disks

Snapper packages for Ubuntu

2012-04-10 Thread Fajar A. Nugraha
Hi, I've created snapper packages for Ubuntu, available on https://launchpad.net/~snapper/+archive/stable. For those new to snapper, it's a tool for managing btrfs snapshots (http://en.opensuse.org/Portal:Snapper). It depends on libblocxx available from

[PATCH] Snapper: Always create .snapshot dir unconditonally

2012-04-10 Thread Fajar A. Nugraha
to create .snapshots dir unconditionally. Signed-off-by: Fajar A. Nugraha git...@fajar.net --- snapper/Snapshot.cc |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/snapper/Snapshot.cc b/snapper/Snapshot.cc index 8e9cc37..277fad7 100644 --- a/snapper/Snapshot.cc +++ b/snapper

Re: Snapper packages for Ubuntu

2012-04-10 Thread Fajar A. Nugraha
On Tue, Apr 10, 2012 at 6:50 PM, Arvin Schnell aschn...@suse.de wrote: On Tue, Apr 10, 2012 at 05:37:38PM +0700, Fajar A. Nugraha wrote: Hi, I've created snapper packages for Ubuntu, available on https://launchpad.net/~snapper/+archive/stable. For those new to snapper, it's a tool

Re: snapper for Ubuntu? (WAS: btrfs auto snapshot)

2012-04-10 Thread Fajar A. Nugraha
On Tue, Apr 10, 2012 at 6:46 PM, Arvin Schnell aschn...@suse.de wrote: On Mon, Apr 09, 2012 at 08:18:45AM +0700, Fajar A. Nugraha wrote: I noticed that openSUSE buildservice now provides debs for ubuntu as well. I can't seem to find a way to add it to apt source list though, using the usual

Re: snapper for Ubuntu? (WAS: btrfs auto snapshot)

2012-04-10 Thread Fajar A. Nugraha
On Tue, Apr 10, 2012 at 9:35 PM, Matthias G. Eckermann m...@suse.com wrote: On 2012-04-10 T 20:48 +0700 Fajar A. Nugraha wrote: How can I create config for /data or other directories (other than manually creating the config file and .snapshots directory)? This should do it: sudo snapper -c

snapper for Ubuntu? (WAS: btrfs auto snapshot)

2012-04-08 Thread Fajar A. Nugraha
On Thu, Mar 1, 2012 at 8:48 PM, Arvin Schnell aschn...@suse.de wrote: We have now created a project in the openSUSE buildservice were we provide snapper packages for various distributions, e.g. RHEL6 and Fedora 16. Please find the downloads at:  

Re: btrfsck integration with userlevel API for fsck

2012-03-30 Thread Fajar A. Nugraha
On Sat, Mar 31, 2012 at 3:35 AM, Avi Miller avi.mil...@oracle.com wrote: On 30/03/2012, at 2:22 PM, Fajar A. Nugraha wrote: On Fri, Mar 30, 2012 at 5:08 AM, member graysky gray...@archlinux.us wrote: Are there plans to integrate btrfsck with the userlevel API for fsck? There isn't even

Re: btrfsck integration with userlevel API for fsck

2012-03-29 Thread Fajar A. Nugraha
On Fri, Mar 30, 2012 at 5:08 AM, member graysky gray...@archlinux.us wrote: Are there plans to integrate btrfsck with the userlevel API for fsck? There isn't even a stable, working, fixing btrfsck yet :) AFAIK, it currently does not work as such (i.e. `shutdown -rF now` does not trigger a

Re: Create subvolume from a directory?

2012-03-27 Thread Fajar A. Nugraha
On Wed, Mar 28, 2012 at 5:24 AM, Matthias G. Eckermann m...@suse.com wrote: While the time measurement might be flawed due to the subvol actions inbetween, caching etc.: I tried several times, and cp --reflinks always is multiple times faster than mv in my environment. So this is

Re: Can't mount, power failure - recoverable?

2012-03-26 Thread Fajar A. Nugraha
On Mon, Mar 26, 2012 at 3:34 PM, Skylar Burtenshaw daninfu...@gmail.com wrote: Hey - been a few days, not meaning to pester but I wanted to make sure my previous message didn't slip through the cracks. If I offended, I apologize - I certainly didn't mean to, and my attempts at joviality can

Re: Can't mount, power failure - recoverable?

2012-03-26 Thread Fajar A. Nugraha
On Mon, Mar 26, 2012 at 3:49 PM, Skylar Burtenshaw daninfu...@gmail.com wrote: Fajar A. Nugraha list at fajar.net writes: Didn't Chris' last response basically say use kernel 3.2 or newer, mount the fs (possibly with -o ro), and copy the data elsewhere? Why yes, yes it did actually. I

Re: btrfs and backups

2012-03-26 Thread Fajar A. Nugraha
On Mon, Mar 26, 2012 at 3:56 PM, Felix Blanke felixbla...@gmail.com wrote: On 3/26/12 10:30 AM, James Courtier-Dutton wrote: Is there some tool like rsync that I could copy all the data and snapshots to a backup system, but still only use the same amount of space as the source filesystem.

Re: compressed btrfs No space left on device

2012-03-06 Thread Fajar A. Nugraha
On Thu, Nov 17, 2011 at 12:59 AM, Arnd Hannemann a...@arndnet.de wrote: Am 14.11.2011 19:24, schrieb Arnd Hannemann: Am 14.11.2011 15:57, schrieb Arnd Hannemann: I'm using btrfs for my /usr/share/ partition and keep getting the following error while installing a debian package which should

Re: [PATCH] [RFC] Add btrfs autosnap feature

2012-03-04 Thread Fajar A. Nugraha
On Mon, Mar 5, 2012 at 1:51 PM, Anand Jain anand.j...@oracle.com wrote: (notably the direct modification of crontab files, which is considered to be an internal detail if I understand correctly, and I'm fairly certain is broken as written),  I did came across that point of view however,

Re: filesystem full when it's not? out of inodes? huh?

2012-03-02 Thread Fajar A. Nugraha
On Fri, Mar 2, 2012 at 6:50 PM, Brian J. Murrell br...@interlinx.bc.ca wrote: Is  2010-06-01 really the last time the tools were considered stable or are Ubuntu just being conservative and/or lazy about updating? The last one :) Or probably no one has bugged them enough and point out they're

Re: [RFC] btrfs auto snapshot

2012-03-01 Thread Fajar A. Nugraha
On Thu, Mar 1, 2012 at 8:48 PM, Arvin Schnell aschn...@suse.de wrote: On Thu, Feb 23, 2012 at 04:54:06PM +0700, Fajar A. Nugraha wrote: On Thu, Aug 18, 2011 at 12:38 AM, Matthias G. Eckermann m...@suse.com wrote: are available in the openSUSE buildservice at:        http

Re: Btrfs Storage Array Corrupted

2012-02-28 Thread Fajar A. Nugraha
On Wed, Feb 29, 2012 at 7:13 AM, Travis Shivers ttshiv...@gmail.com wrote: # ./btrfs-zero-log /dev/sdh parent transid verify failed on 5568194695168 wanted 43477 found 43151 parent transid verify failed on 5568194695168 wanted 43477 found 43151 parent transid verify failed on 5568194695168

Re: [RFC] btrfs auto snapshot

2012-02-23 Thread Fajar A. Nugraha
On Thu, Aug 18, 2011 at 12:38 AM, Matthias G. Eckermann m...@suse.com wrote: Ah, sure. Sorry.  Packages for blocxx for:        Fedora_14       Fedora_15        RHEL-5          RHEL-6        SLE_11_SP1        openSUSE_11.4   openSUSE_Factory are available in the openSUSE buildservice at:  

Re: btrfs-convert processing time

2012-02-20 Thread Fajar A. Nugraha
On Mon, Feb 20, 2012 at 8:50 PM, Hubert Kario h...@qbs.com.pl wrote: On Monday 20 of February 2012 14:41:33 Olivier Bonvalet wrote: Lot of small files (like compressed email from Maildir), and lot of hardlinks, and probably low free space (near 15% I suppose). So I think I have my answer :)

Re: btrfs-convert processing time

2012-02-20 Thread Fajar A. Nugraha
On Mon, Feb 20, 2012 at 9:29 PM, Olivier Bonvalet btrfs.l...@daevel.fr wrote: On 20/02/2012 15:00, Fajar A. Nugraha wrote: On Mon, Feb 20, 2012 at 8:50 PM, Hubert Karioh...@qbs.com.pl  wrote: On Monday 20 of February 2012 14:41:33 Olivier Bonvalet wrote: Lot of small files (like compressed

Re: btrfs open_ctree failed (after recent Ubuntu update)

2012-02-19 Thread Fajar A. Nugraha
On Mon, Feb 20, 2012 at 10:34 AM, Curtis Jones curtis.jo...@gmail.com wrote: Chris, Thank you for those kernel-update instructions. That was the least painful kernel update I could have imagined. I rebooted and verified (via uname) that I am in fact running the new kernel. After looking at

Re: Setting options permanently?

2012-01-28 Thread Fajar A. Nugraha
On Sat, Jan 28, 2012 at 7:49 AM, Hadmut Danisch had...@danisch.de wrote: Am 28.01.2012 00:20, schrieb Chester: It should be okay to mount with compress or without compress. Even if you mount a volume with compressed data without '-o compress' you will still be able to correctly read the data

Re: Problem with 3.3.0-rc1+: Target filesystem cannot find /sbin/init

2012-01-22 Thread Fajar A. Nugraha
On Sun, Jan 22, 2012 at 7:21 PM, Swapnil Pimpale swapnil.p...@gmail.com wrote: I can successfully boot into Ubuntu 11.10 (3.0.0-14-generic-pae) with a btrfs root filesystem and an ext2 /boot partition. But when I installed the latest vanilla (3.3.0-rc1+) and booted into where did you get the

Re: Btrfsck gives me errors

2012-01-19 Thread Fajar A. Nugraha
On Fri, Jan 20, 2012 at 11:24 AM, Jérôme Poulin jeromepou...@gmail.com wrote: On Wed, Jan 18, 2012 at 11:59 PM, Fajar A. Nugraha l...@fajar.net wrote: some files, unmount, and mount it again. If second mount does not show any error message then I'm pretty sure you're safe. I just upgraded

Re: Btrfsck gives me errors

2012-01-18 Thread Fajar A. Nugraha
On Thu, Jan 19, 2012 at 9:02 AM, Jérôme Poulin jeromepou...@gmail.com wrote: I did a preemptive fsck after a RAID crash and got many errors, is there something I should do if everything I use works? Probably just ignore it. Recent kernels (e.g. 3.1 or 3.2) is smart enough to automatically fix

Re: Encryption implementation like ZFS?

2011-12-31 Thread Fajar A. Nugraha
On Sat, Dec 31, 2011 at 3:12 AM, Sandra Schlichting littlesandr...@gmail.com wrote: How is this advantageous over dmcrypt-LUKS? TRIM pass-through for SSD's. With dmcrypt on an SSD write performance is very slow. ... and depending on which SSD you use, it shouldn't matter. Really. Last time I

Re: Encryption implementation like ZFS?

2011-12-31 Thread Fajar A. Nugraha
On Sun, Jan 1, 2012 at 12:12 AM, Niels de Carpentier ni...@decarpentier.com wrote: ... and depending on which SSD you use, it shouldn't matter. Really. Last time I tried with sandforce SSD + btrfs + -o discard, forcing trim actually made things slower. Sandforce (and probably other modern

Re: Two way mirror in BRTFS

2011-12-30 Thread Fajar A. Nugraha
2011/12/30 Jaromir Zdrazil jaromir.zdra...@email.cz: Sorry fo the typo in the subject! Just to add, I would like to see a two way mirror solution, but if it will not work now/is not implemnted yet, I would propably choose between drbd in asynchronous mode or make a some kind if incremental

Re: Re: Two way mirror in BRTFS

2011-12-30 Thread Fajar A. Nugraha
2011/12/30 Jaromir Zdrazil jaromir.zdra...@email.cz: Just to add, I would like to see a two way mirror solution, but if it will not work now/is not implemnted yet, I would propably choose between drbd in asynchronous mode or make a some kind if incremental snapshot to a remote mapped disk

Re: fstrim on BTRFS

2011-12-29 Thread Fajar A. Nugraha
On Thu, Dec 29, 2011 at 4:39 PM, Li Zefan l...@cn.fujitsu.com wrote: Fajar A. Nugraha wrote: On Wed, Dec 28, 2011 at 11:57 PM, Martin Steigerwald mar...@lichtvoll.de wrote: But BTRFS does not: merkaba:~ fstrim -v / /: 4431613952 bytes were trimmed merkaba:~ fstrim -v / /: 4341846016 bytes

Re: Compession, on filesystem or volume?

2011-12-29 Thread Fajar A. Nugraha
On Thu, Dec 29, 2011 at 5:51 PM, Remco Hosman re...@hosman.xs4all.nl wrote: Hi, Something i could not find in the documentation i managed to find: if you mount with compress=lzo and rebalance, is compression on for that filesystem or only a single volume? eg, can i have a @boot volume

Re: fstrim on BTRFS

2011-12-29 Thread Fajar A. Nugraha
On Fri, Dec 30, 2011 at 1:19 PM, Li Zefan l...@cn.fujitsu.com wrote: Or would some data block group can be converted to metadata, and vice versa? This won't happen. Also empty block groups won't be reclaimed, but it's in TODO list. Ah, OK. 6G for metadata out of 50G total seems a bit much,

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

Re: fstrim on BTRFS

2011-12-28 Thread Fajar A. Nugraha
On Thu, Dec 29, 2011 at 11:02 AM, Li Zefan l...@cn.fujitsu.com wrote: Martin Steigerwald wrote: With 3.2-rc4 (probably earlier), Ext4 seems to remember what areas it trimmed: But BTRFS does not: There's no such plan, but it's do-able, and I can take care of it. There's an issue though.

Re: fstrim on BTRFS

2011-12-28 Thread Fajar A. Nugraha
On Wed, Dec 28, 2011 at 11:57 PM, Martin Steigerwald mar...@lichtvoll.de wrote: But BTRFS does not: merkaba:~ fstrim -v / /: 4431613952 bytes were trimmed merkaba:~ fstrim -v / /: 4341846016 bytes were trimmed and apparently it can't trim everything. Or maybe my kernel is just too old.

Re: fstrim on BTRFS

2011-12-28 Thread Fajar A. Nugraha
On Thu, Dec 29, 2011 at 11:21 AM, 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, Sorry, I meant btrfs fi defrag -- Fajar -- To unsubscribe from this list: send the line

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: 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: 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: 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 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: 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/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 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: 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

  1   2   >