[chbot] Urgent help with disk partitioning

Blair Inglis blair.inglis at gmail.com
Thu Jul 20 00:44:52 BST 2023


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/chchrobotics/attachments/20230720/5511482f/attachment.html>


More information about the Chchrobotics mailing list