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.

unRaid GUI showing conflicting disk size information

Featured Replies

  • Author

I put the 1TB drive back into the system.  I didn't change the device configuration in unraid.  I can mount the 1TB drive manually with "mount /dev/sdn1 /aljx".  Interestingly, the 1TB drive has the same contents as Disk 2 and Disk 3.

  • Community Expert

Yes there's something very weird going on here for sure.

 

LT was made aware of this thread so I'd wait to see what they say, Tom may also need you to run some extra commands to find out what's really going on.

 

I believe whatever happened was before the first diags so and you'll possibly need to completely wipe and reformat one of those disks to fix it.

  • Author

Thanks johnnie.black for your help on this.  

  • Author
Just now, jbrodriguez said:

 

yea, I'm running btrfs on another rig and have run into that very issue before.  This is something much deeper and uglier :)

  • Author

johnnie.black, do you think there's any issue with starting to start converting btrfs to xfs starting with disk 10 and moving data?  Disk 10 at the moment is empty.

 

Or should I just wait on LT before doing anything further?

Edited by ajeffco

  • Community Expert

Don't see a problem with that, would just not touch disks 2 and 3.

  • Author
1 minute ago, johnnie.black said:

Don't see a problem with that, would just not touch disks 2 and 3.

 

Ok.  I'll stay away from them and the original 1TB disk.  

 

Thanks again.

  • Author

I'll wait for LT to chime in.

 

In reading the File System Conversion page on the wiki, it talks about parity rebuilds, which I'm assuming I don't want to do.  Not sure parity is even valid at this point.

Is there any possibility that one or more of these confused drives were part of a BTRFS pool before, either as a Cache pool in unRAID or a BTRFS pool outside of unRAID?  Tom has recently said something relevant to this, that seems to indicate that BTRFS has functionality that preserves the BTRFS-ness of a drive, which might include it's pool size.  If your 1TB drive is still thinking it's part of a 4TB pool ...

 

Which also may mean that to properly format a BTRFS drive to something else, you may need to take an extra step to un-BTRFS a drive before the format.  It could be as easy as just zeroing the early sectors, but I don't know where BTRFS stores its registration info.  Could be hidden in the MBR, or near it in the empty unused sectors at the beginning of the partition, or at the end of the drive, etc.

9 minutes ago, ajeffco said:

I'll wait for LT to chime in.

 

In reading the File System Conversion page on the wiki, it talks about parity rebuilds, which I'm assuming I don't want to do.  Not sure parity is even valid at this point.

 

I strongly concur!

  • Author
Just now, RobJ said:

Is there any possibility that one or more of these confused drives were part of a BTRFS pool before, either as a Cache pool in unRAID or a BTRFS pool outside of unRAID?  Tom has recently said something relevant to this, that seems to indicate that BTRFS has functionality that preserves the BTRFS-ness of a drive, which might include it's pool size.  If your 1TB drive is still thinking it's part of a 4TB pool ...

 

Which also may mean that to properly format a BTRFS drive to something else, you may need to take an extra step to un-BTRFS a drive before the format.  It could be as easy as just zeroing the early sectors, but I don't know where BTRFS stores its registration info.  Could be hidden in the MBR, or near it in the empty unused sectors at the beginning of the partition, or at the end of the drive, etc.

 

They were part of an Ubuntu system running BTRFS.  Before migrating to unRaid, I ran "wipefs -a /dev/..." on them.  And when they got to unRaid, I ran preclear on every drive before running through the drive replacement procedure.

 

Not sure if wipefs and preclear are enough to "clean" a disk.

 

The odd thing, the 1TB doesn't think it's part of a 4TB pool, it looks like it think's it's a 4TB drive in the GUI.  From the CLI, "btrfs fi" shows the device itself correctly.

 

Al

  • Community Expert
40 minutes ago, ajeffco said:

I'll wait for LT to chime in.

 

In reading the File System Conversion page on the wiki, it talks about parity rebuilds, which I'm assuming I don't want to do.  Not sure parity is even valid at this point.

 

Yes, better wait on that, but if disk10 is empty I see no problem formatting it to XFS, no need for a new config, but probably best to wait before starting to load more data.

Edited by johnnie.black

  • Author

Is there an "official" process to open a support ticket with LT, if that's even possible?  Or is the forum post acceptable?

  • Community Expert
22 minutes ago, ajeffco said:

Is there an "official" process to open a support ticket with LT, if that's even possible?  Or is the forum post acceptable?

 

Also keep in mind they are on PST, so it's to soon to get a reply here, maybe in the next few hours.

  • Author
8 minutes ago, johnnie.black said:

 

Also keep in mind they are on PST, so it's to soon to get a reply here, maybe in the next few hours.

 

Oh.  I'm not in any rush, just didn't know if there was a "formal" process for them to keep track of these types of issues.

  • Author

I had a thought.  Assuming Drive 3 has been in a bad state since it was brought in does that mean any data written to the drive since then wasn't lost?  Or would it be gone regardless?  I used rsync to copy from Linux/BTRFS/SMB to unraid and rsync verified everything written.  That however would go to /mnt/user/wherever...

 

Just trying to figure out what I might've lost that might need to  be recovered.

  • Author

I'm in the process of migrating data from the btrfs formatted drives to xfs formatted drives.  When I get to the last 3 drives that are part of the original issue, any advice as to what I should do?

 

Al

  • Community Expert

Disk1 can me converted normally, the problem is disk2 and 3, looks like disk3 is inaccessible, unknown at this point if it contains data or not, I would convert all remaining disks to xfs (including disk2) leaving only disk3 as btrfs, then reboot and see if it disk3 mounts correctly.

  • Author

Ok.  I've started migrating data off of disk 2.  Will be interesting to see what happens to disk 3.  

 

Thanks jonnie.black

Edited by ajeffco

  • Author

Disk 2 and disk 3 are the same.  Drive 3 is asleep :)

 

2017-03-18_22-38-52.thumb.png.5604dac122ba9e1662d43ff97c40a6d4.png

  • Author

I've completed the process of reformatting my drives to xfs.  When I emptied disk 2, as expected disk 3 emptied also.  Interestingly when I mounted the original 1TB disk to look at it also, it's showing empty as well instead of a 1TB drive with a 4TB size.

 

Not sure why out of 24 total drives moved from the Linux/BTRFS machine, these 3 whacked out.  Unfortunately since I didn't capture a syslog we'll never know.  Lesson learned.

 

Thanks again for the help.

 

Al

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.