Re: Recommended settings for SSD

2013-05-24 Thread cwillu
At the moment I am using: defaults,noatime,nodiratime,ssd,subvol=@home No need to specify ssd, it's automatically detected. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: Recommended settings for SSD

2013-05-26 Thread cwillu
On Sun, May 26, 2013 at 9:16 AM, Harald Glatt m...@hachre.de wrote: I don't know a better way to check than doing df -h before and after... If you use space_cache you have to clear_cache though to make the numbers be current for sure each time before looking at df. Not sure what you're

Re: raid0, raid1, raid5, what to choose?

2013-06-13 Thread cwillu
On Thu, Jun 13, 2013 at 3:21 PM, Hugo Mills h...@carfax.org.uk wrote: On Thu, Jun 13, 2013 at 11:09:00PM +0200, Hendrik Friedel wrote: Hello, I'd appreciate your recommendation on this: I have three hdd with 3TB each. I intend to use them as raid5 eventually. currently I use them like this:

Re: My multi-device btrfs (3*2TB) won't mount anymore.

2013-06-18 Thread cwillu
Does anything show up in dmesg when you mount? If mount just hangs, do an alt-sysrq-w, and then post what that sends to dmesg. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: raid 10 corruption from single drive failure

2013-06-29 Thread cwillu
Making this with all 6 devices from the beginning and btrfsck doesn't segfault. But it also doesn't repair the system enough to make it mountable. ( nether does -o recover, however -o degraded works, and files are then accessible ) Not sure I entirely follow: mounting with -o degraded (not

Re: Manual deduplication would be useful

2013-07-23 Thread cwillu
On Tue, Jul 23, 2013 at 9:47 AM, Rick van Rein r...@vanrein.org wrote: Hello, For over a year now, I've been experimenting with stacked filesystems as a way to save on resources. A basic OS layer is shared among Containers, each of which stacks a layer with modifications on top of it.

Re: [PATCH] Drop unused parameter from btrfs_item_nr

2013-09-17 Thread cwillu
On Mon, Sep 16, 2013 at 8:58 AM, Ross Kirk ross.k...@gmail.com wrote: Unused parameter cleanup Ross Kirk (1): btrfs: drop unused parameter from btrfs_item_nr fs/btrfs/backref.c|2 +- fs/btrfs/ctree.c | 34 +- fs/btrfs/ctree.h | 13

Re: kernel BUG at fs/btrfs/relocation.c:1060 during rebalancing

2013-10-06 Thread cwillu
Another user has just reported this in irc on 3.11.2 kernel BUG at fs/btrfs/relocation.c:1055! invalid opcode: [#1] SMP Modules linked in: ebtable_nat nf_conntrack_netbios_ns nf_conntrack_broadcast ipt_MASQUERADE ip6table_nat nf_nat_ipv6 ip6table_mangle ip6t_REJECT nf_conntrack_ipv6

Re: ENOSPC on heterogeneous raid 0

2010-12-12 Thread cwillu
On Sun, Dec 12, 2010 at 8:24 AM, Hubert Kario h...@qbs.com.pl wrote: On Wednesday 08 of December 2010 22:53:25 William Sheffler wrote: Hello btrfs community. First off, thanks for all your hard work... I have been following btrfs with interest for several years now and very much look forward

Re: SSD optimizations

2010-12-13 Thread cwillu
On Mon, Dec 13, 2010 at 3:25 AM, Gordan Bobic gor...@bobich.net wrote: On 12/13/2010 05:11 AM, Sander wrote: Gordan Bobic wrote (ao): On 12/12/2010 17:24, Paddy Steed wrote: In a few weeks parts for my new computer will be arriving. The storage will be a 128GB SSD. A few weeks after that I

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

2010-12-20 Thread cwillu
On Mon, Dec 20, 2010 at 10:16 PM, Fajar A. Nugraha l...@fajar.net wrote: 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

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

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

BUG in /mnt mount kills / mount as well

2011-01-06 Thread cwillu
After doing something silly (not sure what yet) with a server's 4-drive btrfs raid1 root, I've been booting off a 5th drive (also on btrfs) while poking at the original array. I've found that errors triggered by poking around on the mounted-but-broken 4-drive raid (on /mnt) cause the system to

Re: open_ctree failed, unable to mount the fs

2011-01-07 Thread cwillu
On Fri, Jan 7, 2011 at 1:25 PM, Tomasz Chmielewski man...@wpkg.org wrote: The forthcoming[1] btrfsck tool should handle that particular error, I believe. I noticed a similar problem was discussed here, with a solution: http://www.spinics.net/lists/linux-btrfs/msg07572.html where a

Re: open_ctree failed, unable to mount the fs

2011-01-07 Thread cwillu
On Fri, Jan 7, 2011 at 2:01 PM, Tomasz Chmielewski man...@wpkg.org wrote: On 07.01.2011 20:46, cwillu wrote: However, I don't see the tool when I clone the latest git - am I missing something? It's not built by the makefile by default;  make btrfs-select-super as stated above will make

Re: 'open_ctree failed', unable to mount the fs

2011-01-07 Thread cwillu
On Fri, Jan 7, 2011 at 2:02 PM, Ken D'Ambrosio k...@jots.org wrote: On Fri, January 7, 2011 2:09 pm, Hugo Mills wrote: On Fri, Jan 07, 2011 at 08:01:47PM +0100, Tomasz Chmielewski wrote: I got a power cycle, after which I'm no longer able to mount btrfs filesystem: [...] The forthcoming[1]

Re: btrfsck segmentation fault

2011-01-07 Thread cwillu
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 (2.6.35.9-64.fc14.i686.PAE) and the system hung with messages like : parent

Re: BUG in btrfs/inode.c:1528!

2011-01-14 Thread cwillu
On Fri, Jan 14, 2011 at 6:57 PM, Niklas Schnelle nik...@komani.de wrote: I was running a cp -ar /mnt/extern/foo/* /mnt/extern/bar/subvolume/ on my USB harddrive which was formatted yesterday (rsyncing about 90 GB worked yesterday without problems) when I was dropped to a console with the error

Re: Backup Command

2011-01-14 Thread cwillu
On Fri, Jan 14, 2011 at 7:17 PM, Carl Cook cac...@quantum-sci.com wrote: Apparently my command is no good.  No one ever responded to my question below, so maybe I'm not smart enough to ask the right way. I can ssh from the backup server to the HTPC, but it crashes with a 'dirty' error: #

Re: [GIT PULL] Btrfs updates

2011-01-22 Thread cwillu
On Sat, Jan 22, 2011 at 5:41 PM, Clemens Eisserer linuxhi...@gmail.com wrote: E.g. suppose you have a LZO compressed file, then a program rewrites some data which is in the middle of the file, and suppose the newly written data is less compressible. Any idea how this is handled? I would be

BUG at inode.c:150 under 2.6.38rc2 + 9d4ba5: handle errors in btrfs_orphan_cleanup

2011-02-01 Thread cwillu
A couple hours after a build finished involving creating and deleting a couple snapshots, I got the following BUG. The system locked up completely. This is 2.6.38rc2 with btrfs from josef's master (9d4ba5: Btrfs: handle errors in btrfs_orphan_cleanup). Original screenshot at

Re: BUG at inode.c:150 under 2.6.38rc2 + 9d4ba5: handle errors in btrfs_orphan_cleanup

2011-02-01 Thread cwillu
On Tue, Feb 1, 2011 at 11:37 PM, cwillu cwi...@cwillu.com wrote: A couple hours after a build finished involving creating and deleting a couple snapshots, I got the following BUG.  The system locked up completely. This is 2.6.38rc2 with btrfs from josef's master (9d4ba5:  Btrfs: handle

Re: Intermittent ENOSPC in 2.6.38rc2 (BUG linux/fs/btrfs/inode.c:1759)

2011-02-01 Thread cwillu
On Wed, Feb 2, 2011 at 12:05 AM, Chris Samuel ch...@csamuel.org wrote: On 02/02/11 16:41, cwillu wrote: Building btrfs from josef's tree seems to clear this up, I was able to build dozens of times without errors. Interesting, I wonder what fixes it ? The error was an ENOSPC, which

Re: Suggestion for sticky-compression mount setting (default mount options)

2011-02-05 Thread cwillu
On Sat, Feb 5, 2011 at 6:18 AM, Felix Blanke felixbla...@gmail.com wrote: Hi, I don't think that the fs is a good place to store default mountoptions. If you want to auto mount usb devices with compression, just write a udev rule or whatever ubuntu uses to mount usb devices. I believe the

Re: no space left on device

2011-02-08 Thread cwillu
On Tue, Feb 8, 2011 at 3:00 AM, Leonidas Spyropoulos artafi...@gmail.com wrote: On Feb 8, 2011 12:09 AM, C Anthony Risinger anth...@extof.me wrote: On Mon, Feb 7, 2011 at 3:21 PM, Leonidas Spyropoulos artafi...@gmail.com wrote: Hey all, I run into no space left on device on a virtualbox

Re: New btrfsck status

2011-02-09 Thread cwillu
On Wed, Feb 9, 2011 at 8:52 PM, Ben Gamari bgam...@gmail.com wrote: Hey all, Over the last several months there have been many claims regarding the release of the rewritten btrfsck. Unfortunately, despite numerous claims that it will be released Real Soon Now(c), I have yet to see even a

Re: 2.6.37 kernel BUG at fs/btrfs/inode.c:6752!

2011-02-14 Thread cwillu
On Mon, Feb 14, 2011 at 3:59 AM, Zhong, Xin xin.zh...@intel.com wrote: We build packages in a kvm-qemu chroot environment. And the root fs is btrfs. It hang during installing packages. And we found error message in dmesg: [   84.320466] btrfs: use compression [  288.711396] [ cut

Re: BTRFS fsck tool

2011-03-04 Thread cwillu
On Fri, Mar 4, 2011 at 5:59 PM, Alexey A Nikitin moonwal...@syrius.us wrote: I have BTRFS RAID0 setup with two disks. After some incident where I had to force shutdown machine this array won't mount anymore, even after btrfs device scan. Unfortunately, I don't have backups since I can't afford

Re: BTRFS fsck tool

2011-03-04 Thread cwillu
On Fri, Mar 4, 2011 at 7:20 PM, Alexey A Nikitin moonwal...@syrius.us wrote: I pulled the btrfs-select-super source from get branch 'next', compiled it, but when I run it using ./btrfs-select-super -s 1 /dev/sdb1 all I get is btrfs-select-super: disk-io.c:739: open_ctree_fd: Assertion

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

2011-03-13 Thread cwillu
On Sun, Mar 13, 2011 at 5:32 AM, Pau Iranzo pauli...@gmail.com wrote: Hi, I installed Ubuntu on my girlfriend's laptop using btrfs as a filesystem. But a few weeks ago something happened: the system wouldn't boot and always show these messages:

Re: [PATCH] btrfs: quasi-round-robin for chunk allocation

2011-03-18 Thread cwillu
On Fri, Mar 18, 2011 at 8:40 AM, Chris Mason chris.ma...@oracle.com wrote: I think that filling all the devices fully is more important than the initial spread.  Miao is correct that the administrator will probably complain if all the devices aren't used for the initial stripes. But, over the

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

2011-03-22 Thread cwillu
I can mount it back, but not if I reload the btrfs module, in which case I get: [ 1961.328280] Btrfs loaded [ 1961.328695] device fsid df4e5454eb7b1c23-7a68fc421060b18b devid 1 transid 118 /dev/loop0 [ 1961.329007] btrfs: failed to read the system array on loop0 [ 1961.340084] btrfs:

Re: How to remove a device on a RAID-1 before replacing it?

2011-03-29 Thread cwillu
On Tue, Mar 29, 2011 at 2:09 PM, Andrew Lutomirski l...@mit.edu wrote: I have a disk with a SMART failure.  It still works but I assume it'll fail sooner or later. I want to remove it from my btrfs volume, replace it, and add the new one.  But the obvious command doesn't work: # btrfs

Re: Fwd: module/kernel crash while trying to delete missing device/balance

2011-04-19 Thread cwillu
[ 1770.041623] [ cut here ] [ 1770.041655] kernel BUG at /build/buildd/linux-2.6.35/fs/btrfs/volumes.c:3037! [ 1770.041684] invalid opcode: [#1] SMP [ 1770.041707] last sysfs file: /sys/devices/virtual/bdi/btrfs-3/uevent [ 1770.041734] CPU 1 [ 1770.041744]

Re: Bug#624131: linux-image-2.6.39-rc4-686-pae: Can somewhat reliably produce kernel panic in btrfs code

2011-04-25 Thread cwillu
On Mon, Apr 25, 2011 at 2:50 PM, Peter Stuge pe...@stuge.se wrote: Maik Zumstrull wrote: Bug at fs/btrfs/free-space-cache.c:1246 Bug type: invalid opcode: Kernel not tainted, running on an ASUSTek 1005HAG EIP is at btrfs_add_free_space+0x285/0x39a [btrfs] You will probably need

Re: Premature -ENOSPC on btrfs?

2011-04-29 Thread cwillu
On Fri, Apr 29, 2011 at 6:16 PM, Darrick J. Wong djw...@us.ibm.com wrote: On Fri, Apr 29, 2011 at 06:00:16PM -0600, cwillu wrote: On Fri, Apr 29, 2011 at 5:48 PM, Darrick J. Wong djw...@us.ibm.com wrote: Hi, I was giving btrfs (2.6.39-rc4) a quick tryout today and noticed some odd

Re: Btrfs raid1 full sized?

2011-05-01 Thread cwillu
On Sun, May 1, 2011 at 12:33 PM, Claes Gyllenswärd lethar...@gmail.com wrote: I've tried setting up a raid1 on two drives like this: mkfs.btrfs -m raid1 -d raid1 /dev/sdb /dev/sdc Then I copy my old install onto the new drives, and check the drives' status: # mount | grep on / /dev/sdb on

Re: abysmal performance

2011-05-03 Thread cwillu
On Tue, May 3, 2011 at 4:33 AM, Bernhard Schmidt be...@birkenwald.de wrote: Peter Stuge pe...@stuge.se wrote: Hey, defragging btrfs does not seem to work for me. I have run the filefrag command over the whole fs and (manually) tried to defrag a few heavily fragmented files, but I don't get

Re: btrfs seed with luks encrypted devices

2011-05-03 Thread cwillu
On Tue, May 3, 2011 at 7:32 PM, Geoff Ritter geoff.rit...@gmail.com wrote: Not sure where to report bugs or even find a coherent list of them.  Sorry if this is already well known. When attempting to use an unlocked encrypted device as either a seed device or the writeable device, a kernel

Re: btrfs csum failed

2011-05-04 Thread cwillu
On Wed, May 4, 2011 at 5:39 AM, Martin Schitter m...@mur.at wrote: Am 2011-05-04 04:18, schrieb Fajar A. Nugraha: could you give me some advice how to debug/report this specific problem more precise? If it's not reproducible then I'd suspect it'd be hard to do. the last working snapshot

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread cwillu
On Thu, May 5, 2011 at 12:09 PM, cac...@quantum-sci.com wrote: Anyone have a suggestion? Also on another machine set up similarly, I now cannot mkdir.  It says 'no space left on device'.  df says: # df /dev/sdb Filesystem           1K-blocks      Used Available Use% Mounted on /dev/sdb  

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread cwillu
On Thu, May 5, 2011 at 8:49 AM, cac...@quantum-sci.com wrote: On Wednesday 4 May, 2011 02:51:54 Sander wrote: Put an exit on top of /etc/kernel/postrm.d/zz-update-grub and try again. Install grub-pc 1.99~rc1-13 from Sid. First I put an exit right after #! /bin/sh  and it failed.  Then I

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread cwillu
On Thu, May 5, 2011 at 1:50 PM, cac...@quantum-sci.com wrote: I was afraid of this finger-pointing. Of course no one at Debian is going to know how to fix BTRFS jamming the package management system.  That's ridiculous. I took the liberty of asking #debian, and they've requested that you

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread cwillu
On Thu, May 5, 2011 at 2:32 PM, cac...@quantum-sci.com wrote: Here is the relevant section of strace: BTW, I fixed the 'no space left on device' on the other machine with a btrfs balance.  No one seems to know this, but even though df reports that 64% of the disk array is used, apparently

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread cwillu
On Thu, May 5, 2011 at 2:57 PM, cac...@quantum-sci.com wrote: On Thursday 5 May, 2011 13:31:17 cwillu wrote: I took the liberty of asking #debian, and they've requested that you file a bug in their bug tracker.  They've also suggested that you might be able to short-circuit the faulty script

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread cwillu
On Thu, May 5, 2011 at 3:40 PM, cac...@quantum-sci.com wrote: On Thursday 5 May, 2011 13:40:25 cwillu wrote: Could you include the information I asked for previously?  (Kernel version, output of btrfs fi df and btrfs fi show) Kernel 2.6.37-2 # btrfs fi df /home Data, RAID0: total=2.61TB

Re: Cannot Deinstall a Debian Package

2011-05-05 Thread cwillu
On Thu, May 5, 2011 at 3:48 PM, cac...@quantum-sci.com wrote: On Thursday 5 May, 2011 13:59:23 Lars Wirzenius wrote: dpkg --fsys-tarfile foo.deb | tar -C / -tf - I was expecting this to extract into the local directory, although it seems to have extracted into the final destinations.  Can't

Re: are attachements allowed?

2011-05-11 Thread cwillu
On Wed, May 11, 2011 at 4:07 PM, Marek Fstump marekfst...@gmail.com wrote: Sorry, but i keep trying to send a question regarding poor perforamance results (when compared to other FS's)... but after a couple of days and various emails, nothing is appearing in the list... so i wonder is it

Re: very poor read / write performance compared to other FS's?

2011-05-11 Thread cwillu
for my application and I am hoping that there are some factors that I am missing and would appreciate any advice / help Graph is here (Thank you ‘cwillu’) http://cwillu.com/files/btrfs/read-write_perf.pdf A couple questions: Which kernel version? How big is the partition the testing is done

Re: ssd option for USB flash drive?

2011-05-19 Thread cwillu
[...] aligning logical blocks to erase blocks can give some performance but the only way to make it really fast is not to use USB [...] For something that fits in your pocket and is almost universally bootable, there are not so many other options. An ssd drive in a USB enclosure is about

Re: ssd option for USB flash drive?

2011-05-19 Thread cwillu
On Thu, May 19, 2011 at 4:12 PM, Stephane Chazelas stephane_chaze...@yahoo.fr wrote: 2011-05-19 15:54:23 -0600, cwillu: [...] Try with the ssd_spread mount option. [...] Thanks. I'll try that. I wonder now what credit to give to recommendations like in http://www.patriotmemory.com

Re: No space left on device (again)

2014-02-25 Thread cwillu
Try btrfs filesystem balance start -dusage=15 /home, and gradually increase it until you see it relocate at least one chunk. On Tue, Feb 25, 2014 at 2:27 PM, Marcus Sundman sund...@iki.fi wrote: On 25.02.2014 22:19, Hugo Mills wrote: On Tue, Feb 25, 2014 at 01:05:51PM -0500, Jim Salter wrote:

Re: [Repost] Is BTRFS bedup maintained ?

2014-03-05 Thread cwillu
Bedup was/is a third-party project, not sure if its developer follows this list. Might be worth filing a bug or otherwise poking the author on https://github.com/g2p/bedup On Wed, Mar 5, 2014 at 2:43 PM, Marc MERLIN m...@merlins.org wrote: On Wed, Mar 05, 2014 at 06:24:40PM +0100, Swāmi

Re: Building a brtfs filesystem 70M?

2014-03-10 Thread cwillu
Have you tried the -M option to mkfs.btrfs? I'm not sure if we select it automatically (or if we do, whether you have recent enough tools to have that). -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 24/27] btrfs-progs: Convert man page for btrfs-zero-log

2014-04-05 Thread cwillu
On Fri, Apr 4, 2014 at 12:46 PM, Marc MERLIN m...@merlins.org wrote: On Wed, Apr 02, 2014 at 04:29:35PM +0800, Qu Wenruo wrote: Convert man page for btrfs-zero-log Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com --- Documentation/Makefile | 2 +-

Re: [systemd-devel] Slow startup of systemd-journal on BTRFS

2014-06-15 Thread cwillu
fallocating the file first. Looking at the fiemap output while doing either of those, you'll see a new 4k extent being made, and then the physical location of that extent will increment until the writes move on to the next 4k extent. cwillu@cwillu-home:~/work/btrfs/e2fs$ touch /tmp/test f=open('/tmp

Re: Balancing takes forever

2011-07-02 Thread cwillu
On Fri, Jul 1, 2011 at 4:32 PM, Christian cdys...@gmail.com wrote: I tried to balance my home folder. The disk spins and after an hour it hasn't completed. This is a 300 GB home directory about half full. I know balance takes while, but how long should it take? This is a 7200 rpm disk on a

Re: Memory leak?

2011-07-09 Thread cwillu
On Sat, Jul 9, 2011 at 11:09 AM, Stephane Chazelas stephane_chaze...@yahoo.fr wrote: 2011-07-08 11:06:08 -0400, Chris Mason: [...] I would do two things.  First, I'd turn off compress_force.  There's no explicit reason for this, it just seems like the mostly likely place for a bug. [...] I

Re: kernel BUG at fs/btrfs/delayed-inode.c:1693!

2011-07-26 Thread cwillu
On Tue, Jul 26, 2011 at 1:51 AM, Markus Suvanto markus.suva...@gmail.com wrote: This is what I get  if I use command: bcp file file_copy I can reproduce this every time when using bcp command. Filesystem is under lvm: /dev/mapper/vg_md1-btrfs on /mnt/btrfs type btrfs (rw,noatime,subvol=.)

Re: Slow snapshot deletion

2011-08-01 Thread cwillu
On Mon, Aug 1, 2011 at 4:26 PM, Bruce Guenter br...@untroubled.org wrote: On Thu, Jul 28, 2011 at 04:28:04PM -0400, Chris Mason wrote: The slow performance is probably coming from reading in the metadata associated with the snapshot extents.  The new readahead extentions from Arne should help

Re: PLEASE TEST: Everybody who is seeing weird and long hangs

2011-08-01 Thread cwillu
On Mon, Aug 1, 2011 at 12:21 PM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from Josef Bacik's message of 2011-08-01 14:01:35 -0400: On 08/01/2011 01:54 PM, Chris Mason wrote: Excerpts from Josef Bacik's message of 2011-08-01 12:03:34 -0400: On 08/01/2011 11:45 AM, Chris Mason wrote:

Re: kernel oops - no mount (different problem than others)

2011-08-18 Thread cwillu
You might try mounting it -o ro as a stopgap to regain readonly access. Judging from the bootlog, the error itself appears to be enospc. In which case there's no already-available quick fix; I expect a developer to chime in any second now :p From the logs it is listing a transid error but NOT

Re: Writes in idle/How to debug filesystem activity

2011-08-30 Thread cwillu
There was once a similar thread about this issue; unfortunately, without any constructive answers: http://thread.gmane.org/gmane.comp.file-systems.btrfs/10840 I believe sync does a transaction commit every time. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the

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

2011-09-06 Thread cwillu
1. Create and format two images, the 1st in 400Mbytes, and 2nd in 286Mbytes. root@pibroch:/btrfs-progs# ls -lh /usr/src/linux-3.0/img* -rw-r--r-- 1 jeff jeff 400M 2011-09-07 12:00 /usr/src/linux-3.0/img0 -rw-r--r-- 1 jeff jeff 286M 2011-09-07 12:00 /usr/src/linux-3.0/img1 Very small btrfs

Re: Honest timeline for btrfsck

2011-10-07 Thread cwillu
in Chris' head, otherwise we _would_ have something. --cwillu Warning: while cwillu is never wrong, he may not correspond to reality. cwillu should not be taken with caffeine or alcohol. Contact a doctor immediately if cwillu submits patches, rants, or directives. Do not leave cwillu within reach

Re: Honest timeline for btrfsck

2011-10-07 Thread cwillu
no massive search and rescue operation required after an otherwise unclean shutdown. That's it. And we mostly have that too, modulo the usual and expected bumps of a very young filesystem. --cwillu Warning: cwillu may cause excessive warnings. -- To unsubscribe from this list: send the line unsubscribe

Re: mount errors

2011-11-21 Thread cwillu
On Mon, Nov 21, 2011 at 5:29 PM, René Vangsgaard rene.vangsga...@gmail.com wrote: Thank you for answering. 2) I get this error when mounting: couldn't open because of unsupported option features (8). fsck.btrfs: disk-io.c:679: open_ctree_fd: Assertion `!(1)' failed. You're running an

Re: mount errors

2011-11-22 Thread cwillu
On Tue, Nov 22, 2011 at 7:01 AM, René Vangsgaard rene.vangsga...@gmail.com wrote: I have decided to update progs from git. The instructions on the wiki do not really help me out (for example I cannot checkout branch for-chris). Can anyone tell me what branch (probably integration) to use on

Re: Announcing btrfs-gui

2011-11-23 Thread cwillu
On Wed, Nov 23, 2011 at 6:33 AM, Hugo Mills h...@carfax.org.uk wrote: On Sat, Nov 12, 2011 at 01:24:57AM +0100, Amedee Van Gasse wrote: On 02-06-11 01:20, Hugo Mills wrote:    Unless the traffic gets too high-volume, or unless someone important objects, I'm going to suggest that bug reports

Can't mount removable device if device name changes.

2010-04-10 Thread cwillu
I've got a btrfs on an sd card, which I'm using as the root fs on a beagle. That's not the problem :) The machine I generate my images on has an internal sd reader, and I also have a usb card reader. After creating the fs on the internal reader, I ended up plugging it in on the external reader.

Mysteriously changing RAID levels

2010-06-16 Thread cwillu
I just noticed today that btrfs fi df / no longer reports any raid level on Metadata or Data. I know as of Jun 4 that Data was RAID1 and Metadata was DUP (I had posted my df output to irc). I've already checked that I didn't revert to an old version of btrfs-progs, and am at a bit of a loss to

Re: birgers RFE #2

2010-08-13 Thread cwillu
And none of them are what I would consider remotely useful for backups. (What, you guys don't backup to external media?) :) Attached is my nightly backup script, edit it to suit, and dump a symlink into /etc/cron.daily or whatever. It requires a btrfs target (rather than source). backup

Re: Francis Galiegue would like your help testing a survey

2010-09-28 Thread cwillu
Question 16 needs an other option, or some elaboration (I've had things fixed via tool patches from developers). -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: Another checksum error bugreport

2010-09-29 Thread cwillu
Which kernel is that? It was one of the 2.6.35 versions from the Ubuntu repository. I'm running Ubuntu 10.04 Server. Since 2.6.32 works, you should report that bug to Ubuntu. Alternatively, retest using ubuntu's mainline kernel ppa (http://kernel.ubuntu.com/~kernel-ppa/mainline/), which

Re: Another checksum error bugreport

2010-09-29 Thread cwillu
On Wed, Sep 29, 2010 at 8:31 AM, Sebastian 'gonX' Jensen g...@overclocked.net wrote: On 29 September 2010 15:15, cwillu cwi...@cwillu.com wrote: Which kernel is that? It was one of the 2.6.35 versions from the Ubuntu repository. I'm running Ubuntu 10.04 Server. Since 2.6.32 works, you

[PATCH] Make df report effective sizes, not physical sizes

2010-10-20 Thread cwillu
This currently applies on top of Josef's df patches. Currently, a series of utilities are necessary to get an approximate answer to the question How much disk space do I have free?. Previously, df returned numbers which, while accurate, weren't useful: the physical disk size isn't

Re: Kernel 2.6.36 btrfs csum bugreport

2010-10-31 Thread cwillu
Today while playing around with btrfs I uncovered what must be a bug in the btrfs checksum code. My kernel log received a couple of these messages with various ino and off numbers: btrfs csum failed ino 5098 off 524288 csum 2981133980 private 959545494 [..] This happens on reading from

Re: Horrible btrfs performance due to fragmentation

2010-10-31 Thread cwillu
On Sun, Oct 31, 2010 at 1:58 PM, Felipe Contreras felipe.contre...@gmail.com wrote: On Mon, Oct 11, 2010 at 6:46 PM, Calvin Walton calvin.wal...@gmail.com wrote: On Mon, 2010-10-11 at 03:30 +0300, Felipe Contreras wrote: I use btrfs on most of my volumes on my laptop, and I've always felt

Re: How to see raid level?!

2010-11-01 Thread cwillu
On Mon, Nov 1, 2010 at 4:17 AM, Felix Blanke felixbla...@gmail.com wrote: Hi, I saw some reports of ppl in this list who did a btrfs fi df /path and saw the raidlevel of the data, metadata etc. How? :) I'm using the git version of the btrfs progs and 2.6.36, but I don't see those

Re: Kernel 2.6.36 btrfs csum bugreport

2010-11-01 Thread cwillu
On Mon, Nov 1, 2010 at 4:55 AM, Daniel J Blueman daniel.blue...@gmail.com wrote: On 1 November 2010 00:35, Andreas Bauer a...@voltage.de wrote: So I conclude that these messages are faulty because data is read correctly.  In addition, when you have more than one btrfs you cannot see from the

Re: How to see raid level?!

2010-11-01 Thread cwillu
On Mon, Nov 1, 2010 at 6:14 AM, Felix Blanke felixbla...@gmail.com wrote: Ah, the magic one :) Is that a patch for the kernel or the btrfs progs? If you know where to get that patch it would be nice. It isn't an important issue but it would be nice to see if my home really uses raid1 for

Re: btrfs filesystem defragment error

2010-11-08 Thread cwillu
On Mon, Nov 8, 2010 at 5:33 PM, Leonidas Spyropoulos artafi...@gmail.com wrote: While on Ubuntu 10.10 I cannot get defragment working. ing...@selene:~$ btrfs filesystem defragment /media/Data/ ioctl failed on /media/Data/ ret -1 errno 1 total 1 failures ... Is it implemented on kernel

Re: btrfs problems and fedora 14

2010-11-24 Thread cwillu
On Wed, Nov 24, 2010 at 1:32 AM, david grant d...@david-grant.com wrote: Hugo, you told me how to mount a snapshot. Thank you, that works but you didn't tell me how to boot into it. He also gave you the command to set the default subvolume/snapshot used if you don't provide one: btrfs

Re: btrfs problems and fedora 14

2010-11-26 Thread cwillu
!! So, cwillu, after your scolding of me and your (perfectly reasonable) questioning of my understanding, I did get it together for booting. BUT I am still left with the problem that caused it for me: how do I backup (clone?) a btrfs file system with snapshots to another btrfs partition (apart

Re: 800 GByte free, but no space left

2010-12-05 Thread cwillu
On Sun, Dec 5, 2010 at 1:48 AM, Helmut Hullen hul...@t-online.de wrote: Hallo, Evert, Du meintest am 04.12.10 zum Thema Re: 800 GByte free, but no space left: On Sat, Dec 4, 2010 at 10:17 AM, Helmut Hullen hul...@t-online.de wrote: Hallo, I wrote am 02.12.10: I use 2 disks (1.5 Tbyte

Re: 800 GByte free, but no space left

2010-12-05 Thread cwillu
On Sun, Dec 5, 2010 at 3:51 AM, Helmut Hullen hul...@t-online.de wrote: Hallo, cwillu, Du meintest am 05.12.10: I am not an expert on this by a long shot, but it looks like you added these two disks in raid0. I won't hope that this error is related to RAID0, I haven't installed (as far

Re: 3.5.0-rc6: btrfs and LVM snapshots - wrong devicename in /proc/mounts

2012-07-09 Thread cwillu
On Mon, Jul 9, 2012 at 4:22 PM, Arnd Hannemann a...@arndnet.de wrote: Hi, using btrfs with LVM snapshots seems to be confusing /proc/mounts After mounting a snapshot of an original filesystem, the devicename of the original filesystem is overwritten with that of the snapshot in /proc/mounts.

Re: bug: raid10 filesystem has suddenly ceased to mount

2012-07-14 Thread cwillu
Try -o recovery under a 3.4 or later kernel On Sat, Jul 14, 2012 at 12:48 AM, Иван Смирнов feliz.cha.cha@gmail.com wrote: Hi! The problem is that the BTRFS raid10 filesystem without any understandable cause refuses to mount. Here is dmesg output: [77847.845540] device label

Re: Change small filesystem to normal

2012-07-22 Thread cwillu
On Sun, Jul 22, 2012 at 10:55 PM, Swâmi Petaramesh sw...@petaramesh.org wrote: You're painfully right Roman, A freshly formatted 1 GB BTRFS filesystem on which 81 MB of data has been put shows only ~260 MB of free space and reserves something like 2 x 380 MB of metadata. This is absolutely

Re: Change small filesystem to normal

2012-07-22 Thread cwillu
* Note that 1gb is still considered a very rather btrfs filesystem, for which mixed mode is recommended! Deleted the wrong word: a rather small btrfs filesystem is what I intended. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to

Re: No/bad auto-detection of fs type for small volumes (related to mixed metadata/data?)

2012-07-25 Thread cwillu
On Tue, Jul 24, 2012 at 6:39 PM, Marios Titas redneb8...@gmail.com wrote: When I create a btrfs volume of size strictly less than 256 MiB then if I do mount /dev/sdb1 /mnt/test the kernel tries unsuccessfully to do the mount with many other file systems before successfully trying with

Re: [PATCH 07/16] btrfs: nuke write_super from comments

2012-07-25 Thread cwillu
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index ecaad40..9f2416c 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -1738,10 +1738,6 @@ int btrfs_init_new_device(struct btrfs_root *root, char *device_path) device-fs_devices = root-fs_info-fs_devices; -

Re: BTRFS crash on mount with 3.4.4

2012-07-31 Thread cwillu
[ 186.277795] Btrfs detected SSD devices, enabling SSD mode [ 188.477443] btrfs: unlinked 6 orphans [ 188.477451] btrfs: truncated 1 orphans [ 411.837015] btrfs: unlinked 13 orphans [ 414.373500] btrfs: unlinked 35 orphans This seems to hint that I lost random files and that I don't

Re: [PATCH] Btrfs: barrier before waitqueue_active

2012-08-02 Thread cwillu
On Thu, Aug 2, 2012 at 4:46 AM, Liu Bo liub.li...@gmail.com wrote: On 08/02/2012 04:25 AM, Josef Bacik wrote: We need an smb_mb() before waitqueue_active to avoid missing wakeups. Before Mitch was hitting a deadlock between the ordered flushers and the transaction commit because the ordered

Re: raw partition or LV for btrfs?

2012-08-14 Thread cwillu
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 LVM has finer granularity though, you can do something

Re: raw partition or LV for btrfs?

2012-08-14 Thread cwillu
On Tue, Aug 14, 2012 at 8:21 AM, Fajar A. Nugraha l...@fajar.net wrote: 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

Re: Unable to mount/restore partition after eSATA fail

2012-08-24 Thread cwillu
You _need_ to use a recent kernel; 2.6.32 is nearly 3 years old, which is prehistoric in btrfs terms. It may Just Work in 3.5; if it doesn't, try 3.5 with -o recovery. On Fri, Aug 24, 2012 at 2:30 PM, Stefan Harwarth mailingli...@harwarth.de wrote: Hi btrfs people, I've been using btrfs for 2

Re: Unable to mount/restore partition after eSATA fail

2012-08-26 Thread cwillu
On Sun, Aug 26, 2012 at 4:22 PM, Stefan Harwarth mailingli...@harwarth.de wrote: Hi cwillu, thanks for the quick reply. I didn't realize that my debian 6 was shipping such an old btrfs/kernel package - though I should have known better :( Anyways I already tried to recover my files

Re: Advice on FS corruption

2012-09-03 Thread cwillu
On Mon, Sep 3, 2012 at 8:23 AM, Sam Thursfield sam.thursfi...@codethink.co.uk wrote: Hi I've been running btrfs in various VMs for a while, and periodically I've experienced corruption in the filesystems being used. None of the data is important, but I'd like to track down how the corruption

Re: [PATCH] btrfs: fix disk-io.c/btrfs_read_dev_super with BTRFS_SUPER_MIRROR_MAX to control the loops

2012-09-10 Thread cwillu
On Mon, Sep 10, 2012 at 12:38 AM, Wang Sheng-Hui shh...@gmail.com wrote: To check the duplicated super blocks, use BTRFS_SUPER_MIRROR_MAX as the loops limit. Signed-off-by: Wang Sheng-Hui shh...@gmail.com --- fs/btrfs/disk-io.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

  1   2   3   >