Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id D25852E30F7 for ; Mon, 17 Mar 2008 12:45:08 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 41232-01-3 for ; Mon, 17 Mar 2008 12:44:53 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail.emproshunts.com (mail.emproshunts.com [66.64.191.19]) by postgresql.org (Postfix) with ESMTP id 4FF0A2E3300 for ; Mon, 17 Mar 2008 12:32:25 -0300 (ADT) Received: from [192.168.1.40] by mail.emproshunts.com (GMS 15.00.3626/KX5895.00.ca7cb0e7) with ESMTP id gxqahaaa for pgsql-performance@postgresql.org; Mon, 17 Mar 2008 11:32:21 -0400 Message-ID: <47DE9CD3.9000306@emproshunts.com> Date: Mon, 17 Mar 2008 11:31:15 -0500 From: Justin User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Craig Ringer CC: Dave Cramer , Craig James , Greg Smith , pgsql-performance@postgresql.org Subject: Re: Benchmark: Dell/Perc 6, 8 disk RAID 10 References: <47D00DB2.7040007@emolecules.com> <18451.1204824562@sss.pgh.pa.us> <47D0AFC1.5070305@emolecules.com> <08115901408538@mail.emproshunts.com> <47D93A43.6020503@emolecules.com> <016301c8854e$851e06e0$3101a8c0@JDell> <47DA1866.3050500@krogh.cc> <47DA37E1.6050104@emproshunts.com> <47DA5852.30004@emproshunts.com> <47DCBBF9.1090401@emproshunts.com> <47DD6F4C.2050208@emolecules.com> <3CD2CF85-AD79-4500-95EE-57E6B2D01721@fastcrypt.com> <47DE1F9A.2040804@emproshunts.com> <47DE1A3B.2050704@postnewspapers.com.au> In-Reply-To: <47DE1A3B.2050704@postnewspapers.com.au> Content-Type: multipart/alternative; boundary="------------040705050505000903060306" X-Originating-IP: [192.168.1.40] X-DNSBL: 0 X-AntiSpam: Checked for restricted content by Gordano's AntiSpam Software X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/346 X-Sequence-Number: 29300 This is a multi-part message in MIME format. --------------040705050505000903060306 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 > > --------------040705050505000903060306 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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

  
--------------040705050505000903060306--