![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a config on SCO OS 5.07 with 2x120gig disks. The pick0 disk line is described in the raining data docs as having the disk line # disk /dev/rpick0 offset sizein1kblocks # disk 0 disk /dev/rpick0 0 2097152 # disk 0 The manual talks about the first int after the disk device as the "Offset" . Would this then be similar to a divvy table? What's the most disk space you can configure for D3 on SCO OS 5.0.7? If I wanted to configure more than 30gig, of hd space for D3 what would be the best method - is there? Thanks for any help |
#3
| |||
| |||
|
|
I have SCO OS 5.07 with 2 of 120gig disks. The pick0 disk line is described in the raining data docs as having the disk line # disk /dev/rpick0 offset sizein1kblocks # disk 0 disk /dev/rpick0 0 2097152 # disk 0 Does the "Offset" refer to a divvy table? What's the most disk space you can configure for D3 on SCO OS 5.0.7? If I wanted to configure more than 30gig, of hd space for D3 what would be the best method - is there? Partial answer; offset is how much of that rpick0 division or partition to |
#4
| |||
| |||
|
|
"cracboy" wrote I have SCO OS 5.07 with 2 of 120gig disks. The pick0 disk line is described in the raining data docs as having the disk line # disk /dev/rpick0 offset sizein1kblocks # disk 0 disk /dev/rpick0 0 2097152 # disk 0 Does the "Offset" refer to a divvy table? What's the most disk space you can configure for D3 on SCO OS 5.0.7? If I wanted to configure more than 30gig, of hd space for D3 what would be the best method - is there? Partial answer; offset is how much of that rpick0 division or partition to SKIP at the front end. Is like doing a dd command with a seek= clause. Use 0. You'd expect minimal SCO disk usage compared to D3, so how about putting in two disk lines that use somthing off each of the two disks, for speed? Older D3/sco had a 2gigabyte per 'disk' statement limit. Yours probably doesn't. Remember you can easily add more disk statements later {put 'em AFTER these!} The space from the new disk stmts will show up when next you start D3 up. |
#5
| |||
| |||
|
|
The older 7.2.0 config allowed you to have up to 64 partitions, each 2G. This created a theoretical limit of 128G for the VME. Often, getting near this limit was difficult because it is hard to create that many partitions. A simple workaround to this is to not run D3 out of partitions, but instead out of Unix file-space. Here is an example of this: Assuming you have a lot of available space in the /u2 mount point: mkdir /u2/d3-dsks dd if=/dev/zero of=/u2/d3-dsks/1 bs=1024 count=2000000 dd if=/dev/zero of=/u2/d3-dsks/2 bs=1024 count=2000000 dd if=/dev/zero of=/u2/d3-dsks/3 bs=1024 count=2000000 In pick0 you can then setup: disk /u2/d3-dsks/1 0 2000000 # disk 0 disk /u2/d3-dsks/1 1 2000000 # disk 0 disk /u2/d3-dsks/1 2 2000000 # disk 0 |
|
And you have a 6G system without using any partitions. Also, if these lines (and files) exist when you run the D3_setup program, you don't ever need to create partitions at all. You can even do this with very large blobs under 7.2.1. Here is a snipped from one of our customers: disk /usr2/d3_disks/1 0 40000000 # disk 0 / 40960000000Bytes 38GB -rw-r--r-- 1 root root 40960000000 Nov 19 20:17 /usr2/d3_disks/1 Be sure to count the number of zeros carefully. In terms of performance, this is probably a couple of percent slower than real partitions, but the difference appears to be very very small. Also, you actually increase the size of D3 space without doing a save restore. Just make the last blob bigger or add a new one onto the end and D3 will catch it when you boot the VME (be sure to shutdown the VME before touching the blobs). It is also nice to make copies of the blobs when you are about to do a save/restore. This way if something dies, you can always copy the blobs back and end up where you started. This is one reason that I really push the idea of having "ludicrous" amounts of disk space lying around. Doug Dumitru EasyCo LLC 949 831-4774 http://easyco.com |
|
Have tried a variety of methods and, for a production machine, I lack confidence in the settings. Has anyone set the disk lines up that can give me an example of internal disk syntax for the pick0? so far I lean towards the following disk /dev/rpick0 0 2097152 # disk 0 disk /dev/rpick0 0 2097152 # disk 1 disk /dev/rpick0 0 2097152 # disk 2 disk /dev/rpick0 0 2097152 # disk 3 disk /dev/rpick0 0 2097152 # disk 4 what would be the statements for an internal disk file using the dd method? thanks again "Frank Winans" <fwinans (AT) airmail (DOT) net> wrote in message news:bnehmf$up3 (AT) library1 (DOT) airnews.net... "cracboy" wrote I have SCO OS 5.07 with 2 of 120gig disks. The pick0 disk line is described in the raining data docs as having the disk line # disk /dev/rpick0 offset sizein1kblocks # disk 0 disk /dev/rpick0 0 2097152 # disk 0 Does the "Offset" refer to a divvy table? What's the most disk space you can configure for D3 on SCO OS 5.0.7? If I wanted to configure more than 30gig, of hd space for D3 what would be the best method - is there? Partial answer; offset is how much of that rpick0 division or partition to SKIP at the front end. Is like doing a dd command with a seek= clause. Use 0. You'd expect minimal SCO disk usage compared to D3, so how about putting in two disk lines that use somthing off each of the two disks, for speed? Older D3/sco had a 2gigabyte per 'disk' statement limit. Yours probably doesn't. Remember you can easily add more disk statements later {put 'em AFTER these!} The space from the new disk stmts will show up when next you start D3 up. |
#6
| |||
| |||
|
|
disk /dev/rpick0 0 2097152 # disk 0 disk /dev/rpick0 0 2097152 # disk 1 disk /dev/rpick0 0 2097152 # disk 2 disk /dev/rpick0 0 2097152 # disk 3 disk /dev/rpick0 0 2097152 # disk 4 what would be the statements for an internal disk file using the dd method? Nah, you're telling it to use the 'rpick0' divvy or partition five times; if it is a |
#7
| |||
| |||
|
|
disk /dev/foo 0 2097152 # first chunk disk /dev/foo 2100000 2097152 # 2nd chunk would just neglect to use (2100000-2097152 + 1) kbytes of foo's room Oops! I meant to write (2100000-(2097152+1)) kbytes |
#8
| |||
| |||
|
|
"cracboy" wrote I have SCO OS 5.07 with 2 of 120gig disks. The pick0 disk line is described in the raining data docs as having the disk line # disk /dev/rpick0 offset sizein1kblocks # disk 0 disk /dev/rpick0 0 2097152 # disk 0 Does the "Offset" refer to a divvy table? What's the most disk space you can configure for D3 on SCO OS 5.0.7? If I wanted to configure more than 30gig, of hd space for D3 what would be the best method - is there? Partial answer; offset is how much of that rpick0 division or partition to SKIP at the front end. Is like doing a dd command with a seek= clause. Use 0. You'd expect minimal SCO disk usage compared to D3, so how about putting in two disk lines that use somthing off each of the two disks, for speed? Older D3/sco had a 2gigabyte per 'disk' statement limit. Yours probably doesn't. Remember you can easily add more disk statements later {put 'em AFTER these!} The space from the new disk stmts will show up when next you start D3 up. |
#9
| |||
| |||
|
|
Thanks guys Have the following in my 7.1 d3 pick00 file disk /pick1/1 0 2000000 # disk 0 disk/pick1/2 0 2000000 # disk 1 .......... appears to work but I get an error No disk has been defined. see new posting if you can help on that one. Ta Chris "Frank Winans" <fwinans (AT) airmail (DOT) net> wrote in message news:bnehmf$up3 (AT) library1 (DOT) airnews.net... "cracboy" wrote I have SCO OS 5.07 with 2 of 120gig disks. The pick0 disk line is described in the raining data docs as having the disk line # disk /dev/rpick0 offset sizein1kblocks # disk 0 disk /dev/rpick0 0 2097152 # disk 0 Does the "Offset" refer to a divvy table? What's the most disk space you can configure for D3 on SCO OS 5.0.7? If I wanted to configure more than 30gig, of hd space for D3 what would be the best method - is there? Partial answer; offset is how much of that rpick0 division or partition to SKIP at the front end. Is like doing a dd command with a seek= clause. Use 0. You'd expect minimal SCO disk usage compared to D3, so how about putting in two disk lines that use somthing off each of the two disks, for speed? Older D3/sco had a 2gigabyte per 'disk' statement limit. Yours probably doesn't. Remember you can easily add more disk statements later {put 'em AFTER these!} The space from the new disk stmts will show up when next you start D3 up. |
#10
| |||
| |||
|
|
Fixed the no disk defined error, had to use the full path when starting the d3 vm; d3 -0 -n /usr/lib/pick/pick0 -a x ta Without the full pathname D3 seems to use pick0 |
![]() |
| Thread Tools | |
| Display Modes | |
| |