Charity/Donation

2016-01-04 Thread Skoll, Jeff
Hi, My name is Jeffrey Skoll, a philanthropist and the founder of one of the largest private foundations in the world. I believe strongly in ‘giving while living.’ I had one idea that never changed in my mind — that you should use your wealth to help people and I have decided to secretly give US

Re: [PATCH] Btrfs: Intialize btrfs_root->highest_objectid when loading tree root and subvolume roots

2016-01-04 Thread Chandan Rajendra
On Sunday 03 Jan 2016 00:02:18 james harvey wrote: > Bump. > > Pretty sure I just ran into this, outside of a testing scenario. See > http://permalink.gmane.org/gmane.comp.file-systems.btrfs/51796 > > Looks like the patch was never committed. > Thanks for pointing this out. I will rebase & test

Re: [PATCH] btrfs-progs: Format change for btrfs fi df

2016-01-04 Thread Qu Wenruo
Hi David, Would you please consider merge this patch? As current output is already quite confusing for a lot of users who are not familiar with btrfs. Thanks, Qu Qu Wenruo wrote on 2015/12/14 13:19 +0800: The GlobalReserve space in 'btrfs fi df' is always confusing for a lot of users. As it

Re: Crash, boot mount failure: "corrupt leaf, slot offset bad"

2016-01-04 Thread Qu Wenruo
Chris Bainbridge wrote on 2016/01/04 17:05 +: Kernel 4.4.0-rc7 System is Macbook with 109GB btrfs partition on SSD System crashed (nothing in syslog, could have been btrfs or possibly GPU fault shortly after running xrandr). After hard reset the btrfs partition was corrupt and would not mo

Re: Computer freezes, btrfs check reports bad extent ... type mismatch with chunk

2016-01-04 Thread Qu Wenruo
Sylvain Joyeux wrote on 2016/01/04 17:25 -0200: I currently have a btrfs partition that, when mounted, ends up freezing my system. The only error I get when running btrfs check on it is a whole lot of "bad extent ... type mismatch with chunk" I've added the patch https://patchwork.kernel.org/p

Re: Computer freezes, btrfs check reports bad extent ... type mismatch with chunk

2016-01-04 Thread Henk Slager
What does btrfs-show-super /dev/sda5 list as output for incompat_flags ? On Mon, Jan 4, 2016 at 8:25 PM, Sylvain Joyeux wrote: > I currently have a btrfs partition that, when mounted, ends up > freezing my system. The only error I get when running btrfs check on > it is a whole lot of "ba

Re: [PATCH 06/11] reflink: more tests

2016-01-04 Thread Darrick J. Wong
On Mon, Dec 21, 2015 at 05:31:11PM +1100, Dave Chinner wrote: > On Sat, Dec 19, 2015 at 01:11:31AM -0800, Darrick J. Wong wrote: > > Add more tests for unaligned copy-on-write things, and explicitly > > test the ability to pass "len == 0" to mean reflink/dedupe all > > the way to the end of the fil

Computer freezes, btrfs check reports bad extent ... type mismatch with chunk

2016-01-04 Thread Sylvain Joyeux
I currently have a btrfs partition that, when mounted, ends up freezing my system. The only error I get when running btrfs check on it is a whole lot of "bad extent ... type mismatch with chunk" I've added the patch https://patchwork.kernel.org/patch/7687611/ on top of btrfs-progs v4.3.1 ( 7c3394e

Re: Purposely using btrfs RAID1 in degraded mode ?

2016-01-04 Thread Chris Murphy
On Mon, Jan 4, 2016 at 10:00 AM, Alphazo wrote: > I have tested the above use case with a couple of USB flash drive and > even used btrfs over dm-crypt partitions and it seemed to work fine > but I wanted to get some advices from the community if this is really > a bad practice that should not be

Crash, boot mount failure: "corrupt leaf, slot offset bad"

2016-01-04 Thread Chris Bainbridge
Kernel 4.4.0-rc7 System is Macbook with 109GB btrfs partition on SSD System crashed (nothing in syslog, could have been btrfs or possibly GPU fault shortly after running xrandr). After hard reset the btrfs partition was corrupt and would not mount. I took an image of the partition (some of the out

Purposely using btrfs RAID1 in degraded mode ?

2016-01-04 Thread Alphazo
Hello, My picture library today lies on an external hard drive that I sync on a regular basis with a couple of servers and other external drives. I'm interested by the on-the-fly checksum brought by btrfs and would like to get your opinion on the following unusual use case that I have tested: - Cr

Re: Confining scrub to a subvolume

2016-01-04 Thread Sree Harsha Totakura
On 12/30/2015 07:26 PM, Duncan wrote: > David Sterba posted on Wed, 30 Dec 2015 18:39:49 +0100 as excerpted: > >> On Wed, Dec 30, 2015 at 01:00:34AM +0100, Sree Harsha Totakura wrote: >>> Is it possible to confine scrubbing to a subvolume instead of the whole >>> file system? >> >> No. Srub reads

Broken RAID6, segfault on chunk-recover

2016-01-04 Thread Abe
Hello, Could you please help in recovering this multiple device filesystem? I went up to a point where running chunk-recover looks to be promising, but unfortunately the command will segfault consistently. This was a 8 devices Btrfs RAID6 using LSI HBA. One disk died suddenly and is 100% unavaila

Re: Filesystem hang on kernel 4.2.0 with copy reflink

2016-01-04 Thread Mark Zealey
It overflowed the dmesg buffer but hopefully contains enough cores - https://mark.zealey.org/download/btrfs_crash.txt Some other output: # mount /dev/sdb1 on / type btrfs (rw,noatime,skip_balance,subvol=@) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosu

Re: Filesystem hang on kernel 4.2.0 with copy reflink

2016-01-04 Thread Jack Wang
Hi Mark, Could you do below when the hang happens, and post the dmesg. echo w > /proc/sysrq-trigger 2016-01-04 9:35 GMT+01:00 Mark Zealey : > Hi there, I've run into a very strange hang with btrfs. I was trying to > restore a directory (postgres database) from a readonly snapshot. To do this > i

Re: [PATCH v2] btrfs-progs: Enhance chunk validation check

2016-01-04 Thread David Sterba
On Tue, Dec 15, 2015 at 10:04:01AM +0800, Qu Wenruo wrote: > Enhance chunk validation: > 1) Num_stripes >We already have such check but it's only in super block sys chunk >array. >Now check all on-disk chunks. > > 2) Chunk logical >It should be aligned to sector size. >This beh

Re: [PATCH v2 0/6] btrfs-progs: fix endian bugs and clean-ups

2016-01-04 Thread David Sterba
On Mon, Jan 04, 2016 at 10:01:28AM +0900, Byongho Lee wrote: > This is a patch-set after getting running sparse. > > There are two endian patches one is new and the other is Zach Brown's work > but we lost. And rest are just for clean-ups. > > v2: > - cover-letter: > add, 'btrfs-progs' pref

Filesystem hang on kernel 4.2.0 with copy reflink

2016-01-04 Thread Mark Zealey
Hi there, I've run into a very strange hang with btrfs. I was trying to restore a directory (postgres database) from a readonly snapshot. To do this i used the command `cp -ar --reflink=always`. This worked fine for 100s of files, however when it got to a particular file 16 kworker threads (I h