Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Switching from XFS to ReiserFS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Silvaran
n00b
n00b


Joined: 24 Apr 2002
Posts: 8

PostPosted: Fri May 31, 2002 12:15 am    Post subject: Switching from XFS to ReiserFS Reply with quote

You read that right. I saw the warnings in the FAQ and the install docs, but so far I've had the most success with ReiserFS. I guess I'm one of the lucky ones.

Right now I have my /usr on a 2.5-gig drive. I passed the agcount=1 to XFS when I created it (big mistake) so now xfs_repair won't run (it needs >1 allocation group). My problem is I have a file entry in the file system that won't go away. /usr/portage/distfiles/svgalib-1.4.3.tar.gz. An ls -l reports the error 'No such file or directory', and I can't overwrite it (or even "touch svgalib-1.4.3.tar.gz" it, or rm it). I think my machine crashed while it was compiling this or doing a fetch on it. In any case, rather than reinstalling, I'd like to tar this partition up on another, transfer it over, and do the same for the other partition, converting to ReiserFS in between. While I've done it on RH7.3 from ext3 to ReiserFS, the ext3 partition wasn't corrupted like this. Are there any options I can pass to tar to get it to skip this corrupted file while it's tarring things up?

Thanks.
_________________
Should you immerse yourself in the fluidity of life, only to drown in its revelations?
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Fri May 31, 2002 12:21 am    Post subject: Reply with quote

maybe --ignore-failed-read you need other option to keep the correct file properties -cjplf or something I normally use cp -ax and it works.

I'm also using reiserfs for quite some time and never had problems. The problems date back to the 2.4.15 kernel and earlier, or atleast that's what I think. Cya Alex.
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
Silvaran
n00b
n00b


Joined: 24 Apr 2002
Posts: 8

PostPosted: Fri May 31, 2002 3:30 am    Post subject: Reply with quote

I did the conversion and it went off without a hitch... although I forgot to switch over the filesystem types in my fstab, but that --ignore-failed-read worked great. Seems to be running okay now (had to recompile my kernel with reiserfs but no big deal). I used tar cpv [part] | bzip2 > [other_part]/file.tar.bz2 and it worked great. Then a bzip2 -cd [file] | tar xpv... worked fine (the 'j' option screwed things up for me for some reason, so I just piped it through bzip2 manually).

Thanks for your help.
_________________
Should you immerse yourself in the fluidity of life, only to drown in its revelations?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum