Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Leslie Rhorer <lesrhorer@att.net>
To: Linux RAID <linux-raid@vger.kernel.org>
Subject: Re: Need to move RAID1 with mounted partition
Date: Wed, 20 Apr 2022 07:16:02 -0500	[thread overview]
Message-ID: <be2d6ae7-ab3d-e339-cddb-1f5cfb709edd@att.net> (raw)
In-Reply-To: <20220420110810.x2ydoqhyeuocnrwy@bitfolk.com>



On 4/20/2022 6:08 AM, Andy Smith wrote:
> Hello,
> 
> On Wed, Apr 20, 2022 at 03:40:12AM -0500, Leslie Rhorer wrote:
>> The third partition on each drive is assigned as swap, and of
>> course it was easy to resize those partitions, leaving an
>> additional 512MB between the second and third partitions on each
>> drive.  All I need to do is move the second partition on each
>> drive up by 512MB.
> 
> I'd be tempted to just make these two new 512M spaces into new
> partitions for a RAID-1 and move your /boot to that, abandoning the
> RAID-1 you have for the /boot that is using the partitions at the
> start of the disk. What would you lose? A couple of hundred MB?
> Exchanged for a much easier life.
> 
> You could do away with the swap partitions entirely and use swap
> files instead.
> 
> You could recycle the first partitions as swap, too.
> 
> Cheers,
> Andy

	Well, the idea is moot, since I have already moved the partitions.  (It 
took less than 10 minutes.) Of course, I could do as you say, but I 
don't really see the advantages.  How would my life be easier?  I looked 
into swap files rather than partitions some time ago.  I don't recall 
all the reasons, but I decided to keep the swap partitions.

      parent reply	other threads:[~2022-04-20 12:16 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-31 16:44 Trying to rescue a RAID-1 array Bruce Korb
2022-03-31 17:06 ` Wols Lists
2022-03-31 18:14   ` Bruce Korb
2022-03-31 21:34     ` Wols Lists
2022-04-01 17:59       ` Bruce Korb
2022-04-01 18:21         ` Bruce Korb
2022-04-01 19:45           ` Wol
2022-04-01 20:23             ` Bruce Korb
2022-04-01 21:02               ` Wol
2022-04-01 21:24                 ` Bruce Korb
2022-04-01 21:33                   ` Wol
2022-04-20  8:40           ` Need to move RAID1 with mounted partition Leslie Rhorer
2022-04-20  8:55             ` Roman Mamedov
2022-04-20  9:21               ` Leslie Rhorer
2022-04-20 11:08             ` Andy Smith
2022-04-20 12:07               ` Pascal Hambourg
2022-04-20 12:24                 ` Leslie Rhorer
2022-04-20 12:16               ` Leslie Rhorer [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=be2d6ae7-ab3d-e339-cddb-1f5cfb709edd@att.net \
    --to=lesrhorer@att.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox