From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j8LCwMV04053 for ; Wed, 21 Sep 2005 08:58:22 -0400 Received: from mail.linbit.com (nudl.linbit.com [212.69.162.21]) by mx3.redhat.com (8.13.1/8.13.1) with ESMTP id j8LCwFPW003752 for ; Wed, 21 Sep 2005 08:58:15 -0400 Received: from barkeeper1 (213-229-1-138.sdsl-line.inode.at [213.229.1.138]) by mail.linbit.com (LINBIT Mail Daemon) with ESMTP id D5C9214F10 for ; Wed, 21 Sep 2005 14:58:09 +0200 (CEST) Date: Wed, 21 Sep 2005 14:58:09 +0200 From: Lars Ellenberg Subject: Re: [linux-lvm] Directly using a logical volume Message-ID: <20050921125809.GC16203@barkeeper1.linbit> References: Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-lvm@redhat.com / 2005-09-20 16:14:25 -0400 \ Allen, Jack: > I have a system connected to a SAN via Fibre Channel interface. > The system sees 3 disk sdb, sdc and sdd. I put them in a volume group > and then allocated some logical volumes. If I use the logical volume to > read and write to directly for my application, if there is an error on a > write, I assume the write system call will return an error. Or does the > write give a good return value after putting the data in some system > buffer to be written later? Then is the write of the system buffer fails > later, my program would not know. not exactly a linux-lvm question, is it? man 2 write man 2 fsync man 3 open (O_SYNC) -- : Lars Ellenberg Tel +43-1-8178292-0 : : LINBIT Information Technologies GmbH Fax +43-1-8178292-82 : : Schoenbrunner Str. 244, A-1120 Vienna/Europe http://www.linbit.com :