LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-13-2008, 01:50 PM   #1
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 46
new filesystem: convert, or move data?


I have about 40GB of data on a partition I want to convert to XFS. would it be faster/safer to move or copy all the data first, and then just make the new filesystem (and then copy it all back, of course), or convert it with all the data still on there? are there any good tutorials for converting ext3 to XFS? I saw something in a gentoo wiki, but I think they recommended not converting but doing it more traditionally (umounting, making new fs, etc.)
 
Old 04-13-2008, 02:24 PM   #2
biophysics
Member
 
Registered: Jan 2002
Location: Germany
Distribution: Kubuntu
Posts: 444

Rep: Reputation: 30
irrespective of converting or recopying you are always advised of backup. So I would better do a backup and then copy it once again.

try using rsync or tar for the transfer to preserve file permissions/dates...
 
Old 04-13-2008, 02:41 PM   #3
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Um, well, I don't know of a way to 'convert' filesystems, usually the formatting process involves the loss of all files on the partition being formatted.
 
Old 04-13-2008, 03:12 PM   #4
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by H_TeXMeX_H View Post
Um, well, I don't know of a way to 'convert' filesystems, usually the formatting process involves the loss of all files on the partition being formatted.
you convert with convertfs:

http://gentoo-wiki.com/HOWTO_Convert_Filesystems

not sure how stable or safe it is, though. as you can see, gentoo lists some bugs and caveats to the process, and they've taken it out of their repos.

So after reading that again, I think I'll just backup/copy and reformat normally. thanks.
 
Old 04-13-2008, 03:57 PM   #5
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Ahh, I see, it's a special algorithm, well certainly you should follow their advice:

Quote:
This can cause corrupt filesystems. Always backup your data.
There are some reports of severe data corruption - be warned
Add to that 'Have a nice day '
 
Old 04-13-2008, 04:35 PM   #6
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by H_TeXMeX_H View Post
Ahh, I see, it's a special algorithm, well certainly you should follow their advice:



Add to that 'Have a nice day '
exactly.

anyway, I just copied the data and converted the partition. I didn't time it, but I think it took about an hour or hour and a half. now i just have to copy the data back. tried and true -- the best method.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert move frames (avi/dvi/etc) to images(png/jpg/etc) 3saul Linux - Software 1 03-05-2006 10:29 PM
Convert NTFS to other filesystem dcs3jah Linux - Newbie 5 11-20-2005 01:45 PM
Need to move filesystem journal to another array Thaidog Linux - General 1 06-18-2005 03:11 PM
how to move data in partitioning provkitir Linux - Software 1 11-07-2004 07:21 PM
convert read only filesystem to write?... snip128 Linux - General 3 10-06-2004 09:06 PM


All times are GMT -5. The time now is 01:55 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration