Jump to content

Converting from ReiserFS to XFS


Recommended Posts

All,

 

I'm following the guide HERE to convert from ReisferFS to XFS. I just finished the entire procedure to replace my /mnt/disk1 with my swap drive being /mnt/disk8.   Once I had the array back up I noticed that my new XFS  /mnt/disk1 (which was previously disk8) had all the data copied into a sub-directory named "/disk1"  instead of at the root level of the disk.  After I noticed this, I immediately stopped the array, and reverted things back to the original configuration.  I did start any dockers or have any clients that would have wrote to the array, so my parity drive I'm hoping is still valid.

 

I ran the following command.. so not sure why rsync did the copy this way..

 

image.png.4db851c89a89b2895538633c710a30da.png

 

 

Here's what my XFS swapper disk8 looks like with all the data from disk1 in the /disk1 sub-directory

 

image.thumb.png.350d2fe8b9b59464b2d4d6d6e9d701ec.png

 

 

Here's what my actual ReiserFS disk1 contents look like...

 

image.thumb.png.1e5e5d7a63cb9f5eaea8714d51981a95.png

 

 

Now that I wrote this is it because I didn't put the trailing "/" for each directory in the rsync command..

 

Should've done "rsync -avPX /mnt/disk1/ /mnt/disk8/" instead of "rsync -avPX /mnt/disk1 /mnt/disk8"

 

Is the best thing to do, is erase everything on /mnt/disk10 and start the rsync all over again(took about 2 days) or take another path?

Link to comment
22 hours ago, jonathanm said:

Easiest thing to do is move the content of the new Disk1 folder to the root of the disk. You can do that using mc at the command line, it should only take seconds.


MC as in midnight commander? Or just use the mv -rf command to move everything from the /Disk1 subdirectory to the root directory? This still won’t take up a lot of time due parity?

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...