Syco54645 Posted September 19, 2021 Share Posted September 19, 2021 (edited) So I am sitting here with an server that was setup when ReiserFS was still the recommended file system and am looking for a simple way to convert these drives to XFS and am coming up empty. It seems that ReiserFS will eventually be fully abandoned in favor of other file systems. The issue is all of the current processes require the somewhat dangerous tasks of creating a new config. Would it be possible to create a feature to aid in this process? Edited September 19, 2021 by Syco54645 Quote Link to comment
trurl Posted September 19, 2021 Share Posted September 19, 2021 1 hour ago, Syco54645 said: all of the current processes require the somewhat dangerous tasks of creating a new config New Config isn't particularly dangerous, but it also isn't required (or necessarily even useful) for converting. Not sure where you got that idea. Do you need some advice on converting? Quote Link to comment
Syco54645 Posted September 19, 2021 Author Share Posted September 19, 2021 1 hour ago, trurl said: New Config isn't particularly dangerous, but it also isn't required (or necessarily even useful) for converting. Not sure where you got that idea. Wouldn't using new config and placing a drive in the wrong location cause data loss? I do not trust myself to not mess up somewhere along the line with 10 drives to convert. 1 hour ago, trurl said: Do you need some advice on converting? Yes please if you can give advice I would greatly appreciate it (I am on 6.9.0 if it matters). I have posted on the reddit community multiple times and was told that I basically must use unbalance to move all of the files off of the drive then use new config to change the format of the empty drive. This video was given to me as the basic method, just not following the encryption bit. Quote Link to comment
trurl Posted September 19, 2021 Share Posted September 19, 2021 34 minutes ago, Syco54645 said: give advice Moved this thread to General Support. Attach Diagnostics to your NEXT post 1 Quote Link to comment
trurl Posted September 19, 2021 Share Posted September 19, 2021 36 minutes ago, Syco54645 said: Wouldn't using new config and placing a drive in the wrong location cause data loss? Only if you assigned a data drive to a parity slot. 1 Quote Link to comment
Syco54645 Posted September 19, 2021 Author Share Posted September 19, 2021 3 minutes ago, trurl said: Moved this thread to General Support. Attach Diagnostics to your NEXT post Sure essex-diagnostics-20210919-1729.zip Quote Link to comment
trurl Posted September 19, 2021 Share Posted September 19, 2021 Changing filesystem of a disk requires formatting the disk to the new filesystem. So, you have to put its files somewhere else before formatting. All of your disks are very full. The simplest way to make space would be to add a disk to a new slot, or replace a disk with a larger disk. 1 Quote Link to comment
Syco54645 Posted September 19, 2021 Author Share Posted September 19, 2021 24 minutes ago, trurl said: Changing filesystem of a disk requires formatting the disk to the new filesystem. So, you have to put its files somewhere else before formatting. All of your disks are very full. The simplest way to make space would be to add a disk to a new slot, or replace a disk with a larger disk. Yes I am in the process of waiting for an 8tb to add to the array for space and in hopes of starting conversions. What would the process look like for this? I would assume I have to stop anything that writes to the array and then use unbalance to move the files and this is where I get fuzzy. When I move the files are they moved as far as the array is concerned or will I have to rebuild parity? Quote Link to comment
trurl Posted September 19, 2021 Share Posted September 19, 2021 Didn't notice before but your disk6 is new, though not showing up as having any capacity yet. Looks like it must be clearing Sep 19 13:17:32 Essex kernel: md: recovery thread: clear ... 16 minutes ago, Syco54645 said: will I have to rebuild parity? All write operations to the array update parity at the same time so parity remains in sync. In addition to writing a file, move, copy, delete, and even format, are all write operations that update parity. 1 Quote Link to comment
Syco54645 Posted September 19, 2021 Author Share Posted September 19, 2021 4 minutes ago, trurl said: Didn't notice before but your disk6 is new, though not showing up as having any capacity yet. Looks like it must be clearing Sep 19 13:17:32 Essex kernel: md: recovery thread: clear ... All write operations to the array update parity at the same time so parity remains in sync. In addition to writing a file, move, copy, delete, and even format, are all write operations that update parity. So how can I empty a drive and not have any new files being added to it at the same time? I guess that is the only stumbling block at this point. Quote Link to comment
trurl Posted September 19, 2021 Share Posted September 19, 2021 22 minutes ago, Syco54645 said: not have any new files being added to it I don't use unBALANCE so I don't know exactly how it plays with disks and user shares. If you don't want any new files written to a disk while writing to user shares you can exclude the disk from all user shares in Global Share Settings. That would also mean no files from that disk would be included when reading user shares. 1 Quote Link to comment
Syco54645 Posted September 20, 2021 Author Share Posted September 20, 2021 32 minutes ago, trurl said: I don't use unBALANCE so I don't know exactly how it plays with disks and user shares. If you don't want any new files written to a disk while writing to user shares you can exclude the disk from all user shares in Global Share Settings. That would also mean no files from that disk would be included when reading user shares. What method do you recommend for moving files from one drive to another within the array? I thought doing a "mv /mnt/disk1/* /mnt/disk11/" would not update the array. If I am incorrect then I have been given wrong information and this will be quite an easy process. Quote Link to comment
trurl Posted September 20, 2021 Share Posted September 20, 2021 29 minutes ago, Syco54645 said: I thought doing a "mv /mnt/disk1/* /mnt/disk11/" would not update the array. That is incorrect. Writing any disk in the parity array updates parity at the same time. 1 Quote Link to comment
Syco54645 Posted September 20, 2021 Author Share Posted September 20, 2021 13 minutes ago, trurl said: That is incorrect. Writing any disk in the parity array updates parity at the same time. In that case the process seems to be mv /mnt/diskX/* /mnt/diskY/ Once complete make sure all files are moved Stop array Go to Disk Settings and change the File system type to xfs Start array Format the drive that is needed Would that be a good assessment of what I need to do? Is there a better way to move the files than just mv in a screen session? Quote Link to comment
itimpi Posted September 20, 2021 Share Posted September 20, 2021 2 hours ago, Syco54645 said: In that case the process seems to be mv /mnt/diskX/* /mnt/diskY/ Once complete make sure all files are moved Stop array Go to Disk Settings and change the File system type to xfs Start array Format the drive that is needed Would that be a good assessment of what I need to do? Is there a better way to move the files than just mv in a screen session? That would work fine.. as to whether there is a ‘better’ method that really depends on what tools you are most familiar with. Using mv in a screen session is fine if you know how to do that. You could achieve similar results using any file manipulation tool such as rsync, mc (midnight commander), Krusader running as a Docket containet, file manager on another machine etc. 1 Quote Link to comment
Syco54645 Posted September 20, 2021 Author Share Posted September 20, 2021 9 hours ago, itimpi said: That would work fine.. as to whether there is a ‘better’ method that really depends on what tools you are most familiar with. Using mv in a screen session is fine if you know how to do that. You could achieve similar results using any file manipulation tool such as rsync, mc (midnight commander), Krusader running as a Docket containet, file manager on another machine etc. Thanks! This greatly simplifies things for me. Also thanks trurl for helping as well. Quote Link to comment
Recommended Posts
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.