ZFS problem, how Can I initialise After replacing two SAS Drives

hassoon

Active Member
Jan 27, 2020
38
0
26
64
Im having an IBM x3 server which Ive done some basic tweak to the raid and it was running ZFS on soft raidz.
everything went smooth and normal till two drives failed, which I replaced.
I did re define them in the raid bios, but I think ive forgot to do the init command from the raid bios.
Ive booted normally into proxmox and the new drives is seen
but I cant init the GPT
I get this

***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
***************************************************************

Exact type match not found for type code 7000; assigning type code for
'Linux filesystem'
Exact type match not found for type code 4300; assigning type code for
'Linux filesystem'
Exact type match not found for type code 7200; assigning type code for
'Linux filesystem'

Warning! Secondary partition table overlaps the last partition by
2601907575 blocks!
You will need to delete this partition or resize it in another utility.
Non-GPT disk; not saving changes. Use -g to override.
TASK ERROR: command '/sbin/sgdisk /dev/sdb -U R' failed: exit code 3



root@pve1:~# zpool status -v
pool: UMZPool
state: DEGRADED
status: One or more devices could not be used because the label is missing or
invalid. Sufficient replicas exist for the pool to continue
functioning in a degraded state.
action: Replace the device using 'zpool replace'.
see: http://zfsonlinux.org/msg/ZFS-8000-4J
scan: scrub repaired 0B in 0 days 00:04:10 with 0 errors on Mon Mar 23 06:24:53 2020
config:

NAME STATE READ WRITE CKSUM
UMZPool DEGRADED 0 0 0
raidz2-0 DEGRADED 0 0 0
8423912686268484589 UNAVAIL 0 0 0 was /dev/disk/by-id/wwn-0x600605b00242846025e65d84235a4096-part1
634376281589291792 UNAVAIL 0 0 0 was /dev/sdc1
wwn-0x600605b00242846025e65d84235aeefe ONLINE 0 0 0
wwn-0x600605b00242846025e65d84235b41eb ONLINE 0 0 0
wwn-0x600605b00242846025e65d84235b9dc3 ONLINE 0 0 0
wwn-0x600605b00242846025e65d84235bf87d ONLINE 0 0 0

errors: No known data errors






also see the attached screens it should show up clear things
What exactly Am I missing here?
shall I safely execute the zfs replace?
 

Attachments

  • Screenshot_2020-06-30 pve1_2.png
    Screenshot_2020-06-30 pve1_2.png
    52.3 KB · Views: 4
  • Screenshot_2020-06-30 pve1_1.png
    Screenshot_2020-06-30 pve1_1.png
    54.8 KB · Views: 4
  • Screenshot_2020-06-30 pve1 - Proxmox Virtual Environment.png
    Screenshot_2020-06-30 pve1 - Proxmox Virtual Environment.png
    18.1 KB · Views: 4
Try to run a sgdisk --zap-all /dev/you-disk.
This should remove all old partition data on it.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!