LVM Question

Smith, Albert Albert.Smith at genexservices.com
Wed Sep 21 15:03:38 UTC 2005


> -----Original Message-----
> From: redhat-list-bounces at redhat.com 
> [mailto:redhat-list-bounces at redhat.com] On Behalf Of Allen, Jack
> Sent: Tuesday, September 20, 2005 6:18 PM
> To: 'Redhat-list at redhat.com'
> Subject: LVM Question
> 
>         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.
> 
> Thanks:
> Jack Allen 
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> 

It sounds like you want to write directly to the raw lvol and not to a
cooked filesystem. Is this correct?. If that's the case I would make
sure you have async. I/O (AIO) enabled and installed this is usually
managed by the kernel. If there is a write failure to the raw lvol a
message should be dumped to the console and to your messages file also.


Albert Smith
Sr. Unix Systems Administrator
HPCSA, RHCT  
Genex Services
440 E. Swedesford Rd.
Wayne, PA 19087
albert.smith at genexservices.com
(610) 964-5154






More information about the redhat-list mailing list