home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!mel.dit.csiro.au!yarra!kenj
- From: kenj@yarra.pyramid.com.au (Ken McDonell)
- Newsgroups: comp.sys.pyramid
- Subject: Re: Vdisk gives funny messages
- Message-ID: <79654@yarra.pyramid.com.au>
- Date: 20 Aug 92 22:49:24 GMT
- References: <1992Aug11.040141.19028@q8.dk> <489@usun01.UUCP>
- Organization: Pyramid Technology Corp PL, Melb., Australia
- Lines: 38
-
- hoepfner@usun01.UUCP (Andreas Hoepfner) writes:
-
- > The size of a vdisk in /etc/dktab must be a multiple of 8 !
- > Check this with 'dkconfig -lv /dev/vdisk16'.
-
- At the risk of picking nits, this is not strictly correct. The rules
- are more like ...
-
- 1. For stripe and mirror vdisks, all pieces must be the same size.
-
- 2. If you are using the vdisk as a raw device (e.g. for a DBMS product,
- rather than a file system), there are no more rules!
-
- 3. For a file system with a file system block size of N Kbytes (the default
- N for OSx and DC/OSx is 16), then the total vdisk size must be a multiple
- of N kbytes.
-
- And remember that vdisk sizes in /etc/dktab are given in units of 2 Kbytes
- for OSx and 512 bytes for DC/OSx.
-
- For stripe vdisks, there is an additional performance consideration related
- to how large you make the "chunks", e.g. values smaller then N Kbytes for
- a file system are pretty silly.
-
- If anyone is heavily into this sort of thing, I have a program (stripeo)
- that will help choose the optimum size parameters for a striped virtual
- disk to be used as a file system with a specified file system block size
- (this is the hardest case). A related program (mapblk) understands vdisk
- definitions and maps block numbers from a vdisk, through nested vdisks
- and down to block numbers at the physical device.
-
- Neither program comes with warranty or support, but if you are game, drop
- me a line.
- --
- Ken McDonell E-mail: kenj@pyramid.com
- Systems Technology Laboratory kenj@yarra.pyramid.com.au
- Pyramid Technology Corporation Phone: +61 3 521 3799
- Melbourne, Australia Disclaimer: I speak for me alone, of course.
-