[chbot] Urgent help with disk partitioning

Robin Gilks gb7ipd at gmail.com
Thu Jul 20 01:13:09 BST 2023


/proc/mdstat tells me I have to wait another 6 hours before I find out if
it's OK !!
It's only 3x 3Tb drives but rehacking the parity to the new disk (the array
is about full) means writing nearly 3Tb.

I'll try & remember how I did this current machine as that is 3x4Tb with a
4Tb hot spare but at least I won't be shopping for a compatible drive after
8 years so long as the standby works OK.


On Thu, Jul 20, 2023 at 11:45 AM Blair Inglis <blair.inglis at gmail.com>
wrote:

> g for new gpt table
> n for new partition (creates a linux partition)
> t to change type, 29 is linux raid
> w to save and exit
>
> there's a guide on the-geek-diary.com that says to use sfdisk to copy a
> good disks table to the new disk before rebuilding the array.
>
> check mdadm --detail to see if its rebuilding (prob take ages)
>
> On Thu, 20 Jul 2023, 10:38 Robin Gilks, <gb7ipd at gmail.com> wrote:
>
>> I'm replacing a failed disk in my raid array but I can't get it to show
>> the partition data the same as the other 2 disks.
>> SDA and SDD are the OK drives and they display (under both parted and
>> fdisk) a primary partition with no filesystem. The new one is SDC
>> If I try to create a primary partition on SDC both apps  create a
>> filesystem (fdisk type 83, parted ext2 - didn't check type).
>>
>> Anyone know the magic sauce?
>>
>>
>> Model: ATA ST3000DM001-1ER1 (scsi)
>> Disk /dev/sda: 3001GB
>> Sector size (logical/physical): 512B/4096B
>> Partition Table: gpt
>> Disk Flags:
>>
>>
>> Number  Start   End     Size    File system  Name     Flags
>>  1      1049kB  3001GB  3001GB               primary
>>
>>
>> Model: ATA ST3000DM008-2DM1 (scsi)
>> Disk /dev/sdc: 3001GB
>> Sector size (logical/physical): 512B/4096B
>> Partition Table: gpt
>> Disk Flags:
>>
>> Number  Start  End  Size  File system  Name  Flags
>>
>>
>> Model: ATA ST3000DM001-1ER1 (scsi)
>> Disk /dev/sdd: 3001GB
>> Sector size (logical/physical): 512B/4096B
>> Partition Table: gpt
>> Disk Flags:
>>
>> Number  Start   End     Size    File system  Name     Flags
>>  1      1049kB  3001GB  3001GB               primary
>>
>>
>> --
>> Robin Gilks
>>
>> _______________________________________________
>> Chchrobotics mailing list Chchrobotics at lists.ourshack.com
>> https://lists.ourshack.com/mailman/listinfo/chchrobotics
>> Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/
>> Meetings usually 3rd Monday each month. See http://kiwibots.org for
>> venue, directions and dates.
>> When replying, please edit your Subject line to reflect new subjects.
>
> _______________________________________________
> Chchrobotics mailing list Chchrobotics at lists.ourshack.com
> https://lists.ourshack.com/mailman/listinfo/chchrobotics
> Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/
> Meetings usually 3rd Monday each month. See http://kiwibots.org for
> venue, directions and dates.
> When replying, please edit your Subject line to reflect new subjects.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/chchrobotics/attachments/20230720/d51c9130/attachment-0001.html>


More information about the Chchrobotics mailing list