RAID6 duplicate device in array after replacing a drive. what the?

2015-09-21 Thread Rob
Hi all, I managed to get a test raid6 into a strange state after removing a drive that was going faulty, putting in a blank replacement and then mounting with -o degraded uname -a Linux urvile 4.1.7-v7+ #815 SMP PREEMPT Thu Sep 17 18:34:33 BST 2015 armv7l GNU/Linux btrfs --version btrfs-progs

[PATCH] btrfs: Fix no space bug caused by removing bg

2015-09-21 Thread Zhao Lei
btrfs in v4.3-rc1 failed many xfstests items with '-o nospace_cache' mount option. Failed cases are: btrfs/008,016,019,020,026,027,028,029,031,041,046,048,050,051,053,054, 077,083,084,087,092,094 generic/004,010,014,023,024,074,075,080,086,087,089,091,092,100,112,123, 124,125,126,127,131,133,1

Re: [PATCH] btrfs: Fix no space bug caused by removing bg

2015-09-21 Thread Filipe David Manana
On Mon, Sep 21, 2015 at 1:59 PM, Zhao Lei wrote: > btrfs in v4.3-rc1 failed many xfstests items with '-o nospace_cache' > mount option. > > Failed cases are: > btrfs/008,016,019,020,026,027,028,029,031,041,046,048,050,051,053,054, > 077,083,084,087,092,094 Hi Zhao, So far I tried a few of thos

Re: [PATCH] btrfs: Fix no space bug caused by removing bg

2015-09-21 Thread Filipe David Manana
On Mon, Sep 21, 2015 at 2:27 PM, Filipe David Manana wrote: > On Mon, Sep 21, 2015 at 1:59 PM, Zhao Lei wrote: >> btrfs in v4.3-rc1 failed many xfstests items with '-o nospace_cache' >> mount option. >> >> Failed cases are: >> btrfs/008,016,019,020,026,027,028,029,031,041,046,048,050,051,053,054

Btrfs partition gets remounted as read only

2015-09-21 Thread Incorporeal Waffle
I tried converting my root partition (originally ext4) to btrfs. When I booted, I discovered that my root partition is getting remounted as read only. I tried to remount it with sudo mount -o remount,rw / Didn't help. Caused some stuff to appear in dmesg though. What do? uname -a; btrfs --version

Re: Btrfs partition gets remounted as read only

2015-09-21 Thread Marc MERLIN
On Mon, Sep 21, 2015 at 02:30:21PM +, Incorporeal Waffle wrote: > I tried converting my root partition (originally ext4) to btrfs. > > When I booted, I discovered that my root partition is getting > remounted as read only. I'm afraid, last I heard, the ext4 convertion stuff was broken, and ha

Re: Btrfs partition gets remounted as read only

2015-09-21 Thread Duncan
Incorporeal Waffle posted on Mon, 21 Sep 2015 14:30:21 + as excerpted: > I tried converting my root partition (originally ext4) to btrfs. There's some known bugs with btrfs-convert currently, with current or very recent discussion on-list about how to fix it, if you check the archives. In

Re: Btrfs partition gets remounted as read only

2015-09-21 Thread Hugo Mills
(Adding OP back to cc list -- I know from IRC they're not subscribed to the list) On Mon, Sep 21, 2015 at 03:02:23PM +, Duncan wrote: > Incorporeal Waffle posted on Mon, 21 Sep 2015 14:30:21 + as excerpted: > > > I tried converting my root partition (originally ext4) to btrfs. > > There'

Re: RAID1 storage server won't boot with one disk missing

2015-09-21 Thread Erkki Seppala
Goffredo Baroncelli writes: > Hi Anand, > > > On 2015-09-17 17:18, Anand Jain wrote: >> it looks like -o degraded is going to be a very obvious feature, >> I have plans of making it a default feature, and provide -o >> nodegraded feature instead. Thanks for comments if any. >> >> Thanks, Anan

Re: RAID1 storage server won't boot with one disk missing

2015-09-21 Thread Erkki Seppala
Gareth Pye writes: > People tend to be looking at BTRFS for a guarantee that data doesn't > die when hardware does. Defaults that defeat that shouldn't be used. However, data is no more in danger at startup than it is at the moment when btrfs notices a drive dropping, yet it permits IO to procee

Re: kernel BUG at linux-4.2.0/fs/btrfs/extent-tree.c:1833 on rebalance

2015-09-21 Thread Stéphane Lesimple
Le 2015-09-20 13:14, Stéphane Lesimple a écrit : Le 2015-09-20 12:51, Qu Wenruo a écrit : Would you please use gdb to show the codes of "btrfs_qgroup_rescan_worker+0x388" ? (Need kernel debuginfo) My guess is the following line:(pretty sure, but not 100% sure) -- /* * only update s

Re: kernel BUG at linux-4.2.0/fs/btrfs/extent-tree.c:1833 on rebalance

2015-09-21 Thread Qu Wenruo
Stéphane Lesimple wrote on 2015/09/22 03:30 +0200: Le 2015-09-20 13:14, Stéphane Lesimple a écrit : Le 2015-09-20 12:51, Qu Wenruo a écrit : Would you please use gdb to show the codes of "btrfs_qgroup_rescan_worker+0x388" ? (Need kernel debuginfo) My guess is the following line:(pretty sure,

Re: RAID1 storage server won't boot with one disk missing

2015-09-21 Thread Duncan
Erkki Seppala posted on Mon, 21 Sep 2015 23:35:39 +0300 as excerpted: > Gareth Pye writes: > >> People tend to be looking at BTRFS for a guarantee that data doesn't >> die when hardware does. Defaults that defeat that shouldn't be used. > > However, data is no more in danger at startup than it

Re: [PATCH] generic/224: Increase filesystem instance size to 1.5 GiB

2015-09-21 Thread Chandan Rajendra
On Friday 11 Sep 2015 09:38:43 Qu Wenruo wrote: Qu, Sorry for the late response. My email client's filtering had broken and hence I did not see your response until now. > Hi Chandan, > > Although the reply may be a little late, but I think it's still better > to fix the bug in mkfs.btrfs. > > T