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.

Re: Format XFS on replacement drive / Convert from RFS to XFS (discussion only)

Featured Replies

I do not have a spare monitor and keyboard to connect directly to the machine for console. I attempted to use Screen software application but it did not work after rebooting into Safe Mode as its part of a plugin and I rebooted with the plugins disabled, I did this as its noted in the guide itself.

"That may mean stopping your Dockers, plugins, VM's, and the Mover, if any of those could possibly add files or make changes to the drive being converted. And you should check for and temporarily disable any scheduled backups from other machines. Yes, this can require some careful planning! You may want to consider rebooting into Safe Mode (stops plugins from loading), and disabling any VM's and the Docker service and the Mover."

  • Replies 1.1k
  • Views 209.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I'll start by giving some background on the current wiki method, and then touch on a few things you may not have thought about.  I had noticed already several users using unBALANCE, and had been think

  • Frank1940
    Frank1940

    I am in the process of converting the format on my Media Server.  (The Spec's are below.)  I normally use the reconstruct write (aka, turbo write) method of writing to the array but I decided that rea

  • @bombz - You will need to do a new config to remove the old drives and add the new one. Don't delete the data from the 2 500G drives, and you'll have a backup just in case you have any issues with the

Posted Images

51 minutes ago, trurl said:

Could you give us a screenshot of this?

 

Sounds like it. Don't do anything without further advice.

Thank you for your time and help sir!  I transferred the contents of disk 4 to disk 10 and a little to another disk using Unbalance.  From what I can tell there are no files remaining on disk 4 but the share directories are still there.  Thank you very much for your guidance and I apologize for not being up on this process.  

Array.JPG

Disk 4 dir.JPG

Pictures.JPG

  • Community Expert
5 hours ago, allischalmersman said:

Do I un-assign the disk and let parity rebuild with the missing disk?  Then format the 4TB disk?  I would like to pre-clear stress test the disk before adding it back to the array.  I'm sorry but I'm confused.

I have crossed out everything you absolutely must not do. If the disk is empty you just need to change its filesystem to XFS by making Unraid reformat it.

 

Since you are so confused though, before I go into detail about how exactly you make Unraid reformat that disk to XFS, go to Tools - Diagnostics and attach the complete diagnostics zip to your next post so I can take a look and make sure you aren't overlooking something important.

9 minutes ago, trurl said:

I have crossed out everything you absolutely must not do. If the disk is empty you just need to change its filesystem to XFS by making Unraid reformat it.

 

Since you are so confused though, before I go into detail about how exactly you make Unraid reformat that disk to XFS, go to Tools - Diagnostics and attach the complete diagnostics zip to your next post so I can take a look and make sure you aren't overlooking something important.

Haha Glad I stopped and asked. Are you also saying I can't or shouldn't stress test that drive while it's out?  Only reason I ask is because those 3TB drives that still need converted are ones that do not have a great reputation and I had 1 fail about 2 years ago.  Thanks again for your help.

tower-diagnostics-20181126-1517.zip

  • Community Expert
9 minutes ago, allischalmersman said:

Are you also saying I can't or shouldn't stress test that drive while it's out? 

What do you mean "while it's out". You haven't unassigned or removed the disk have you?

  • Community Expert

SMART for Disk4 looks fine. Nothing to be gained by stress testing it, and you will greatly complicate your life if you try to.

2 minutes ago, trurl said:

SMART for Disk4 looks fine. Nothing to be gained by stress testing it, and you will greatly complicate your life if you try to.

Ok I will heed your advise.  Sorry bad choice of wording. No the disk has not been removed.  I guess I mistakenly thought at some point throughout the process I would have that disk no longer a part of the parity protected array.  

  • Community Expert
1 minute ago, allischalmersman said:

thought at some point throughout the process I would have that disk no longer a part of the parity protected array.  

No, in fact it is critical that the disk remain in the array while it is reformatted or you will invalidate parity. You likely have some misunderstandings about formatting and how parity works.

 

Do you know exactly what "format" means?

 



 
Do you know exactly what "format" means?
 


I thought I did but I ASSumed it could only be done on a disk that was not a member of the array. I thought formatting was when a file system format was written to the disc and will invalidate anything previously written to the disk. I've only ever done it when adding a new disk. Perhaps I'm way off base here.

Sent from my SM-G965U using Tapatalk

  • Community Expert
5 minutes ago, allischalmersman said:

I thought I did but I ASSumed it could only be done on a disk that was not a member of the array. I thought formatting was when a file system format was written to the disc and will invalidate anything previously written to the disk. I've only ever done it when adding a new disk. Perhaps I'm way off base here.

Actually that IS what format means. Many people have a pretty vague idea about formatting, thinking it is just something you do before you can use a disk.

 

But the key part of that is "a file system format was written to the disc". Format is a write operation. Unraid updates parity in realtime on ANY write operation. So if you format the disk when it isn't in the array obviously parity will be invalid.

 

And, in fact, Unraid won't let you do that without going to an awful lot of trouble, which is why I said trying to stress that disk would greatly complicate your life

  • Community Expert

So, how to reformat that disk.

 

Stop the array.

Click on the disk in Main to get to its page.

Change its filesystem.

Start the array to format to the new filesystem.

 

30 minutes ago, trurl said:

So, how to reformat that disk.

 

Stop the array.

Click on the disk in Main to get to its page.

Change its filesystem.

Start the array to format to the new filesystem.

 

Done thank you very much for helping me and saving me much headache !

  • Community Expert
1 hour ago, allischalmersman said:

Done thank you very much for helping me and saving me much headache !

👍

  • 6 months later...

I'm in the process of a massive upgrade to my Atlas clone. I've already upgraded from 5.0.5 to 6.7.0 and replaced a couple failing drives in the nick of time (I've been really lucky). Now I'm in the process of converting all my disks from rfs to xfs. I've done 2 of 10 so far using the mirroring method described here.

 

As with the original Atlas, I have UnRAID running as a guest on an esxi 5.1.0 host along with an ubuntu guest that runs plex. This ubuntu guest along with a local printer (for scans) and an IP cam are the only users that have access to the UnRAID shares. 

 

When I did the first 2 disks I shut down the ubuntu guest, turned off the printer and unplugged the cam to make sure nothing was writing to the array during the rsync operation. Obviously this means I can't use plex during this process. My question is, rather than only adding the swap disk to the excluded disk(s) list under 'global share settings' as instructed to do in the wiki, could I also add the source disk and be assured that nothing is written to the source disk during the rsync operation?

 

I have no VMs or dockers running on UnRAID (yet).

I've been proceeding with the conversion and decided to just add all the remaining rfs drives to the excluded list. This seems to be working well and I don't need to worry about the disks being written to during the rsync copy to the swap disk.

 

One other thing I am curious about is Step 17. Is there a good and QUICK way to check that everything is fine? Should I just pick a few random files and compare checksums?

  • Community Expert

I think what step 17 is referring to double check/verify that you have requested the format changes to the proper disks on the setup screen BEFORE you click 'Apply'.  Because if you didn't, you will lose all of the data on an 'innocent' drive as soon as it starts the format procedure.  As I recall, this is a point at which it is actually quite easy to make a mistake.  That was why I had a table prepared with what the settings were to be on each step and I checked-off each step as I did it! 

4 hours ago, Frank1940 said:

I think what step 17 is referring to double check/verify that you have requested the format changes to the proper disks on the setup screen BEFORE you click 'Apply'.  Because if you didn't, you will lose all of the data on an 'innocent' drive as soon as it starts the format procedure.  As I recall, this is a point at which it is actually quite easy to make a mistake.  That was why I had a table prepared with what the settings were to be on each step and I checked-off each step as I did it! 

Thanks for clarifying.

 

So I'm totally panicked right now. Just opened Plex and noticed a ton of my files are missing. Is this because I switched a bunch of the disks to excluded? I assumed excluded just prevented new files from being written to those disks. Does it also not allow them to be read? Will they show up again when I 'un-exclude' them?

45 minutes ago, lazant said:

Is this because I switched a bunch of the disks to excluded?

If you mean global exclude list, yes. Those disks are globally excluded from participating in user shares.

59 minutes ago, jonathanm said:

If you mean global exclude list, yes. Those disks are globally excluded from participating in user shares.

So when I uncheck them from being excluded will all the files on those disks show up in the share again?

Edited by lazant

  • Community Expert

Open up the shares in Windows using File Explorer and see if the 'missing' files are there.  It is my understanding that excluding a share from a disk only prevents writing new files to that disk.  Existing files can still be read.  What could be happening is that Plex is attempting to access those files in a read-write mode and that might not be allowed.

 

EDIT: you might want to read through this thread:

 

 

Edited by Frank1940

44 minutes ago, Frank1940 said:

Open up the shares in Windows using File Explorer and see if the 'missing' files are there.  It is my understanding that excluding a share from a disk only prevents writing new files to that disk.  Existing files can still be read.  What could be happening is that Plex is attempting to access those files in a read-write mode and that might not be allowed.

I looked in Finder on my mac and there are a bunch of folders missing. However, when I tried browsing the the ‘Disk Shares’ from the excluded disks using UnRAID’s browser interface I can see the missing files. Phew!

 

Anything special I need to do? Or just reenable the disks when I’m done with all the fs conversion?

13 hours ago, Frank1940 said:

EDIT: you might want to read through this thread:

 

 

Cheers. That cleared it up. It seems then that as I un-exclude the disks after conversion to xfs, the files will become available again in the share. I'm about halfway through a 3TB copy right now so I'll confirm tomorrow afternoon.

 

Edit:

Confirmed. Un-excluding the next disk converted to xfs did make the files on the disk available again.

Edited by lazant

  • 3 months later...
On 8/1/2018 at 4:08 PM, sketchy said:

I've just started the 'mirror' procedure on my first disk to convert from btrfs to XFS. I don't know any better than bjp999 / SSD, but i included the '--info=progress2' in my rsync command to give the overall rsync time remaining as opposed to the time remaining on the current file being rsync'd...i think. Seems helpful.

I'm in the middle of copying contents and saw this post. Where exactly do I add the '--info=progress2' to the 'rsync -avPX /mnt/disk10/ /mnt/disk11/' command?

I'd rather ask than guess.

Thanks in advance :)

  • Community Expert
10 minutes ago, zOnk.oNe said:

I'm in the middle of copying contents and saw this post. Where exactly do I add the '--info=progress2' to the 'rsync -avPX /mnt/disk10/ /mnt/disk11/' command?

I'd rather ask than guess.

Thanks in advance :)

A bit of googling (    rsync --info=progress2    )  found these two links which should give what you need:

         https://www.cyberciti.biz/faq/show-progress-during-file-transfer/

and 

         https://unix.stackexchange.com/questions/215271/understanding-the-output-of-info-progress2-from-rsync

 

so... I'll go with: 'rsync -avPX --info=progress2 /mnt/disk10/ /mnt/disk11/' tomorrow once my next disk is ready.

 

Gracias

 

Well...that did work.

Edited by zOnk.oNe
Thought it didn't, but is working. Just had to get used to layout.

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.