From: Andreas Dilger <adilger@turbolinux.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Using Oracle with lvm AND rawio: read(512) from
Date: Fri, 1 Dec 2000 22:29:56 -0700 (MST) [thread overview]
Message-ID: <200012020529.WAA00876@lynx.turbolabs.com> (raw)
In-Reply-To: <3A2843C6.D277A3F7@tls.msk.ru> from "Michael Ju. Tokarev" at Dec 02, 2000 03:35:18 AM
Michael Tokarev writes:
> What's *still* unknown to me is a difference between character and
> block specials. In principle, block device should only allow
> block access (i.e. multiple of 512 or 1024 or whatether size),
> while character devs should allow read of 1 byte.
Actually, it is just the opposite for devices like hard drives:
the block interface will read a whole block no matter what size of
I/O you do, and it will cache the block for any smaller read/write
actions (i.e. read whole block-modify part of block-write whole block).
The character interface do NOT buffer the data, so the application
is forced to do correct block-sized and aligned reads/writes themselves.
The benefit of the character device is that it doesn't do cacheing.
> but for shure this isn't a solution, since we'll not be able
> to extend that datafile from oracle (like extending filesystem
> on top of lv), since this again will require writing/reading
> like at initial creation time, -- so almost all lvm work will
> go away.
You don't have to extend the datafiles for Oracle, just add a new
datafile to the tablespace.
Cheers, Andreas
--
Andreas Dilger TurboLabs filesystem development
next prev parent reply other threads:[~2000-12-02 5:29 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-01 21:28 [linux-lvm] Using Oracle with lvm AND rawio: read(512) from /dev/raw/ Michael Tokarev
2000-12-01 23:22 ` Andreas Dilger
2000-12-02 0:35 ` Michael Ju. Tokarev
2000-12-02 5:29 ` Andreas Dilger [this message]
2000-12-02 23:24 ` [linux-lvm] Using Oracle with lvm AND rawio: read(512) from Michael Ju. Tokarev
2000-12-03 1:34 ` Michael Ju. Tokarev
2000-12-04 8:42 ` Michael Ju. Tokarev
2000-12-04 14:14 ` Jorg de Jong
2000-12-04 14:42 ` Michael Tokarev
2000-12-04 14:45 ` Michael Tokarev
2000-12-04 15:16 ` Michael Tokarev
2000-12-04 19:35 ` Jorg de Jong
2000-12-04 20:01 ` [linux-lvm] Final Q: i/o with 512 bytes: lvm+raw... [was: Oracle, lvm, rawio, ...] Michael Tokarev
2000-12-02 10:45 ` [linux-lvm] Using Oracle with lvm AND rawio: read(512) from /dev/raw/ Christoph Hellwig
2000-12-02 20:46 ` Jorg de Jong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200012020529.WAA00876@lynx.turbolabs.com \
--to=adilger@turbolinux.com \
--cc=linux-lvm@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.