From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Liu Subject: Re: mount a multi-device filesystem using a loopback device Date: Thu, 08 Sep 2011 14:31:20 +0800 Message-ID: <4E686138.8040408@oracle.com> References: <4E66F090.4030507@oracle.com> <4E6712CC.3040404@oracle.com> Reply-To: jeff.liu@oracle.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Cc: cwillu , linux-btrfs@vger.kernel.org To: C Anthony Risinger Return-path: In-Reply-To: List-ID: On 09/08/2011 01:32 PM, C Anthony Risinger wrote: > On Wed, Sep 7, 2011 at 1:44 AM, Jeff Liu wrote: >> On 09/07/2011 12:37 PM, cwillu wrote: >>>> 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 filesystem require special handling, mixed block >>> groups in particular, which I believe also requires an updated mkfs >>> from the integration repo. >> Thanks for your response, however, even if I enlarged the image size to 2G, >> still got no luck. >> Per Zefan's comments, run 'btrfs device scan' fixed this issue. > you should be able to achieve this via `device=` mount option(s?) as well: > > https://btrfs.wiki.kernel.org/index.php/Getting_started#Mount_Options > > ... for completeness :-) ... and posterity or whatever. Nice, thanks for your sharing. 8-) -Jeff > C Anthony > -- > 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