All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Andre Majorel <aym-xunil@teaser.fr>, linux-raid@vger.kernel.org
Subject: Re: RAID1 root and swap and initrd
Date: Sun, 17 Dec 2006 03:03:56 +0300	[thread overview]
Message-ID: <4584896C.7090009@tls.msk.ru> (raw)
In-Reply-To: <20061216230116.GC11400@aym.net2.nerim.net>

Andre Majorel wrote:
[]
>> So just move it to sda1 (or sda2, sda3) from sda5
> 
> Problem is, the disks are entirely used by an extended partition.
> There's nowhere to move sd?5 to.

You're using raid, so you've at least two disk drives.

remove one component off all your raid devices (second disk),
repartition the disk, re-add the components back - this will copy
data over to the second diks.  Next repeat the same procedure with
the first disk.

Or something like that -- probably only single partition (on both
disks) needs to be recreated this way.

> I think it's possible to turn the first logical partition into a
> primary partition by modifying the partition table on the MBR but
> I'm not sure I'm up for that.

It's possible to move sda5 to sda1, but not easy - because at the
start of extended partition there's a (relatively large) space for
the "logical partitions", you can't just "relabel" your partitions,
you have to actually move data.

/mjt

  reply	other threads:[~2006-12-17  0:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-15 17:56 RAID1 root and swap and initrd Andre Majorel
2006-12-15 18:30 ` thunder7
2006-12-15 19:14 ` Gordon Henderson
2006-12-16 21:05   ` Andre Majorel
2006-12-16 21:50     ` Michael Tokarev
2006-12-16 23:01       ` Andre Majorel
2006-12-17  0:03         ` Michael Tokarev [this message]
2006-12-19 21:30       ` Bill Davidsen
2006-12-21 14:45         ` Michael Tokarev
2006-12-21 18:47           ` Bill Davidsen

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=4584896C.7090009@tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=aym-xunil@teaser.fr \
    --cc=linux-raid@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 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.