Migrate UFS to EXT4


Recommended Posts

Is there a way to convert a UFS drive to EXT4 without losing the data?  

 

The reason I ask....is a tl;dr so only if you are curious. ;)

 

I have been running NAS4Free for the last year or so with no issues.  The other day, I got the irresistible bug to take the PC I was using for the NAS and beef it up by replacing the software by rolling my own server using Owncloud (so I can have my own personal Dropbox type of clone), adding a DLNA server to serve my music to my home theater as well as other server things.  Anyway, back on topic...

 

All of my files and data are stored on a 1TB drive formatted in UFS format.  On this drive, I actually have only used about 400GB of space on the drive.  I quickly realized that while it is not built in, Centos 7 does not support mounting UFS formatted drives out of the box, but can be done by doing some kernel compiling which I really do not wish to do at this point.  I figured it would be easier to go ahead an copy the files off of the UFS drive back in from NAS4Free to an EXT2 formatted drive I have.

 

I pulled out my 500GB USB 3 external drive which has the EXT2 format and I went ahead and started the extremely sloooow copy of each file by file to the drive.  My computer only has USB 2 which bottlenecked it some.  So, I watched the transfer process go through and then to my surprise, I ran out of room on the 500GB USB drive.  Even though, after several GB's reserved for system, I should have had enough space.   So my copy never finished.

 

A lightbulb popped into my head today to go and Clonezilla the UFS partition to my 500GB drive which I did.  I then formatted the UFS drive to EXT4 and went about my way to restore the Image I created and quickly learned that OOPS!  Clonezilla (at least in the default modes), also reformatted the drive once again to the UFS format.  So I am back to square 1.

 

 

Link to comment
https://www.neowin.net/forum/topic/1246108-migrate-ufs-to-ext4/
Share on other sites

IIRC - I did try the command: 

 

mount -r -t ufs -o ufstype=ufs2 /dev/sdb1 /home/admin/ufs_mount  in CentOS 7 and it did not work.  I am in the process of restoring the UFS right now from the Clonezilla, so I will try again after that  (02:13:05 remaining). 

 

I know Ubuntu does support UFS out of the box, but I am more well versed in Centos.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • The Trump administration doesn't want you to use OpenAI's GPT-5.6 without its approval by David Uzondu Image via @realDonalTrump (X) As OpenAI prepares the release of its next model, GPT 5.6, the White House has instructed the company to limit the distribution of the software to a small group of government-approved partners instead of the general public, as it has done with previous releases. According to The Information, OpenAI Chief Executive Officer Sam Altman sent an internal memo to staff on Thursday explaining that the federal government will approve access "customer by customer" during an initial preview phase. Altman noted in the communication that this restrictive rollout is "not [their] long-term model" for software deployment, and the company plans to work toward a "more sustainable" distribution method later. CNN said that both OpenAI and the Trump administration view the capabilities of GPT 5.6 on the same level as Anthropic's Mythos and that government officials intend to "collaborate with frontier AI labs to develop shared approaches for addressing the challenges of scaling this technology." The latest restriction comes just weeks after the US Commerce Department decided to restrict Fable, a version of Mythos with extra safety "guardrails" to prevent users from exploiting software vulnerabilities. Not long after the release, though, researchers at Amazon found a way to bypass these restrictions, prompting an aggressive response from federal authorities. The government ordered Anthropic to cut off access for non-US citizens located outside the US, non-US citizens living inside the US, and incredibly, even Anthropic's own foreign-born employees. Anthropic now appears to be building a workaround to resolve this compliance block with an update to its Privacy Policy that introduces a category called "Verification Data" to handle KYC and Digital IDs. This setup could mandate digital identity checks to filter users by nationality, requiring a government-issued ID and facial biometric data. Who knows? Maybe in the future, you would have to scan your US Passport or State ID to prove your citizenship before you are allowed to chat with Fable 5 (or any other model).
    • When Windows 7 was released I created an AutoHotkey script that uses Alt+` as a keyboard shortcut to move a window across monitors. I have been using that script for over 15 years and this is the first time I have come across another app that uses the same shortcut!
    • I called it last year that they wouldn't end support when they said there would. There are too many people still on Windows 10 waiting for something better to upgrade to and 11 ain't it! The recent promises of fixing Windows 11's many problems is nice, but unless they deliver on those promises in a big way then I expect customers will still want to stick with 10.
    • Full ACK. I went too far adressing your post specifically. And as you said, it up to us customers as participant of the market dynamic as it happens to decide whether we spend our money on a product or not. The responsibility is to the company. In case of this price hike one could assume that MS is expecting or even starting to see a new interest in XBox hardware so they want to avoid losses per unit sold. I find it fair enough that they granted a period in which everyone interested could grab a unit for the current price (Amazon.de has a reliable stock of XBox Series X digital, which I bought last December after having sold my day one Series X a year ago). It is not that they cash up their customers starting on Monday. Cheers and let's cling to our perfectly fine hardware as long as we deem it worthy in relation to purchasing something new!
  • Recent Achievements

    • Week One Done
      xvvxcvv earned a badge
      Week One Done
    • One Month Later
      xvvxcvv earned a badge
      One Month Later
    • Enthusiast
      Xonos went up a rank
      Enthusiast
    • Conversation Starter
      Admir earned a badge
      Conversation Starter
    • First Post
      The_Focal_Point earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      414
    2. 2
      +Edouard
      170
    3. 3
      PsYcHoKiLLa
      129
    4. 4
      neufuse
      69
    5. 5
      Xenon
      68
  • Tell a friend

    Love Neowin? Tell a friend!