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

From Justin
Subject Re: Benchmark: Dell/Perc 6, 8 disk RAID 10
Date
Msg-id 47DE9CD3.9000306@emproshunts.com
Whole thread Raw
In response to Re: Benchmark: Dell/Perc 6, 8 disk RAID 10  (Craig Ringer <craig@postnewspapers.com.au>)
List pgsql-performance
Well every thing worked right up to the point where i tried to mount the file system

Warning:  xfs_db: /dev/sdb1 contains a mounted file system

fatal error -- couldn't initialize XFS library.

think i'm missing something???

Craig Ringer wrote:
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: "Mark Steben"
Date:
Subject: Re: performance tools
Next
From: "sathiya psql"
Date:
Subject: Re: performance tools