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

    • Putin was behind Farage/Brexit and behind Trump/MAGA. Different idiot lying beasts, same fascist master. Same screwed up results for both nations.
    • For me the Final Fantasy games, Langrisser I & II, Hardspace: Shipbreaker, Horizon Forbidden West Complete Edition, Metaphor: ReFantazio and LUNAR Remastered Collection
    • Limited Prime Day deal sees Amazon Echo Show 11 is at its lowest price yet by Ivan Jenic The Amazon Echo Show 11 is currently $149.99 on Amazon during Prime Day, down from $219.99. That's 32% off and $70 saved on Amazon's newest mid-size smart display (purchase link below). As its name suggests, the Echo Show 11 features a 11” Full-HD touchscreen, which is a decent upgrade over the Echo Show 8. It offers 60% more viewing area, which makes a genuine difference for recipes, calendars, video calls, or any other scenario where the smaller display can feel a bit cramped. The Show 11 is built around Alexa+, Amazon's more capable AI assistant that can handle natural conversation. You can make reservations, order groceries, and find content based on your preferences, instead of always having to give it precise commands. There’s also the Omnisense technology, which adds ambient awareness, allowing the device to trigger routines based on temperature, presence detection, or visual cues. Smart home control is built in without needing a separate hub, and the home screen doubles as a photo slideshow when not in use. Taking all of this into account, the Show 11 is a perfect smart addition to your kitchen counter or living room. At $149.99, this is a strong Prime Day buy for anyone already in the Amazon ecosystem or looking to build one out. Amazon Echo Show 11 - $149.99 | 32% off on Amazon Good to know This Amazon deal is U.S. specific, and not available in other regions unless specified. We only use first-party seller links (at the time of article publishing); ensure that you purchase from a first-party seller link only. Check out Today's Deals on Amazon | or our recent tech deals. Become a Prime member (for Students or SNAP) via Neowin Get Prime Access - Prime for half price (for qualifying Medicaid, EBT, SNAP) Subscribe to Prime Video, Audible Plus, Music Unlimited or Kindle Unlimited via Neowin As an Amazon Associate, we earn from qualifying purchases.
  • Recent Achievements

    • One Year In
      bernmeister earned a badge
      One Year In
    • Week One Done
      Scoobystu earned a badge
      Week One Done
    • Week One Done
      tuben earned a badge
      Week One Done
    • First Post
      OffsetAbs earned a badge
      First Post
    • Reacting Well
      OffsetAbs earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      465
    2. 2
      +Edouard
      217
    3. 3
      PsYcHoKiLLa
      157
    4. 4
      Steven P.
      74
    5. 5
      FloatingFatMan
      71
  • Tell a friend

    Love Neowin? Tell a friend!