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.

Finding drive replacement requirements

Featured Replies

Hi There,

I had a couple drives fail, and I've been struggling to get my replacement drives working. I'm wondering if someone can tell me where ZFS stores data about drives. specifically, drive size, hopefully it has sector sizes as well somewhere? zdb or something can help me identify the exact characteristics I need to replace the drives.

Maybe less important, but if relevant.

my zpool is setup as a zraid2, 3 vdevs, and 6 drives per vdev ashift 12. There are 3 different drive models, unfortunately it's a about 50:50 mix of 512/512 and 512/4096 sector formatting. Which is why I went with ashift 12, which from my understanding accommodates that.

The failed drives were 512 logical/4096 physical sector formatting.

The new drives are the same model as the old ones and the same sector formatting.

Originally I setup the pool by using the unraid GUI with encrypted zfs and was hoping the ZFS gui would be able to handle the replacements. Unfortunately it doesn't seem to handle it properly.

The replacement drives, now formatted, were automatically partitioned by unraid with starting sector somewhere over 30,000. All other drives that are currently part of a zpool have starting sectors of 64. I wiped the drives used sfdisk to partition them using a dump of an existing drive and used cryptsetup to manually encrypt the drive with matching settings. Unfortunately I must have mixed something up because zfs import still claims the drives are too small... Maybe I need to do something different with cryptsetup. At this point I'm just hoping I can look at the ZFS information to tell me what I need at a minimum for disk size.

Thanks!

  • Author

Probably not all that helpful anymore. I was able to replace the disks using full drives unencrypted. Maybe ZFS wouldn't retain the older drive details?

In any case, I'll probably end up getting some "new" drives to all have the same model number and hopefully all the same sector formatting and end up rebuilding my pool. Hopefully that helps avoid similar issues in the future. /

  • Community Expert

I missed your original post, but repacking the drives should work independently of the sector size, if you still have the diags showing the issue, please post them.

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.