From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dkim1.fusionio.com ([66.114.96.53]:33307 "EHLO dkim1.fusionio.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757126Ab3JNP1D convert rfc822-to-8bit (ORCPT ); Mon, 14 Oct 2013 11:27:03 -0400 Received: from mx2.fusionio.com (unknown [10.101.1.160]) by dkim1.fusionio.com (Postfix) with ESMTP id 49EF77C04D8 for ; Mon, 14 Oct 2013 09:27:02 -0600 (MDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 To: Saul Wold From: Chris Mason In-Reply-To: <525C0CE8.2040401@linux.intel.com> CC: "linux-btrfs@vger.kernel.org" References: <523B4036.7030204@linux.intel.com> <20130928122952.31924.54312@localhost.localdomain>, <524B3585.1060407@linux.intel.com> <525C0CE8.2040401@linux.intel.com> Message-ID: <20131014152655.4917.80616@localhost.localdomain> Subject: Re: Issue building a file based rootfs image with mkfs.btrfs Date: Mon, 14 Oct 2013 11:26:55 -0400 Sender: linux-btrfs-owner@vger.kernel.org List-ID: Hi Saul, Sorry for the delay, I'll push the patch out this afternoon. -chris Quoting Saul Wold (2013-10-14 11:25:28) > On 10/01/2013 06:18 PM, Chris Mason wrote: > > Hi Saul, > > > > The patch ended up a little bigger than I expected because it is sharing infrastructure with btfs-convert. Travel added a little more delay, but I'm almost there. > > > > Any news on this patch? > > Sau! > > > -chris > > ________________________________________ > > From: Saul Wold [sgw@linux.intel.com] > > Sent: Tuesday, October 01, 2013 4:50 PM > > To: Chris Mason > > Cc: linux-btrfs@vger.kernel.org > > Subject: Re: Issue building a file based rootfs image with mkfs.btrfs > > > > On 09/28/2013 05:29 AM, Chris Mason wrote: > >> Quoting Saul Wold (2013-09-19 14:19:34) > >>> Hi there, > >>> > >>> I am attempting to build a rootfs image from an existing rootfs > >>> directory tree. I am using the 0.20 @ 194aa4a of Chris's git repo. > >>> > >>> The couple problem I saw was that the target image file needed to exist, > >>> although I think I can patch that then the FS size was much larger than > >>> the actual size, I tracked this to the usage of ftw not accounting for > >>> symlinks, I have a patch for that which I will send once I finish > >>> getting the other issues resolved. > >>> > >>> Next issue I hit was an assertion failure after getting "not enough free > >>> space" message: > >>> > >>> not enough free space > >>> add_file_items failed > >>> unable to traverse_directory > >>> Making image is aborted. > >>> mkfs.btrfs: mkfs.c:1542: main: Assertion `!(ret)' failed. > >>> > >>> I am kind of stuck on this one, took it as far as I can right now. > >>> Would I be better off dropping back to 0.19 or can we move forward > >>> fixing this? > >> > >> Hi Saul, > >> > >> Update on my end, the problem is the image code expects every file to > >> fit inside a single chunk. It's only creating 8MB chunks, so any file > >> over 8MB in size is causing problems. > >> > >> I'm fixing it up here, I should have a patch for you on Monday. > >> > > Any update on this? Just curious. > > > > Thanks > > Sau! > > > >> Thanks! > >> > >> -chris > >> > >> -- > >> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > >> the body of a message to majordomo@vger.kernel.org > >> More majordomo info at http://vger.kernel.org/majordomo-info.html > >>