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 cold backup databases

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 Redhat or any di

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

2016-06-14 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 4.2.0-35-generic #

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

2015-07-08 Thread Fajar A. Nugraha
On Thu, Jul 9, 2015 at 8:20 AM, james harvey wrote: > Request for new btrfs subvolume subcommand: > > clone or fork [-i [] >Create a subvolume in , which is a clone or fork of source. >If is not given, subvolume will be created in the > current directory. >Options >-i >

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 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 disabling cow only > works for n

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 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 be a be

Re: Kernel panic / Ubuntu 12.04.4

2014-07-01 Thread Fajar A. Nugraha
On Tue, Jul 1, 2014 at 2:44 PM, Tomasz Torcz wrote: > > On Tue, Jul 01, 2014 at 08:45:59AM +0200, Tor Houghton wrote: > > Well, I probably should have looked at the logs first and not tried to > > delete > > some old data, but as the command (rm -rf) hung, I got suspicious: > > > > Jun 30 23:51:0

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 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 however se

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 usag

Re: Very slow filesystem

2014-06-04 Thread Fajar A. Nugraha
On Thu, Jun 5, 2014 at 5:15 AM, Igor M 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 used 2.38Ti

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 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 linux-btrfs" in the body of

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 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 into hardware

Re: Which companies contribute to Btrfs?

2014-04-24 Thread Fajar A. Nugraha
On Thu, Apr 24, 2014 at 6:39 PM, David Sterba 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. > > https://btrfs.wiki.kernel.org/

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

2014-04-23 Thread Fajar A. Nugraha
On Thu, Apr 24, 2014 at 10:23 AM, Chris Murphy 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 comparison. > > And then

Re: btrfs and ECC RAM

2014-01-20 Thread Fajar A. Nugraha
On Mon, Jan 20, 2014 at 10:13 AM, Austin S Hemmelgarn 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 data block, it > fir

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 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 of btrfs may rely on

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 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 if=/dev/sda?

Re: lvm volume like support

2013-02-26 Thread Fajar A. Nugraha
On Tue, Feb 26, 2013 at 9:30 PM, Martin Steigerwald wrote: > Am Dienstag, 26. Februar 2013 schrieb Fajar A. Nugraha: >> On Tue, Feb 26, 2013 at 11:59 AM, Mike Fleetwood >> >> wrote: >> > On 25 February 2013 23:35, Suman C 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 wrote: > On 25 February 2013 23:35, Suman C 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 block devices on the > fly. Data can be s

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 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, but you shou

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 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 wrote: >> >> btrfs fi label -t /btrfs/snap1-sv1 >> >> Prod-DB-sand-box-testing >> > >>

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 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 /btrfs/ > Pr

Re: Naming of (bootable) subvolumes

2012-10-28 Thread Fajar A. Nugraha
On Sun, Oct 28, 2012 at 12:22 AM, Chris Murphy wrote: > > On Oct 26, 2012, at 9:03 PM, Fajar A. Nugraha wrote: > >> >> So back to the original question, I'd suggest NOT to use either >> send/receive or set-default. Instead, setup multiple boot environment >&

Re: Naming of subvolumes

2012-10-26 Thread Fajar A. Nugraha
On Sat, Oct 27, 2012 at 8:58 AM, cwillu 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 had >> reaso

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 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 > actually managed to get a Kern

Re: Tunning - cache write (database)

2012-10-01 Thread Fajar A. Nugraha
On Tue, Oct 2, 2012 at 3:16 AM, Clemens Eisserer 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 the sympt

Re: Tunning - cache write (database)

2012-10-01 Thread Fajar A. Nugraha
On Mon, Oct 1, 2012 at 8:27 PM, Cesar Inacio Martins 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 64bits, running over VmWare ESXi 5

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 wrote: >> Anand Jain 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 question). > > Our setup entails a

Re: specify UUID for btrfs

2012-09-12 Thread Fajar A. Nugraha
On Thu, Sep 13, 2012 at 1:07 PM, ching lu 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 > not want to upd

Re: Workaround for hardlink count problem?

2012-09-10 Thread Fajar A. Nugraha
On Mon, Sep 10, 2012 at 4:12 PM, Martin Steigerwald 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. >> >> Then, I sta

Re: enquiry about defrag

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

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 zfs

Re: raw partition or LV for btrfs?

2012-08-14 Thread Fajar A. Nugraha
On Tue, Aug 14, 2012 at 9:09 PM, cwillu 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. IIRC

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 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 create 10 LVs t

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 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 Ubuntu has it since prec

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 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 just download la

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 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 anyone make an

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

2012-07-31 Thread Fajar A. Nugraha
On Wed, Aug 1, 2012 at 1:01 PM, Marc MERLIN 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 > than hard dr

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 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 files well > C -

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 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 -- To unsubscri

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 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 use whatever n

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 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 later I

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 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 files removable.

Re: BTRFS fsck apparent errors

2012-07-04 Thread Fajar A. Nugraha
On Wed, Jul 4, 2012 at 8:42 PM, David Sterba 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 >> com

Re: BTRFS fsck apparent errors

