xfs
[Top] [All Lists]

Re: XFS for postgres databases?

To: olaf@xxxxxxxxxxxxx
Subject: Re: XFS for postgres databases?
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Mon, 7 Jun 2004 10:22:25 +0100
Cc: Steve Lord <lord@xxxxxxx>, Jeremy Jackson <jerj@xxxxxxxxxxxx>, Nathan Scott <nathans@xxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <1086596193.2488.10.camel@xxxxxxxxxxxxxxxxxxx>
References: <200405121300.14866.stevew@xxxxxxxxxxxxxxx> <1084332608.11308.3.camel@noodles> <20040512143941.A389759@xxxxxxxxxxxxxxxxxxxxxxxx> <200405121618.27843.ncunningham@xxxxxxxxxxxxx> <20040512165624.C389759@xxxxxxxxxxxxxxxxxxxxxxxx> <20040512130047.A28089@xxxxxxxxxxxxx> <40C0D621.2010001@xxxxxxxxxxxx> <40C0D7A8.9050500@xxxxxxx> <1086596193.2488.10.camel@xxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.1i
> nobody suspects that reading block device with mounted filesystem can
> produce any kind of corruption. 
> I think that there should be some info in the kernel config, saying that
> it is not allowed to run ANY program which uses block device for reading
> (like hdparm) on device with mounted XFS filesystem. 

I have a 2.6 patch here that fixes but introduces a deadlock under load
in exchance which I've started to track down, but I've been sidetracked
by some othere issues.

> BTW., if I have XFS on /dev/sda1 is it unsafe to access /dev/sda1 only
> or the whole /dev/sda too? If the latter, it means that modyfying
> partition table is also an unsafe operation. This would be really ugly.

Accessing other partitions or the whole device special file is okay.


<Prev in Thread] Current Thread [Next in Thread>