Image

Imagetsarin wrote in Imagelinux

What am I missing?

I'm currently in the process of setting up a new database (PostgreSQL 8.0.3) server. The system has four disks in two RAID1 sets. The first (/dev/sda) has several partitions, and hosts the OS and other sundry goodness; the second (/dev/sdb) is one big partition, mounted at /var/postgresql/data. All of the filesystems are formatted using Reiser (3.6).

As part of the configuration, I want to put the journal for /dev/sdb1 on /dev/sda1 so that journalling activity won't interfere with the position of the heads on the data RAIDset. (/dev/sda1 also hosts pg_xlog, and /dev/sda2 is set up as swap, so the first RAIDset's heads should spend most of their time in the outermost cylinders, limiting seek times and maximizing rotational velocity, and hence throughput.)

I'm trying various permutations of something like
reiserfstune --journal-new-device /dev/sda1 --journal-new-size 16384 /dev/sdb1
and not, apparently, succeeding. Am I even vaguely on the right track with that command, or am I completely misreading the docs, such as they are?

Any suggestions on how to accomplish what I'm after?