LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-23-2017, 12:32 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Post Convert File System without format.


Hello.
How can I convert Ext3 to Ext4 without format?

Thank you.
 
Old 01-23-2017, 01:04 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
How about you make at least some effort to find out for yourself.
 
1 members found this post helpful.
Old 01-23-2017, 03:23 AM   #3
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by syg00 View Post
How about you make at least some effort to find out for yourself.
I found but I can't understand some parameters :

http://www.tecmint.com/what-is-ext2-...-file-systems/
 
Old 01-23-2017, 03:28 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
especially which one?
 
Old 01-23-2017, 05:27 AM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by hack3rcon View Post
I found but I can't understand some parameters
Start with:
Warning: Warning: Please take important data backup before executing below commands.

Run. Don't walk.
That is my opinion.
 
Old 01-23-2017, 05:55 AM   #6
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,491

Rep: Reputation: Disabled
After having backed up your data, below is what it is said that you have to do, the only possible way to go wrong is if you select the wrong disk.

Quote:
Converting Ext3 to Ext4

To enable the ext4 features on an existing ext3 filesystem, use the command.

# tune2fs -O extents,uninit_bg,dir_index /dev/hdXX

WARNING: You cannot revert or mount back to ext3 filesystem once you run above command.

After running this command we MUST run fsck to fix up some on-disk structures that tune2fs has modified.

# e2fsck -pf /dev/hdXX

WARNING: Please try all these above commands on your tesing Linux server.
 
Old 01-24-2017, 09:02 AM   #7
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by pan64 View Post
especially which one?
Parameters like "dir_index,has_journal,uninit_bg" or "extents,uninit_bg,dir_index" are fixed?
If I want convert "Ext3 to "XFS" or "Btrfs" then these parameters changed to?
 
Old 01-25-2017, 03:30 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
That would be a recipe for disaster. Backup. Test backup. Make new filesystem and restore.

XFS and Btrfs are very age dependent. Using the filesystem version for the distro is almost mandatory.

Last edited by jefro; 01-25-2017 at 03:31 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
convert pcap file to mitm file format chakka.lokesh Programming 5 03-07-2014 01:16 AM
Convert a Unix file to .xls format. sumitdevbharadwaj Linux - General 6 04-18-2009 12:18 AM
Is there a way to convert a PDF file to another format? M$ISBS General 10 05-09-2007 01:43 AM
how to convert pdf file to doc format. thushara Linux - Newbie 3 03-22-2005 06:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 07:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration