linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Issue building a file based rootfs image with mkfs.btrfs
@ 2013-09-19 18:19 Saul Wold
  2013-09-22 18:28 ` Saul Wold
  2013-09-28 12:29 ` Chris Mason
  0 siblings, 2 replies; 11+ messages in thread
From: Saul Wold @ 2013-09-19 18:19 UTC (permalink / raw)
  To: linux-btrfs


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?

Thanks

-- 
     Sau!

Saul Wold
Yocto Component Wrangler @ Intel
Yocto Project / Poky Build System


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-10-14 20:51 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-19 18:19 Issue building a file based rootfs image with mkfs.btrfs Saul Wold
2013-09-22 18:28 ` Saul Wold
2013-09-28 12:29 ` Chris Mason
2013-09-28 17:51   ` Saul Wold
2013-10-01 14:35     ` David Sterba
2013-10-01 14:56       ` Wang Shilong
2013-10-01 20:50   ` Saul Wold
2013-10-02  1:18     ` Chris Mason
2013-10-14 15:25       ` Saul Wold
2013-10-14 15:26         ` Chris Mason
2013-10-14 20:51           ` Chris Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).