Gentoo Archives: gentoo-amd64

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: Re: Re: Re: Fragmentation
Date: Sat, 18 Feb 2006 04:18:07
Message-Id: pan.2006.02.18.04.16.19.683560@cox.net
In Reply to: Re: [gentoo-amd64] Re: Re: Re: Fragmentation by Sebastian Redl
1 Sebastian Redl posted <43F5D8DC.8000802@×××××××××××.at>, excerpted below,
2 on Fri, 17 Feb 2006 15:08:28 +0100:
3
4 >> Go get the System Rescue CD www.sysresccd.org. It's bootable from CD,
5 >> has great utilities for recovery and includes QtParted, which I've
6 >> used on many occasions with no problems. I keep a copy of that CD
7 >> handy at all times.
8 >
9 > Be careful with relocating ReiserFS partitions, though. My applications
10 > partition was very thoroughly destroyed after making it smaller and
11 > moving it to the end of the disk (which was very problematic in itself.)
12 >
13 > YMMV, of course.
14
15 Interesting. I've not had that problem, but I've never resized a reiserfs
16 partition, either. I'd be particularly worried about resizing it smaller,
17 due to the way reiserfs works. I know the resizer is supposed to handle
18 it, but ...
19
20 I've always created a new partition, done a mkreiserfs, then copied
21 everything from the old to the new. (There's no reason to move, if the
22 next step is simply going to be to erase that partition anyway. That
23 saves the delete step of the move.)
24
25 As for other parameters of a reiserfs volume, I've had no issues with
26 non-standard journal sizes -- I have both larger and smaller journal sizes
27 than the default on my system, but I DID have issues with non-standard
28 block sizes. Some files that worked just fine on a 4096-byte standard
29 block layout had issues when moved to an 8192-byte block reiserfs
30 partition. Most stuff worked fine, but some stuff just wouldn't. Putting
31 it back on a 4096-byte block partition, everything was fine again. The
32 only thing I could figure was maybe the blocksize code didn't get ported
33 to 64-bit correctly, and while the default size works fine as it has had
34 lots of testing, the same can't be said about other block sizes. (The
35 partition I was trying this on was primarily large sized files, so I
36 thought the 8192-byte blocks would be better, especially since tail
37 packing means no wasted space anyway.) So... I'll now change the journal
38 size as I deem appropriate for a partition as I'm doing the initial
39 mkreiserfs, but I leave blocksize alone. That's one less parameter to
40 have to track, anyway. =8^)
41
42 --
43 Duncan - List replies preferred. No HTML msgs.
44 "Every nonfree program has a lord, a master --
45 and if you use the program, he is your master." Richard Stallman in
46 http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html
47
48
49 --
50 gentoo-amd64@g.o mailing list