From: Michael Tokarev <mjt@tls.msk.ru>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Using Oracle with lvm AND rawio: read(512) from
Date: Mon, 04 Dec 2000 17:42:14 +0300 [thread overview]
Message-ID: <3A2BAD46.F2A21349@tls.msk.ru> (raw)
In-Reply-To: 3A2BA6C4.A752DBE8@freeler.nl
Jorg de Jong wrote:
>
> Hi Michael,
>
> I had a look at you original message and I found two things;
>
> - the man page of raw says that you can not use dd on a raw device !?!
This is because of (possible) alignment problems. Dd command that I use aligns
data accordingly, it seemed to be. At least I didn't noticied any problems
using it with plain "rawed" partitions, as shown by my examples, and it
works well with raw device on top of lvm volume, as long as I specify
block size 1024, 2048 etc, but NOT with 512 (default) blocksize.
> - further more I suspect that it might be the case that our logical volume is
> to small to create the requested table on.
I'd think that 128Mb volume is sufficient for 10Mb tablespace... ;)
> The oracle documentation says on the subject :
>
> >Raw Device Setup
> >
> >Keep in mind the following items when creating raw devices:
> >
> > When creating the volumes, ensure that the owner and group are oracle and oinstall, respectively.
If oinstall group used at all. That devices simple should be read/writable by
oracle process owner, that's ok in my case:
# ls -l /dev/raw/raw100
crw-rw---- 1 oracle disk 162, 100 Aug 14 19:26 /dev/raw/raw100
# _
If it where due to permissions problems, then plain partitions also
should not work (them works well), and oracle should return "permission
denied" error (that it does if I change permissions).
Regards,
Michael.
next prev parent reply other threads:[~2000-12-04 14:42 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 ` [linux-lvm] Using Oracle with lvm AND rawio: read(512) from Andreas Dilger
2000-12-02 23:24 ` 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 [this message]
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=3A2BAD46.F2A21349@tls.msk.ru \
--to=mjt@tls.msk.ru \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox