Re: Benchmark: Dell/Perc 6, 8 disk RAID 10 - Mailing list pgsql-performance

From Craig Ringer
Subject Re: Benchmark: Dell/Perc 6, 8 disk RAID 10
Date
Msg-id 47DE1A3B.2050704@postnewspapers.com.au
Whole thread Raw
In response to Re: Benchmark: Dell/Perc 6, 8 disk RAID 10  (Justin <justin@emproshunts.com>)
Responses Re: Benchmark: Dell/Perc 6, 8 disk RAID 10
List pgsql-performance
Justin wrote:
> OK i'm showing my ignorance of linux.  On Ubuntu i can't seem to figure
> out if  XFS file system is installed, if not installed  getting it
> installed.

There are two parts to the file system, really. One is the kernel driver
for the file system. This is almost certainly available, as it will ship
with the kernel. It might be a module that is loaded on demand or it
might be compiled into the kernel its self.

On my Debian Etch system it's a module, xfs.ko, that can be loaded
manually with:

modprobe xfs

... however, you should not need to do that, as it'll be autoloaded when
you try to mount an xfs volume.

The other part to the file system is the userspace tools for creating,
checking, resizing, etc the file system. An `apt-cache search xfs' shows
that these tools have the package name xfsprogs, at least on Debian.

You can install them with "apt-get install xfsprogs". If they're already
installed no action will be taken.

When xfsprogs is installed you can use mkfs.xfs (see: man mkfs.xfs) to
format a block device (say, a partition like /dev/sda1 or an LVM logical
volume like /dev/SOMELVMVG/somelvmlv) with the xfs file system.

Once the file system is formatted you can mount it manually with the
mount command, eg:

mkdir /mnt/tmp
mount -t xfs /dev/sda1 /mnt/tmp

... or have it mounted on boot using an fstab entry like:

/dev/sda1 /path/to/desired/mountpoint xfs defaults 0 0

--
Craig Ringer

pgsql-performance by date:

Previous
From: "Andrej Ricnik-Bay"
Date:
Subject: Re: Benchmark: Dell/Perc 6, 8 disk RAID 10
Next
From: "sathiya psql"
Date:
Subject: performance tools