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.

Silly amounts of Parity errors after Parity Swap (3billion+).

Featured Replies

Hi all hope you can help. I've just switched a 4TB Parity drive for a newer 8TB one.

I also added a second 8TB into the array, and moved the old parity drive to the array, all worked ok until a day later and the partiy check did over 3billion errors.

 

I've since done a non-correcting parity check, another 2 billion errors.


I'm literally not sure what to do at this point. I'm debating moveing all the data off the drives and starting fresh after a year of using unRaid. No idea why the file system is now unmountable, I've clearly got multiple issues here.  If anyone know what is going on, when I start a "correct parity check" it says its going to take over 3+ years.

 

After reading here, Things i've tried. I've switch ports for the two 8TB drive on the motherboard, I've bought new SATA cables, i've swapped the power cables.

 

Attached is diagonostics, along with snap of the array.

Any help is massively appreciated at this point, I'm 3 days into trying to get this to work right and i'm getting stressed out with it *sigh*

Cheers,

 

Screenshot 2023-02-19 204006.jpg

Screenshot 2023-02-19 203935.jpg

anas-diagnostics-20230219-2040.zip

Solved by cunni

  • Community Expert

Start by running memtest.

 

Edir: before memtest go to the BIOS and change the remaining 2 SATA ports from IDE to SATA/AHCI, usually ports 5 and 6, then run a correcting check followed by a non correcting one.

 

 

  • Author
3 hours ago, JorgeB said:

Start by running memtest.

 

Edir: before memtest go to the BIOS and change the remaining 2 SATA ports from IDE to SATA/AHCI, usually ports 5 and 6, then run a correcting check followed by a non correcting one.

 

 

Hi Jorge, Thanks for the speedy reply!

Had no idea ports 5 and 6 are IDE as standard, then again it's not often you use those ports. I will try this and report back.

 

Kindest regards,
Dan

  • Community Expert

Yeah, IDE mode is usually mostly a performance concern, but with those AMD chipsets it can cause a lot of different problems, including disk read/write errors and sync errors like you are seeing, pretty sure that is the problem.

  • Author

OK did what you said Jorge, thank you! it does seem to have helped somewhat but i've still got an issue, Wonder whats going on.

 

Im back to 0 errors now, parity is valid, however i'm not able to get the second 8TB drive to load into the array wihtout the error: "Unmountable: Unsupported partition layout"

 

I read deeply over several threads here, about updating to 6.11 because of an issue with version 6.10 and this error, but it still exists.

I've pre-cleared the drive, and then done a full parity to the others 0 errors. I've tired to format the 8TB drive too. I just can't get the drive to load into the error.

 

Screens shots attached and Diagnostics attached.

 

Any help would be highly apprecited.

 

Kindest regards,

Dan

 

 

raid-error2.png

raid-error1.png

anas-diagnostics-20230222-1640.zip

  • Community Expert

Was disk2 used to replaced another existing one or added as new disk to the array?

 

 

  • Author
2 hours ago, JorgeB said:

Was disk2 used to replaced another existing one or added as new disk to the array?

 


Disk 1 has never changed.

Disk 3 4TB was the old Parity drive.
Parity 8TB was added (new) to replace the now Disk 3
Disk 2 is a completely new drive in the sense that, It added fine and had data on it, but since got the unmountable issue. Luckily no data was on that drive but trying to get it back into the array seems to be an issue.

 

Cheers

Dan

  • Author

Just found one of your previous posts on another Thread JorgeB,

 

Quote

unassign the disk, start array, stop array, re-assign the disk, start array to rebuild.

 

Also done this, literally rebuilds and then throws the same error.

 

I've just just had this message:-

Quote

Unraid Disk 2 error: 22-02-2023 22:15
Alert [ANAS] - Disk 2 in error state (disk dsbl)
No device identification ()

 

Not sure if this is my issue? but it seems that Unraid can't format because No device id?

  • Author

I've removed the drive from the assigned raid array. Started the array back up without it assigned.

 

I've enabled destructive mode in UD so i can format said drive.

I went to format and I got an error. "Format Error, check logs"


Log is :

Quote