2012-07-03 Thread Fajar A. Nugraha
On Tue, Jul 3, 2012 at 10:22 PM, Hugo Mills 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 {} \; >> >> During

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 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 was failing me

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 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. > > - kernel-2.6.32-220.17.1.el6.x86_64 > - btr

Re: System Policy for Filenames

2012-06-26 Thread Fajar A. Nugraha
On Wed, Jun 27, 2012 at 1:28 AM, Aaron Peterson 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, it can use unionfs-fu

Re: Subvolumes and /proc/self/mountinfo

2012-06-19 Thread Fajar A. Nugraha
On Wed, Jun 20, 2012 at 10:22 AM, H. Peter Anvin 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 the bootloa

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 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.) >> > > Coul

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 wrote: > On Wed, Jun 13, 2012 at 2:21 AM, Arne Jansen 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 be copied. > at one po

Re: Moving top level to a subvolume

2012-06-13 Thread Fajar A. Nugraha
On Wed, Jun 13, 2012 at 2:23 PM, Duncan <1i5t5.dun...@cox.net> wrote: > Fajar A. Nugraha posted on Wed, 13 Jun 2012 08:49:47 +0700 as excerpted: > >> As for "lose their filesystems", are there recent ones that uses one of >> the three distros above, and is pu

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 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 why we see > so many peo

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

