From: Reindl Harald <h.reindl@thelounge.net>
To: Wol <antlists@youngman.org.uk>,
Linux RAID Mailing List <linux-raid@vger.kernel.org>
Subject: Re: change UUID of RAID devcies
Date: Tue, 13 Sep 2022 12:28:18 +0200 [thread overview]
Message-ID: <05a1161b-d798-c68f-d37c-a9fc373c6e73@thelounge.net> (raw)
In-Reply-To: <729bdc01-b0ae-887a-6d2a-5135d287636c@youngman.org.uk>
Am 12.09.22 um 23:37 schrieb Wol:
> On 12/09/2022 16:04, Reindl Harald wrote:
>> the reason for that game is that the machines are running for 10 years
>> now and all the new desktop hardware can't hold 4x3.5" disks and so
>> just put them in a new one isn't possible
>
> How many SATA ports does the mobo have? Can you --replace onto the new
> drives (especially if it's raid-10!), then just fail the remaining two
> drives?
>
> Iirc raid-10 doesn't require the drives to be the same size, so provided
> the two new drives are big enough, that should just work.
>
> Then with just two drives you change the raid to raid-1
i had this idea also and the drives have 3 partitions in that order, two
machines 4x1TB and two machines 4x2TB
/boot is a RAID1, the other two RAIDS are RAID10
/dev/md0 ext4 482M 77M 401M 17% /boot
/dev/md1 ext4 29G 8,9G 20G 31% /
/dev/md2 ext4 3,6T 2,0T 1,7T 55% /data
/dev/md0 ext4 474M 45M 426M 10% /boot
/dev/md1 ext4 39G 22G 17G 58% /
/dev/md2 ext4 1,8T 1,1T 699G 61% /data
when i understand you correctly:
* replace two disks with double sized SSD's
* partition / and /data double sized
* "mdadm /dev/md1 --add /dev/sdcX" the double sized
* wait resync
* finally remove the two old half sized
* reshape md1 and md2 to RAID1
how would the command look for "Then with just two drives you change the
raid to raid-1"?
----------
BTW: currently the machines are BIOS-boot - am i right that the 2 TB
limitation only requires that the parts which are needed for booting are
on the first 2 TB and i can use 4 TB SSD's on the two bigger machines?
in that case i think i would need GPT partitioning and does GRUB2
support booting from GPT-partitioned disks in BIOS-mode?
next prev parent reply other threads:[~2022-09-13 10:28 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-12 15:04 change UUID of RAID devcies Reindl Harald
2022-09-12 21:37 ` Wol
2022-09-13 10:28 ` Reindl Harald [this message]
2022-09-13 10:39 ` Pascal Hambourg
2022-09-13 11:12 ` Reindl Harald
2022-09-13 11:17 ` Pascal Hambourg
2022-09-13 11:30 ` Reindl Harald
2022-09-13 11:35 ` Pascal Hambourg
2022-09-13 11:39 ` Reindl Harald
2022-09-13 11:48 ` Pascal Hambourg
2022-09-13 11:50 ` Reindl Harald
2022-09-13 12:03 ` Pascal Hambourg
2022-09-13 12:21 ` Reindl Harald
2022-09-13 12:47 ` Pascal Hambourg
2022-09-13 13:02 ` Reindl Harald
2022-09-13 14:12 ` Pascal Hambourg
2022-09-13 19:32 ` Roman Mamedov
2022-09-13 19:54 ` Reindl Harald
2022-09-13 20:28 ` Roman Mamedov
2022-09-13 20:46 ` Reindl Harald
2022-09-13 20:48 ` Roman Mamedov
2022-09-13 20:56 ` Reindl Harald
2022-09-13 21:03 ` Roman Mamedov
2022-09-13 21:11 ` Reindl Harald
2022-09-13 21:13 ` Reindl Harald
2022-09-13 17:39 ` Wols Lists
2022-09-13 18:03 ` Reindl Harald
2022-09-13 19:44 ` Wol
2022-09-13 19:53 ` Reindl Harald
2022-11-27 20:03 ` Reindl Harald
2022-09-13 15:37 ` Reindl Harald
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=05a1161b-d798-c68f-d37c-a9fc373c6e73@thelounge.net \
--to=h.reindl@thelounge.net \
--cc=antlists@youngman.org.uk \
--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;
as well as URLs for NNTP newsgroup(s).