Feb 22 22:24:03 ANAS  ool www[14600]: /usr/local/emhttp/plugins/unassigned.devices/scripts/rc.settings 'save'
Feb 22 22:24:14 ANAS unassigned.devices: Format device '/dev/sdc'.
Feb 22 22:24:14 ANAS unassigned.devices: Device '/dev/sdc' block size: 15628053168.
Feb 22 22:24:14 ANAS unassigned.devices: Clearing partition table of disk '/dev/sdc'.
Feb 22 22:24:14 ANAS unassigned.devices: Clear partition result: 1+0 records in 1+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.0462953 s, 45.3 MB/s
Feb 22 22:24:16 ANAS unassigned.devices: Reloading disk '/dev/sdc' partition table.
Feb 22 22:24:16 ANAS unassigned.devices: Reload partition table result: /dev/sdc:  re-reading partition table
Feb 22 22:24:16 ANAS unassigned.devices: Creating Unraid compatible gpt partition on disk '/dev/sdc'.
Feb 22 22:24:18 ANAS unassigned.devices: Create gpt partition table result: Creating new GPT entries in memory. The operation has completed successfully.
Feb 22 22:24:21 ANAS unassigned.devices: Reloading disk '/dev/sdc' partition table.
Feb 22 22:24:21 ANAS unassigned.devices: Reload partition table result: /dev/sdc:  re-reading partition table
Feb 22 22:24:21 ANAS unassigned.devices: Formatting disk '/dev/sdc' with 'xfs' filesystem.
Feb 22 22:24:21 ANAS unassigned.devices: Format drive command: /sbin/mkfs.xfs -f '/dev/sdc1' 2>&1
Feb 22 22:24:23 ANAS unassigned.devices: Format disk '/dev/sdc' with 'xfs' filesystem failed: Error accessing specified device /dev/sdc1: No such file or directory Usage: mkfs.xfs /* blocksize */#011#011[-b size=num] /* config file */#011[-c options=xxx] /* metadata */#011#011[-m crc=0|1,finobt=0|1,uuid=xxx,rmapbt=0|1,reflink=0|1, #011#011#011    inobtcount=0|1,bigtime=0|1] /* data subvol */#011[-d agcount=n,agsize=n,file,name=xxx,size=num, #011#011#011    (sunit=value,swidth=value|su=num,sw=num|noalign), #011#011#011    sectsize=num /* force overwrite */#011[-f] /* inode size */#011[-i perblock=n|size=num,maxpct=n,attr=0|1|2, #011#011#011    projid32bit=0|1,sparse=0|1] /* no discard */#011[-K] /* log subvol */#011[-l agnum=n,internal,size=num,logdev=xxx,version=n #011#011#011    sunit=value|su=num,sectsize=num,lazy-count=0|1] /* label */#011#011[-L label (maximum 12 characters)] /* naming */#011#011[-n size=num,version=2|ci,ftype=0|1] /* no-op info only */#011[-N] /* prototype file */#011[-p fname] /* quiet */#011#011[-q] /* realtime subvol */#011[-r extsize=num,size=num,rtdev=xxx] /* sectorsize */#011[-s size=num] /* version */#011#011[-V] #011#011#011devicename <d

 

  • Community Expert
5 hours ago, JorgeB said:

Was disk2 used to replaced another existing one or added as new disk to the array?

Not entirely clear what your answer was.

 

2 hours ago, cunni said:

It added fine and had data on it

Did you put data on it after adding it, or was it a replacement of a disk that had data on it?

 

There is a difference between adding a drive and replacing a drive. If you replaced a disk, it would rebuild whatever was on the original.

 

If the disk was added to a slot that didn't have anything assigned previously, then Unraid would clear the disk so parity would remain valid. Then you would have to format the disk before you could put any data on it.

 

So, was it add or replace?

 

5 minutes ago, cunni said:

in UD so i can format said drive

Please don't format a disk that should have data on it.

 

If the disk is intended for the array, it is pointless to format it outside the array. And if you format a disk in the array any data it had can't be rebuilt since you would be rebuilding a formatted disk.

  • Author

It had data on it correct for 1 day.

I was on 6.10 and it did this issue after 1 day. After that I couldn't get it back in ( i had the previous invalid parity issue which have now gone)
So given that got sorted, i've removed, precleared, formated, and added back in several times.
The data on the drive was minimal because I added the drive and it worked for 1 day (nothing was added to the drive datawise) however this would be classed as a "used" drive at this point?

 

My issye now is, I can't format, I've again precleared, removed, readded, rebuild (even with it saying "Unmountable: Unsupported partition layout") No matter what i can't get the drive to format and be usable (Unless 6.11.5 also has an issue where it shows "Unmountable: Unsupported partition layout" even when its working fine?

 

Cheers for your help.

Dan

  • Community Expert
4 minutes ago, cunni said:

removed, precleared, formated, and added back

30 minutes ago, trurl said:

If the disk is intended for the array, it is pointless to format it outside the array

 

You have to tell Unraid to format any disk it will use in the array AFTER you add it to the array.

 

