All of lore.kernel.org
 help / color / mirror / Atom feed
* Partition tables / Output of parted
@ 2014-06-04 11:19 Stefan Malte Schumacher
  2014-06-04 13:30 ` Russell Coker
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Malte Schumacher @ 2014-06-04 11:19 UTC (permalink / raw)
  To: linux-btrfs

Hello

I have created multiple filesystems with btrfs, in all cases directly
on the devices themself without creating partitions beforehand.  Now,
if I open the disks containing the multi-device filesystem in parted
it outputs the partion table as loop and shows one partition with
btrfs which covers the whole disk. Opening the disk with the
single-device fileystem in parted shows a partion table, type unknown
and no partition on the disk itself. 

I am unsure how to interpret this output. Two possible explanations
come to mind: a) Btrfs does create partitions, but only if a filesystem spans
multiple devices or b) the output of parted is faulty and no actual
partition is created in both cases. 

Could someone elaborate on this question or just point out where I can
find documentation on this issue?

Yours sincerely
Stefan 

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

* Re: Partition tables / Output of parted
  2014-06-04 11:19 Partition tables / Output of parted Stefan Malte Schumacher
@ 2014-06-04 13:30 ` Russell Coker
  2014-06-04 14:08   ` Mike Fleetwood
  0 siblings, 1 reply; 3+ messages in thread
From: Russell Coker @ 2014-06-04 13:30 UTC (permalink / raw)
  To: Stefan Malte Schumacher; +Cc: linux-btrfs

On Wed, 4 Jun 2014 13:19:16 Stefan Malte Schumacher wrote:
> I have created multiple filesystems with btrfs, in all cases directly
> on the devices themself without creating partitions beforehand.

I do that sometimes, it works well.  I've done the same thing with Ext2/3 in 
the past as well, it's no big deal.

> Now,
> if I open the disks containing the multi-device filesystem in parted
> it outputs the partion table as loop and shows one partition with
> btrfs which covers the whole disk.

http://lists.alioth.debian.org/pipermail/parted-devel/2009-May/002840.html

A Google search on "Partition Table: loop" turned up the above explanation as 
the third result.

> I am unsure how to interpret this output. Two possible explanations
> come to mind: a) Btrfs does create partitions, but only if a filesystem
> spans multiple devices or b) the output of parted is faulty and no actual
> partition is created in both cases.

BTRFS doesn't create partitions.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/


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

* Re: Partition tables / Output of parted
  2014-06-04 13:30 ` Russell Coker
@ 2014-06-04 14:08   ` Mike Fleetwood
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Fleetwood @ 2014-06-04 14:08 UTC (permalink / raw)
  To: russell; +Cc: Stefan Malte Schumacher, linux-btrfs

On 4 June 2014 14:30, Russell Coker <russell@coker.com.au> wrote:
> On Wed, 4 Jun 2014 13:19:16 Stefan Malte Schumacher wrote:
>> I have created multiple filesystems with btrfs, in all cases directly
>> on the devices themself without creating partitions beforehand.
>
> I do that sometimes, it works well.  I've done the same thing with Ext2/3 in
> the past as well, it's no big deal.
>
>> Now,
>> if I open the disks containing the multi-device filesystem in parted
>> it outputs the partion table as loop and shows one partition with
>> btrfs which covers the whole disk.
>
> http://lists.alioth.debian.org/pipermail/parted-devel/2009-May/002840.html
>
> A Google search on "Partition Table: loop" turned up the above explanation as
> the third result.
>
>> I am unsure how to interpret this output. Two possible explanations
>> come to mind: a) Btrfs does create partitions, but only if a filesystem
>> spans multiple devices or b) the output of parted is faulty and no actual
>> partition is created in both cases.
>
> BTRFS doesn't create partitions.

c) Parted (libparted) is merely displaying a pretend loop partition
table as a way to represent the situation of a file system covering
the whole disk in it's view of the world where all disks have a
partition table.

Mike

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

end of thread, other threads:[~2014-06-04 14:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-04 11:19 Partition tables / Output of parted Stefan Malte Schumacher
2014-06-04 13:30 ` Russell Coker
2014-06-04 14:08   ` Mike Fleetwood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.