Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Kai Stian Olstad <btrfs+list@olstad.com>
To: Pierre Couderc <pierre@couderc.eu>
Cc: Qu Wenruo <quwenruo.btrfs@gmx.com>, linux-btrfs@vger.kernel.org
Subject: Re: How to erase a RAID1 (+++)?
Date: Thu, 30 Aug 2018 13:45:55 +0200	[thread overview]
Message-ID: <2010862.shSW6Xocsf@x1> (raw)
In-Reply-To: <c67143ae-e845-1b01-fdee-a7c32a208e52@couderc.eu>

On Thursday, 30 August 2018 12:01:55 CEST Pierre Couderc wrote:
> 
> On 08/30/2018 11:35 AM, Qu Wenruo wrote:
> >
> > On 2018/8/30 下午5:13, Pierre Couderc wrote:
> >> Trying to install a RAID1 on a debian stretch, I made some mistake and
> >> got this, after installing on disk1 and trying to add second disk  :
> >>
> >>
> >> root@server:~# fdisk -l
> >> Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
> >> Units: sectors of 1 * 512 = 512 bytes
> >> Sector size (logical/physical): 512 bytes / 512 bytes
> >> I/O size (minimum/optimal): 512 bytes / 512 bytes
> >> Disklabel type: dos
> >> Disk identifier: 0x2a799300
> >>
> >> Device     Boot Start        End    Sectors  Size Id Type
> >> /dev/sda1  *     2048 3907028991 3907026944  1.8T 83 Linux
> >>
> >>
> >> Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
> >> Units: sectors of 1 * 512 = 512 bytes
> >> Sector size (logical/physical): 512 bytes / 512 bytes
> >> I/O size (minimum/optimal): 512 bytes / 512 bytes
> >> Disklabel type: dos
> >> Disk identifier: 0x9770f6fa
> >>
> >> Device     Boot Start        End    Sectors  Size Id Type
> >> /dev/sdb1  *     2048 3907029167 3907027120  1.8T  5 Extended
> >>
> >>
> >> And :
> >>
> >> root@server:~# btrfs fi show
> >> Label: none  uuid: eed65d24-6501-4991-94bd-6c3baf2af1ed
> >>          Total devices 2 FS bytes used 1.10GiB
> >>          devid    1 size 1.82TiB used 4.02GiB path /dev/sda1
> >>          devid    2 size 1.00KiB used 0.00B path /dev/sdb1

I think your problem is that sdb1 is a extended partition and not a primary one or you'll need to make a logical partition inside the extended partition and use that.


-- 
Kai Stian Olstad

  parent reply	other threads:[~2018-08-30 16:05 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-29 12:49 How to erase a RAID1 ? Pierre Couderc
2018-08-29 12:52 ` Qu Wenruo
2018-08-29 14:07   ` Pierre Couderc
2018-08-30  1:24     ` Qu Wenruo
2018-08-30  9:13       ` How to erase a RAID1 (+++)? Pierre Couderc
2018-08-30  9:35         ` Qu Wenruo
2018-08-30 10:01           ` Pierre Couderc
2018-08-30 10:09             ` Qu Wenruo
2018-08-30 11:45             ` Kai Stian Olstad [this message]
2018-08-30 15:21         ` Alberto Bursi
2018-08-30 17:33           ` Chris Murphy
2018-08-30 17:44             ` Chris Murphy
2018-08-30 17:08         ` Chris Murphy
2018-08-31  2:29           ` Duncan
2018-08-31  6:53             ` Pierre Couderc
2018-08-31 14:54               ` Alberto Bursi
2018-08-31 15:58                 ` Pierre Couderc
2018-08-31 16:38                 ` Duncan
2018-08-31  6:41           ` Pierre Couderc

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=2010862.shSW6Xocsf@x1 \
    --to=btrfs+list@olstad.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=pierre@couderc.eu \
    --cc=quwenruo.btrfs@gmx.com \
    /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