Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Sjoerd <sjoerd@sjomar.eu>
To: linux-btrfs@vger.kernel.org
Subject: Re: raw devices or partitions?
Date: Sat, 26 Sep 2015 16:58:22 +0200	[thread overview]
Message-ID: <1989142.6nohd6ZIPH@hoefnix> (raw)
In-Reply-To: <pan$b1277$da5af759$7c0940dd$1bc738e@cox.net>

On Saturday 26 September 2015 01:43:32 Duncan wrote:
> Sjoerd posted on Fri, 25 Sep 2015 15:40:39 +0200 as excerpted:
> > Is it better to use raw devices for a RAID setup or make one partition
> > on the drive and then create your RAID from there?
> > Right now if have one setup that uses raw, but get messages "unknown
> > partition table" all the time in my logs.
> > I am planning to create a RAID 5 setup (seems to be stable these days?),
> > but wondering  to deal with  raw drives or partitions (4 at the moment).
> > In the wiki they're referring to raw devices in the examples, but that
> > could be outdated?
> 
> Raw device vs. partition (vs mdraid vs dmraid vs lvm) doesn't matter to
> btrfs.  They're all block devices.
> 
> That unknown partition table log entry is from elsewhere in the kernel,
> where it would normally read partition tables if there were any to read.
> It's simply telling you it couldn't find any, to help with diagnostics in
> case there's supposed to be one.  But if you deliberately used a raw
> device, there isn't supposed to be a partition table, so no big deal.
> 
> So just ignore the warning as the diagnostic aid for a case that doesn't
> apply to you, if you like.  Or if you find it irritating enough that
> isn't possible, then do the big partition thing and disappear the
> warning.  No big deal either way. =:^)
>

I went for the raw devices since that's more simple ;)
Weirdly enough on this raid5 setup I don't get those partition messages.
Maybe it has something to do with the complaining machine being external USB 
disks... 

Cheers,
Sjoerd



      reply	other threads:[~2015-09-26 14:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-25 13:40 raw devices or partitions? Sjoerd
2015-09-26  1:43 ` Duncan
2015-09-26 14:58   ` Sjoerd [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1989142.6nohd6ZIPH@hoefnix \
    --to=sjoerd@sjomar.eu \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox