Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

"Disk in parity slot is not biggest" on adding the same disk

Featured Replies

I have two disks: one as parity, second as storage disk.

Now I want to add one more disk to storage (it is identical disk WD 4Tb). And I get an error "Disk in parity slot is not biggest".

 

New disk is /dev/sdd

root@unraid:~# fdisk -l /dev/sdb
Disk /dev/sdb: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: WDC WD40EFRX-68W
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: B918B22C-1AAD-4DD5-B9FE-B22079663C9B

Device     Start        End    Sectors  Size Type
/dev/sdb1   2048 7814037134 7814035087  3.6T Linux RAID
root@unraid:~# fdisk -l /dev/sdc
Disk /dev/sdc: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: WDC WD40EFRX-68N
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 3D6BFC43-5FE0-284D-A42C-0D6FD2BE89F9

Device     Start        End    Sectors  Size Type
/dev/sdc1   2048 7814037134 7814035087  3.6T Linux RAID
root@unraid:~# fdisk -l /dev/sdd
Disk /dev/sdd: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: WDC WD40EFPX-68C
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 1BBED37A-811B-3349-8883-DE0966FDF783

Device     Start        End    Sectors  Size Type
/dev/sdd1   2048 7814035455 7814033408  3.6T Linux filesystem

 

I see an error in hdparm, but have no idea how to fix it.

root@unraid:~# hdparm -N /dev/sdb

/dev/sdb:
 max sectors   = 7814037168/7814037168, HPA is disabled
root@unraid:~# hdparm -N /dev/sdc

/dev/sdc:
 max sectors   = 7814037168/7814037168, HPA is disabled
root@unraid:~# hdparm -N /dev/sdd

/dev/sdd:
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 04 51 40 00 21 04 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 04 51 40 01 21 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 max sectors   = 7814037168/1(1?), HPA setting seems invalid (buggy kernel device driver?)

 

Regular operations (like manual partition create, format filesystem, etc) works correctly. Problem only on attach this drive to unraid array.

I use latest unraid on HP Microserver gen8, disks connected to SATA in drive bay. 

Edited by randa.alex

Solved by JorgeB

  • Community Expert
  • Solution

This will happen if parity disk had a previous partition starting on sector 2048, if it was unpartitioned, or had an invalid layout, Unraid would have created a partition starting on sector 64, so a lithe larger, there are two solutions:

 

  1. Unassign parity, remove the partition with wipefs -a /dev/sdX, re-assign parity, Unraid will create a new partition on sector 64, parity will then need to be resynched
  2. Manually create a partition starting on sector 2048 for the new disk with the command below before assigning it to the array, then assign it and it will use that partition

                   

sgdisk -o -a 8 -n 1:1M:0 /dev/sdX

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.