2012-05-23 Thread Fajar A. Nugraha
On Thu, May 24, 2012 at 1:05 PM, Björn Wüst 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 to this email (bjoern.

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 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 the gain

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 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 block. > > Woul

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 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: total=5.29TB, us

Re: Can't mount

2012-05-03 Thread Fajar A. Nugraha
On Thu, May 3, 2012 at 10:31 PM, Hugo Mills wrote: > On Thu, May 03, 2012 at 03:18:01PM +, Yo'av Moshe wrote: >> Is there anything else I can try? >> >> I'm using kernel 3.2 on Ubuntu 12.04. > >   In approximate order: > >  * Try a 3.3 or 3.4-rc5 kernel. I don't think those will do anything >

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

2012-05-02 Thread Fajar A. Nugraha
On Thu, May 3, 2012 at 1:46 PM, Chu Duc Minh 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 (or was it TWO disks

Re: btrfs across a mix of SSDs & HDDs

2012-05-01 Thread Fajar A. Nugraha
On Wed, May 2, 2012 at 12:00 PM, Bardur Arantsson wrote: > On 05/02/2012 06:28 AM, Fajar A. Nugraha wrote: >>>  From Kconfig: >>> >>>   "Btrfs filesystem (EXPERIMENTAL) Unstable disk format" >>>                         ^

Re: btrfs across a mix of SSDs & HDDs

2012-05-01 Thread Fajar A. Nugraha
On Wed, May 2, 2012 at 9:22 AM, Bardur Arantsson wrote: > On 05/01/2012 09:35 PM, Martin wrote: >> >> How well does btrfs perform across a mix of: >> >> 1 SSD and 1 HDD for 'raid' 1 mirror for both data and metadata? >> The idea is to gain the random access speed of the SSDs but have the >> HDDs

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

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 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, >

Re: Snapper packages for Ubuntu

2012-04-10 Thread Fajar A. Nugraha
On Tue, Apr 10, 2012 at 6:50 PM, Arvin Schnell 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 >

[PATCH] Snapper: Always create .snapshot dir unconditonally

2012-04-10 Thread Fajar A. Nugraha
es to create .snapshots dir unconditionally. Signed-off-by: Fajar A. Nugraha --- 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/Snapsh

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 https://launchpad.net/~bjoern-esser-n/+archi

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 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: > >  http://download.opensuse.org/repositories/filesystems:/snap

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 wrote: > > On 30/03/2012, at 2:22 PM, Fajar A. Nugraha wrote: > >> On Fri, Mar 30, 2012 at 5:08 AM, member graysky wrote: >>> Are there plans to integrate btrfsck with the userlevel API for fsck? >> >> There isn'

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 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 check on the next boo

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 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 cross-subvolume re

Re: btrfs and backups

2012-03-26 Thread Fajar A. Nugraha
On Mon, Mar 26, 2012 at 3:56 PM, Felix Blanke 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. > I'm not sure if

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 wrote: > Fajar A. Nugraha 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"? > >

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 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 come across as > a

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 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 ta

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 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, using crontab c

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 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 already using a git s

Re: [RFC] btrfs auto snapshot

2012-03-01 Thread Fajar A. Nugraha
On Thu, Mar 1, 2012 at 8:48 PM, Arvin Schnell 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 >> wrote: > >> > are available in the openSUSE buildservice at: >> > >

Re: Btrfs Storage Array Corrupted

2012-02-28 Thread Fajar A. Nugraha
On Wed, Feb 29, 2012 at 7:13 AM, Travis Shivers 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 wanted 43477 found

Re: [RFC] btrfs auto snapshot

2012-02-23 Thread Fajar A. Nugraha
On Thu, Feb 23, 2012 at 7:02 PM, Anand Jain wrote: > > >  autosnap code is available either end of this week or early >  next week I thought you stopped working on this :D Alternatives are good though. Will test yours when it's out. FWIW, I also have another one, based on zfsonlinux's autosnaps

Re: [RFC] btrfs auto snapshot

2012-02-23 Thread Fajar A. Nugraha
On Thu, Aug 18, 2011 at 12:38 AM, Matthias G. Eckermann 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: > >    

PATCH: Fix incorrect "error checking ... mount status" in mkfs.btrfs

2012-02-22 Thread Fajar A. Nugraha
mungles it). Signed-off-by: Fajar A. Nugraha --- utils.c | 18 +- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/utils.c b/utils.c index 178d1b9..a62 100644 --- a/utils.c +++ b/utils.c @@ -649,6 +649,9 @@ int resolve_loop_device(const char* loop_dev, char

Re: btrfs-convert processing time

2012-02-20 Thread Fajar A. Nugraha
On Mon, Feb 20, 2012 at 9:29 PM, Olivier Bonvalet wrote: > On 20/02/2012 15:00, Fajar A. Nugraha wrote: >> >> On Mon, Feb 20, 2012 at 8:50 PM, Hubert Kario  wrote: >>> >>> On Monday 20 of February 2012 14:41:33 Olivier Bonvalet wrote: >>>> >&g

Re: btrfs-convert processing time

2012-02-20 Thread Fajar A. Nugraha
On Mon, Feb 20, 2012 at 8:50 PM, Hubert Kario 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 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 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 dmesg I can confir

Re: subvolume info in /proc/mounts

2012-02-05 Thread Fajar A. Nugraha
On Sun, Feb 5, 2012 at 5:30 PM, Nikos Voutsinas wrote: >>> If not, what is the formal way to find out which subvolume is mounted; >> >> Not right now, see detailed answer to a similar question: >> http://permalink.gmane.org/gmane.comp.file-systems.btrfs/15385 > Assuming that pools with multiple s

Re: Setting options permanently?

2012-01-28 Thread Fajar A. Nugraha
On Sat, Jan 28, 2012 at 7:49 AM, Hadmut Danisch 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 (but newly w

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 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 kernel from? kernel.o

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 wrote: > On Wed, Jan 18, 2012 at 11:59 PM, Fajar A. Nugraha 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 upgrade

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 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 certain types of erro

Re: Encryption implementation like ZFS?

2011-12-31 Thread Fajar A. Nugraha
On Sun, Jan 1, 2012 at 12:12 AM, Niels de Carpentier 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 >>> SSD) contro

Re: Encryption implementation like ZFS?

2011-12-31 Thread Fajar A. Nugraha
On Sat, Dec 31, 2011 at 3:12 AM, Sandra Schlichting 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 tried with sandforc

Re: Re: Re: Two way mirror in BRTFS

2011-12-30 Thread Fajar A. Nugraha
2011/12/30 Jaromir Zdrazil : >> > And if I am not mistaken, current version does not yet support a mountable >> filesystem. >> >> You're mistaken :) With some extra work, you can even use it as root: >> - http://zfsonlinux.org/example-zpl.html >> - >> https://github.com/dajhorn/pkg-zfs/wiki/HOWTO-i

Re: Re: Two way mirror in BRTFS

2011-12-30 Thread Fajar A. Nugraha
2011/12/30 Jaromir Zdrazil : >> > 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 (I do not k

Re: Two way mirror in BRTFS

2011-12-30 Thread Fajar A. Nugraha
2011/12/30 Jaromir Zdrazil : > 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" snapshot to a remo

Re: fstrim on BTRFS

2011-12-29 Thread Fajar A. Nugraha
On Fri, Dec 30, 2011 at 1:19 PM, Li Zefan 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, but I can

Re: Compession, on filesystem or volume?

2011-12-29 Thread Fajar A. Nugraha
On Thu, Dec 29, 2011 at 5:51 PM, Remco Hosman 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 uncompressed and @ an

Re: fstrim on BTRFS

2011-12-29 Thread Fajar A. Nugraha
On Thu, Dec 29, 2011 at 4:39 PM, Li Zefan wrote: > Fajar A. Nugraha wrote: >> On Wed, Dec 28, 2011 at 11:57 PM, Martin Steigerwald >> wrote: >>> But BTRFS does not: >>> >>> merkaba:~> fstrim -v / >>> /: 4431613952 bytes were trimmed >>&

Re: fstrim on BTRFS

2011-12-28 Thread Fajar A. Nugraha
On Thu, Dec 29, 2011 at 11:37 AM, Roman Mamedov wrote: > On Thu, 29 Dec 2011 11:21:14 +0700 > "Fajar A. Nugraha" 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 u

Re: fstrim on BTRFS

2011-12-28 Thread Fajar A. Nugraha
On Thu, Dec 29, 2011 at 11:21 AM, Fajar A. Nugraha 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 l

Re: fstrim on BTRFS

2011-12-28 Thread Fajar A. Nugraha
On Wed, Dec 28, 2011 at 11:57 PM, Martin Steigerwald 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. $ sudo fs

  1   2   >