If Unraid still thinks there should be a disk in that slot, then it will want to rebuild it if you put it back in. Rebuild will completely overwrite the disk, so it doesn't matter at all if the disk was formatted outside the array, or full of pron, or whatever.

 

If Unraid thinks you have valid parity without anything assigned to that slot, it will want to clear the disk before adding it to the array. So it doesn't matter at all if the disk was formatted outside the array, or full of pron, or whatever. It will clear the disk, and then you can tell it to format it.

 

Post new diagnostics and a screenshot of Main including the Array Operation section.

  • Author
9 minutes ago, trurl said:

 

You have to tell Unraid to format any disk it will use in the array AFTER you add it to the array.

 

If Unraid still thinks there should be a disk in that slot, then it will want to rebuild it if you put it back in. Rebuild will completely overwrite the disk, so it doesn't matter at all if the disk was formatted outside the array, or full of pron, or whatever.

 

If Unraid thinks you have valid parity without anything assigned to that slot, it will want to clear the disk before adding it to the array. So it doesn't matter at all if the disk was formatted outside the array, or full of pron, or whatever. It will clear the disk, and then you can tell it to format it.

 

Post new diagnostics and a screenshot of Main including the Array Operation section.

 

Thanks for the fast reply.
The disk is currently not in the array, again I've added it in three times now and done a rebuild, it then says that the drive drive needs formating, and then it can't format the drive.

 

The drive is currently not in the array but here is the information you asked for.


Thanks, Dan
 

Screenshot 2023-02-22 232457.jpg

anas-diagnostics-20230222-2325.zip

  • Author

Just to add, everything was fine today, parity matced. but the drive was still showing Unmountable after the sucessful 20hour run.

image.thumb.png.c3e66e898894d2a2ca5a3c51a18bb23e.png

  • Community Expert

What do you get from the command line with this?

lsblk

 

  • Author
9 hours ago, trurl said:

What do you get from the command line with this?

lsblk

 


Looks like this:-

root@ANAS:~# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0    7:0    0 117.9M  1 loop /lib/firmware
loop1    7:1    0  19.4M  1 loop /lib/modules
loop2    7:2    0    20G  0 loop /var/lib/docker/btrfs
                                 /var/lib/docker
loop3    7:3    0     1G  0 loop /etc/libvirt
sda      8:0    1  28.8G  0 disk 
└─sda1   8:1    1  28.8G  0 part /boot
sdb      8:16   0   7.3T  0 disk 
└─sdb1   8:17   0   7.3T  0 part 
sdc      8:32   0   7.3T  0 disk 
sdd      8:48   1   3.6T  0 disk 
└─sdd1   8:49   1   3.6T  0 part 
sde      8:64   1   3.6T  0 disk 
└─sde1   8:65   1   3.6T  0 part 
md1      9:1    0   3.6T  0 md   /mnt/disk1
md2      9:2    0   7.3T  0 md   
md3      9:3    0   3.6T  0 md   /mnt/disk3
root@ANAS:~# 


 

  • Community Expert

That disk has no partition, suggesting it was never formatted, I believe you mentioned that no important data should be there?

  • Author
1 hour ago, JorgeB said:

That disk has no partition, suggesting it was never formatted, I believe you mentioned that no important data should be there?

Correct, it has nothing important on it.

  • Community Expert

Just format it then, you can add it back and rebuild or do a new config and correct parity, either option will take about the same time.

  • Author
2 hours ago, JorgeB said:

Just format it then, you can add it back and rebuild or do a new config and correct parity, either option will take about the same time.

It wont format, this is my issue. It says "format error", no matter what i've tried.

 

Do i try formatting it from fdisk? (Never done that before on Unraid. Is it the same process?)

  • Community Expert

Post new diags after trying to format it.

  • Author
10 minutes ago, JorgeB said:

Post new diags after trying to format it.

I did before, see below:-
 

16 hours ago, cunni said:

I've removed the drive from the assigned raid array. Started the array back up without it assigned.

 

I've enabled destructive mode in UD so i can format said drive.

I went to format and I got an error. "Format Error, check logs"


Log is :

 

However just to highlight it still doesn't work I'll do it all again.

 

1386340351_Screenshot2023-02-23144157.jpg.882ad5f2294b263b130e1b685dc1d7ca.jpg

210687556_Screenshot2023-02-23144206.jpg.090bdf6cc791478d2fbd3afb9ed6cbd7.jpg

1068473367_Screenshot2023-02-23144210.jpg.62e0ff6b2d94788a098bdf95a366210b.jpg

