Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* Sparse files and block devices
@ 2011-08-08  5:55 Randy Barlow
  2011-08-08  6:13 ` Tsutomu Itoh
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Barlow @ 2011-08-08  5:55 UTC (permalink / raw)
  To: linux-btrfs

I started playing with btrfs last night, and I must say that I am very
excited! I do have one question so far. Since I was learning, I created
a sparse file, and then used mkfs to get a btrfs filesystem. I
entertained myself with that for a while, and then decided that I wanted
to try out the multi device support. I found that the device add command
requires the device to be a block device, and wouldn't accept another
sparse file that I had created. Is there a workaround, or is that just
the way it is?

I ended up just making a logical volume to get the second block device.

Thanks for making such a cool fs!

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

* Re: Sparse files and block devices
  2011-08-08  5:55 Sparse files and block devices Randy Barlow
@ 2011-08-08  6:13 ` Tsutomu Itoh
  0 siblings, 0 replies; 2+ messages in thread
From: Tsutomu Itoh @ 2011-08-08  6:13 UTC (permalink / raw)
  To: Randy Barlow; +Cc: linux-btrfs

(2011/08/08 14:55), Randy Barlow wrote:
> I started playing with btrfs last night, and I must say that I am very
> excited! I do have one question so far. Since I was learning, I created
> a sparse file, and then used mkfs to get a btrfs filesystem. I
> entertained myself with that for a while, and then decided that I wanted
> to try out the multi device support. I found that the device add command
> requires the device to be a block device, and wouldn't accept another
> sparse file that I had created. Is there a workaround, or is that just
> the way it is?

I think that you can use 'losetup' command for this end.

  -Tsutomu

>
> I ended up just making a logical volume to get the second block device.
>
> Thanks for making such a cool fs!


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

end of thread, other threads:[~2011-08-08  6:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-08  5:55 Sparse files and block devices Randy Barlow
2011-08-08  6:13 ` Tsutomu Itoh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox