LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-30-2003, 10:44 PM   #1
Nevion
Member
 
Registered: Aug 2003
Distribution: Slackware 9.0
Posts: 31

Rep: Reputation: 15
copying the root filesystem


I'm thinking of making my root filesytem xfs as I've had it on another drive for a while and notice a real gain in performance under any highload over my ext3 root filesystem, so my question is is that if I can just simply do something like the page below describes http://www.blacksheepnetworks.com/se.../linux_xfs.htm
and just use my existing xfs filesystem to temporarily hold my root filesystem copy (without loosing any data from either my xfs or ext3 partitions!!) by doing something like "find / -mount -print | cpio -pdm /crap/temproot/" and then from knoppix make /dev/hda5 into xfs then just do that other command agian but kinda in reverse like "find /crap/temproot/ -mount -print | cpio -pdm /" (but only / will be whatever I have it mounted as on knoppix)


so heres my fstab:

/dev/hdb5 swap swap defaults 0 0
/dev/hda5 / ext3 defaults,noatime 1 1
/dev/hdb7 /transition vfat defaults 1 0
#/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
#
/dev/hdb6 /crap xfs defaults,noatime 2 1
/dev/hda1 /windows ntfs nls=utf8,users,ro,umask=000 0 0
/dev/scd0 /mnt/scd0 iso9660 noauto,owner,ro 0 0

I'll make sure to make enough space for my / -> /crap/temproot/ to work but I just need to know ... well, will this plan of copying / to /crap/temproot then (from knoppix) /crap/temproot to whatever I have /dev/hda5 as work and I'll beable to boot back into slack9 and boot the kernel and NOT have a kernel panic about my root fs?
ps. xfs support is built into my kernels so no potential disaster there
 
Old 08-31-2003, 04:07 AM   #2
enigmasoldier
Member
 
Registered: Jul 2003
Location: Florence, Ky
Distribution: CentOS 3.3-4, OpenBSD 3.3, Fedora Core 4, Ubuntu, Novell Open Enterprise Server
Posts: 213

Rep: Reputation: 30
Why XFS? Why not Reiser4? I have been doing some testing of my own and have found that XFS is great for huge files (It was developed by SGI for very large video files) Reiserfs (and the more recent reiser4) is much better for many small files along with the fact that it has superior journalling vs XFS.

Links
http://www.namesys.com/v4/fast_reiser4.html
 
Old 08-31-2003, 05:45 AM   #3
Nevion
Member
 
Registered: Aug 2003
Distribution: Slackware 9.0
Posts: 31

Original Poster
Rep: Reputation: 15
I have tried reiserfs before (I think vs 3??) as it was in the wolk kernels that I use and the bare.i from slack9(I compiled wolk from src... and this was only a few weeks ago) yet whenever I put my disk that had reiserfs on it through ANY high i/o, I would lock up, since I had softdog on though, I could usualy get to a virtual terminal and manage a dmesg and it would tell me of a stack overflow in a program (different program each time such as xmms, gkrellm, mozillafirebird, or even gnome-terminal!!) but alas, my system was irrecoverable and would barely manage to go into init 0 (I couldn't even copy anything (1k txt files) without locking up). So after trying a few installations of reiserfs and horribly failing (trying to find what the problem was and forcing me to reinstall 2 times almost drove me nuts) I'm now very distrustfull of reiserfs, but xfs has held nice and stable although sometimes is a bit wierd with fs recovery when the kernel boots if something happened. Short story, I went back to ext3 (because I wanted to beable to turn my computer on) but I would rather like to use the speed of xfs so now I'm in a pinch.
ps. I have 2 WD drives, one 80 with the 8 mb cache and the other a 60 with a 2mb cache, I put them both through the manufacturers tests and they pulled through just fine, I have NEVER had any problems with anything besides reiserfs.
 
Old 09-01-2003, 02:27 AM   #4
enigmasoldier
Member
 
Registered: Jul 2003
Location: Florence, Ky
Distribution: CentOS 3.3-4, OpenBSD 3.3, Fedora Core 4, Ubuntu, Novell Open Enterprise Server
Posts: 213

Rep: Reputation: 30
You should also checkout jfs. IBM is using it in all of it's "self healing" servers. I've never tried it but have heard it is great. After all, it is backed up by Big Blue!

Link
http://www-124.ibm.com/developerworks/oss/jfs/
 
Old 09-01-2003, 02:57 AM   #5
Nevion
Member
 
Registered: Aug 2003
Distribution: Slackware 9.0
Posts: 31

Original Poster
Rep: Reputation: 15
well, yeah, xfs is jfs in a tweaked disguise! so its actually a bit better in some ways, xfs can perform directory listings and such under extremely high load like your computer was sitting idle which is quite a plus in my opinion as I often have to transfer or delete very large files, expecially if I've got an emergency and need to transfer them over to another drive fast when I don't have time
 
  


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
Copying a filesystem. system Linux - General 7 02-14-2012 04:42 PM
copying root system to another partition TheOneAndOnlySM Linux - General 5 06-01-2005 04:03 PM
Encrypted Root Filesystem HOWTO and /dev filesystem tmillard Linux From Scratch 0 10-18-2004 03:58 PM
Copying files to desktop w/out being root Lon3wolf Linux - Newbie 8 07-10-2003 12:00 PM
filesystem & partition copying/relocating/restoring jqpdev Linux - General 1 03-06-2003 10:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:27 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