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.

Write performance and multiple disks

Featured Replies

How does UnRaid update parity with multiple disks? I gather it reads the parity drive and the target drive, calculates the new parity value based on the change in the target drive and then writes the target and parity drives? I assume this, as a write to disk 1 does not cause disk 2 to spin up. So it's not recalculating full parity for every write. I see this being good for two reasons, you're not spinning up disks you don't need and the parity calculation would be a dog as n got really big.

 

I guess the down side might be not knowing you had a disk going bad. I plan to implement one of the UnNotify scripts once I figure out which one is the latest  :), but I gather this is only using SMART to monitor the drives. Does anyone schedule a parity check say once a month and email themselves the results?

 

 

How does UnRaid update parity with multiple disks? I gather it reads the parity drive and the target drive, calculates the new parity value based on the change in the target drive and then writes the target and parity drives? I assume this, as a write to disk 1 does not cause disk 2 to spin up. So it's not recalculating full parity for every write. I see this being good for two reasons, you're not spinning up disks you don't need and the parity calculation would be a dog as n got really big.

 

I guess the down side might be not knowing you had a disk going bad. I plan to implement one of the UnNotify scripts once I figure out which one is the latest  :), but I gather this is only using SMART to monitor the drives. Does anyone schedule a parity check say once a month and email themselves the results?

 

 

 

for every block written, unRAID uses an XOR operation on data which already exists on the parity drive.

This is why when the array is first created, parity is built by reading every sector from every drive to build the parity sector for the matching drives.

Therefore if a single drive gets written to, only the parity for that drive is updated .

 

I believe the operation is something like this.

 

1. read of old data sector on drive.

2. read of old partiy sector.

3. xor out the old data from the parity sector.

4. write the new sector on the data drive.

5. xor in the new data to the partiy sector.

6, write the partiy sector to the drive.

 

 

Does anyone schedule a parity check say once a month and email themselves the results?

[/qiuote]

 

Many of us have monthly parity check jobs. THis is highly recommended. Even on a raid 5 array this is recommended. I believe they sometimes reference this as a scrub operation. There are threads with the cron job shell on the board.

 

 

Archived

This topic is now archived and is closed to further replies.

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.