are there any recomendations regarding using reiser 4 on SSD drives?
does anybody know whether reiser 4 has some special options for running on SSD?
actually, I haven't found any information about reiser 4 + SSD


yes:ssteinberg wrote:I am getting a G73JW notebook with a Crucial C300 SSD soon, so this is becoming interesting.
ext4 with discard still seems the stable option. I am willing to play around however. btrfs with ssd and compress mount opts was what I wanted to try. Any good reason to try reiser4 over btrfs?
@kernelOfTruth: can you give any recomendation for mount params for reiser4 on SSD? i.e. commit=??,noatime,...kernelOfTruth wrote:yes:ssteinberg wrote:I am getting a G73JW notebook with a Crucial C300 SSD soon, so this is becoming interesting.
ext4 with discard still seems the stable option. I am willing to play around however. btrfs with ssd and compress mount opts was what I wanted to try. Any good reason to try reiser4 over btrfs?
...

try experimenting with:vacula wrote:@kernelOfTruth: can you give any recomendation for mount params for reiser4 on SSD? i.e. commit=??,noatime,...kernelOfTruth wrote:yes:ssteinberg wrote:I am getting a G73JW notebook with a Crucial C300 SSD soon, so this is becoming interesting.
ext4 with discard still seems the stable option. I am willing to play around however. btrfs with ssd and compress mount opts was what I wanted to try. Any good reason to try reiser4 over btrfs?
...
Code: Select all
noatime,nodiratime,tmgr.atom_max_flushers=30,tree.cbk_cache.nr_slots=32Code: Select all
noatime,nodiratime,tmgr.atom_max_flushers=30,tree.cbk_cache.nr_slots=128Code: Select all
mkfs.reiser4 -o create=ccreg40,compress=lzo1,formatting=smart
he probably means:vacula wrote:Thanks, kernelOfTruth!
It would be nice to try this out among interested people and share results here. Then we could discuss those "best options" and add new separate question to the FAQ.
@dusanc:
?
With that question mark I mean only a question to dusanc - whether he could add new question+answer about reiser 4 on SSDkernelOfTruth wrote:he probably means:vacula wrote:Thanks, kernelOfTruth!
It would be nice to try this out among interested people and share results here. Then we could discuss those "best options" and add new separate question to the FAQ.
@dusanc:
?
...

Code: Select all
[67777.788667] WARNING: Cannot unlink 92436075 (-2)
[67777.816186] reiser4[rm(18937)]: reiser4_unlink_common (fs/reiser4/plugin/inode_ops.c:300)[nikita-3398]:
2.6.32?one_and_only wrote:I got zen-kernel 2.6.32-zen2 manually patched with latest Edward's patches and, AFAIR, problem with removing directories should be gone (and it seems it was with patches that are in zen, but I had other issues so I had to take latest), but when I tried to remove "long" patch:
/var/tmp/portage/www-client/chromium-10.0.612.1-r1/work/chromium-10.0.612.1/out/Release/obj/gen/chrome
I got:Anybody got that?Code: Select all
[67777.788667] WARNING: Cannot unlink 92436075 (-2) [67777.816186] reiser4[rm(18937)]: reiser4_unlink_common (fs/reiser4/plugin/inode_ops.c:300)[nikita-3398]:

if you had followed the linux-ext4 or linux-kernel/lkml mailing list you would have seen that ext4 is far more risky than reiser4costel78 wrote:I'll restored one of my gentoo backup on a reiser4 separate partition.
For me, except portage sync, there are no seizable difference between btrfs and reiser4, of course, except benchmarks.
It an Intel M-25 80 GB drive. So, I'll remain to ext4 which is more mature that btrfs and does support trim. I appreciate almost risk free file-systems.

I meant 2.6.36, sorry for typo. I patched kernel before 27th, so I'll try the the lastest. Yes, fsck always helps for that.dusanc wrote: Maybe try with something more recent, vanilla kernels? 2.6.36?
Also fsck the partition.
Only get the latest patch from 27'th over vanilla 2.6.36, nothing else, and then report it pleaseone_and_only wrote:I meant 2.6.36, sorry for typo. I patched kernel before 27th, so I'll try the the lastest. Yes, fsck always helps for that.dusanc wrote: Maybe try with something more recent, vanilla kernels? 2.6.36?
Also fsck the partition.
Do I still need reiser4-fix-entd_flush.patch? cause have that patch applied already and it seems that's the only difference that Edward has made:
http://marc.info/?l=reiserfs-devel&m=12 ... 504144&w=2
But stil, I'll give it a shot.
Just a note that partedmagic now has R4 support.neunon wrote:Might be good to add that SystemRescueCD can be used if you want to set up a Gentoo install with the root FS being Reiser4.
Well, you are right.kernelOfTruth wrote: if you had followed the linux-ext4 or linux-kernel/lkml mailing list you would have seen that ext4 is far more risky than reiser4![]()
I'm not writing this to bash ext4 in favor of reiser4 (I'm myself using ext4 on many harddrive partitions) but there for example was a
risk of data-loss with the 2.6.37 kernel which meanwhile got fixed (2.6.36 being safe, >2.6.36 until 2.6.37-rc6)
also I wouldn't use trim - since from what I read it can lead to data-loss (don't ask for the reasons why it leads to data loss - I forgot them but they sounded conclusive)
so the best option most probably would be to use reiser4 with cryptcompress (either lzo or gzip) and besides that only some other safe mount-options
that I posted in reply to vacula's question
ext4 might be "stable" and in the mainline / Linus' tree but it undergoes some heavy fixing and patching ...
so it would be better to be safe than sorry - especially if you don't have backups or only do them seldom