562063730_Screenshot2023-02-23144237.jpg.a094912e38cf20d72bf463899255bd3e.jpg
 

496970402_Screenshot2023-02-23144241.jpg.e4c5bbe9dbd25fa676361aa456bc01ae.jpg

1513559752_Screenshot2023-02-23144303.jpg.986da6b1b7463767b6133e1ac0755d8a.jpg

1174332516_Screenshot2023-02-23144326.thumb.jpg.7de1231d91dbe383bca10db1e54d6e99.jpg


Hope that helps you understand why im currnetly stuck.

Cheers
Dan

anas-diagnostics-20230223-1443.zip

  • Author
Feb 23 03:40:16 ANAS  crond[1044]: exit status 1 from user root /usr/local/sbin/mover &> /dev/null
Feb 23 14:41:47 ANAS  ool www[30090]: /usr/local/emhttp/plugins/unassigned.devices/scripts/rc.settings 'save'
Feb 23 14:42:45 ANAS unassigned.devices: Format device '/dev/sdc'.
Feb 23 14:42:45 ANAS unassigned.devices: Device '/dev/sdc' block size: 15628053168.
Feb 23 14:42:45 ANAS unassigned.devices: Clearing partition table of disk '/dev/sdc'.
Feb 23 14:42:47 ANAS unassigned.devices: Clear partition result: 1+0 records in 1+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 1.46064 s, 1.4 MB/s
Feb 23 14:42:49 ANAS unassigned.devices: Reloading disk '/dev/sdc' partition table.
Feb 23 14:42:49 ANAS unassigned.devices: Reload partition table result: /dev/sdc:  re-reading partition table
Feb 23 14:42:49 ANAS unassigned.devices: Creating Unraid compatible gpt partition on disk '/dev/sdc'.
Feb 23 14:42:51 ANAS unassigned.devices: Create gpt partition table result: Creating new GPT entries in memory. The operation has completed successfully. 
Feb 23 14:42:53 ANAS unassigned.devices: Reloading disk '/dev/sdc' partition table.
Feb 23 14:42:53 ANAS unassigned.devices: Reload partition table result: /dev/sdc:  re-reading partition table
Feb 23 14:42:53 ANAS unassigned.devices: Formatting disk '/dev/sdc' with 'xfs' filesystem.
Feb 23 14:42:53 ANAS unassigned.devices: Format drive command: /sbin/mkfs.xfs -f '/dev/sdc1' 2>&1
Feb 23 14:42:55 ANAS unassigned.devices: Format disk '/dev/sdc' with 'xfs' filesystem failed: Error accessing specified device /dev/sdc1: No such file or directory Usage: mkfs.xfs /* blocksize */#011#011[-b size=num] /* config file */#011[-c options=xxx] /* metadata */#011#011[-m crc=0|1,finobt=0|1,uuid=xxx,rmapbt=0|1,reflink=0|1, #011#011#011    inobtcount=0|1,bigtime=0|1] /* data subvol */#011[-d agcount=n,agsize=n,file,name=xxx,size=num, #011#011#011    (sunit=value,swidth=value|su=num,sw=num|noalign), #011#011#011    sectsize=num /* force overwrite */#011[-f] /* inode size */#011[-i perblock=n|size=num,maxpct=n,attr=0|1|2, #011#011#011    projid32bit=0|1,sparse=0|1] /* no discard */#011[-K] /* log subvol */#011[-l agnum=n,internal,size=num,logdev=xxx,version=n #011#011#011    sunit=value|su=num,sectsize=num,lazy-count=0|1] /* label */#011#011[-L label (maximum 12 characters)] /* naming */#011#011[-n size=num,version=2|ci,ftype=0|1] /* no-op info only */#011[-N] /* prototype file */#011[-p fname] /* quiet */#011#011[-q] /* realtime subvol */#011[-r extsize=num,size=num,rtdev=xxx] /* sectorsize */#011[-s size=num] /* version */#011#011[-V] #011#011#011devicename <d

Error in plain text (rather than a screen shot)

  • Community Expert

The partition is not being created, post the output of:

sgdisk -o -a 8 -n 1:32K:0 /dev/sdc

and after

fdisk -l /dev/sdc

 

  • Author
root@ANAS:~# sgdisk -o -a 8 -n 1:32K:0 /dev/sdc
Creating new GPT entries in memory.
The operation has completed successfully.
root@ANAS:~# fdisk -l /dev/sdc
Disk /dev/sdc: 7.28 TiB, 8001563222016 bytes, 15628053168 sectors
Disk model: TOSHIBA HDWG180 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
root@ANAS:~# 

 

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.