vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Greetings from the west. I seem to be at a stopping block and was hoping somebody... Somebody could give me an idea of where to go from here. I'll explain everything I believe should be necessary to get my question across. PC: 2 physical internal EIDE drives. MASTER: 30.0GB (according to the drive, actuality is just shy of 28GB) SLAVE: 3.0GB (real space) 512MB DDR226 RAM (but will *EVENTUALLY* have 2GB RAM) OS: OpenBSD 3.3 This is the first time I've really started using OpenBSD. I've used FreeBSD before, which is similar but still different. So far, OpenBSD seems reasonable enough to work with -- but I am getting sidetracked. Goal: MASTER: 128MB / 20GB /home 7.8GB /usr SLAVE: 3GB swap Since the slave is a slower UDMA, and I'll have plenty of real ram, I just want the slave to host the swap partition and the rest of the drive for the main part of the OS. Problem: after configuring: wd0: error comes up saying that there is no swap partition, you must reconfigure your drive. wd1: error comes up saying no root partition, you must reconfigure your drive. after the error: does not give me an option to configure the other drive. What I have not ..YET tried is to configure wd0 for all the kinds of the partitions and swap, reconfigure wd1 for swap only, then edit wd0 back -- but the installation procedure doesn't let you reconfigure an already configured drive.. I would *SO* favor this setup, however it's starting to seem that OpenBSD doesn't even want to permit this. Ideas or suggestions are greatly welcome. Please write back to the Newsgroup, as my email is no longer checked. Thanks in Advance: Tim Judd |
| |||
| Tim Judd <tjudd01@hotmail.com> writes: > Goal: > MASTER: > 128MB / > 20GB /home > 7.8GB /usr > SLAVE: > 3GB swap What kernel? The kernel needs to know where root and swap are. Frmo GENERIC: config bsd swap generic That bit says root on partition A, swap on partition B. You need to build a custom kernel with something like: config bsd root on wd0a swap on wd1b Haven't a clue if will work, thought. What I'd do is make a small swap on wd0 in addition to partition B on wd1. Then change the config to somethign like: config bsd root on wd0a swap on wd0b and wd1b I do something similar with swap spread over 3 scsi drives. hana[marc]$ swapctl -l Device 1K-blocks Used Avail Capacity Priority swap_device 986112 0 986112 0% 0 /dev/sd1b 986112 0 986112 0% 0 /dev/sd2b 1048464 0 1048464 0% 0 Total 3020688 0 3020688 0% // marc |
| |||
| Tim Judd wrote: > Greetings from the west. > > I seem to be at a stopping block and was hoping somebody... Somebody > could > give me an idea of where to go from here. I'll explain everything I > believe should be necessary to get my question across. > > PC: > 2 physical internal EIDE drives. > MASTER: 30.0GB (according to the drive, actuality is just shy of 28GB) > SLAVE: 3.0GB (real space) > 512MB DDR226 RAM (but will *EVENTUALLY* have 2GB RAM) > > OS: > OpenBSD 3.3 > > > This is the first time I've really started using OpenBSD. I've used > FreeBSD > before, which is similar but still different. So far, OpenBSD seems > reasonable enough to work with -- but I am getting sidetracked. > > Goal: > MASTER: > 128MB / > 20GB /home > 7.8GB /usr > SLAVE: > 3GB swap This is not a very good idea. You'd gain much more by: - putting the second disk on the second IDE (MASTER or SLAVE) - having swap on both disks (interleaved swap) - reducing swap (do you REALLY need 3GB of swap space?) Assuming you really will upgrade to 2GB RAM and you'll make heavy usage of it I would probably allocate it like this: - first disk EIDE first channel MASTER - 128MB / - 1GB swap - 3.8GB /usr - 23GB /home - second disk EIDE second channel MASTER - 128MB /tmp - 1GB swap - 1.8GB /var You can probably reduce the swap sizes somewhat unless you actually expect to really need that much. Hope this helps some. -- Mailman -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 100,000 Newsgroups - 19 Different Servers! =----- |
| ||||
| Mailman wrote: > Tim Judd wrote: > > >>Greetings from the west. >> >>I seem to be at a stopping block and was hoping somebody... Somebody >>could >>give me an idea of where to go from here. I'll explain everything I >>believe should be necessary to get my question across. >> >>PC: >> 2 physical internal EIDE drives. >> MASTER: 30.0GB (according to the drive, actuality is just shy of 28GB) >> SLAVE: 3.0GB (real space) >> 512MB DDR226 RAM (but will *EVENTUALLY* have 2GB RAM) >> >>OS: >> OpenBSD 3.3 >> >> >>This is the first time I've really started using OpenBSD. I've used >>FreeBSD >>before, which is similar but still different. So far, OpenBSD seems >>reasonable enough to work with -- but I am getting sidetracked. >> >>Goal: >> MASTER: >> 128MB / >> 20GB /home >> 7.8GB /usr >> SLAVE: >> 3GB swap > > > This is not a very good idea. You'd gain much more by: > > - putting the second disk on the second IDE (MASTER or SLAVE) > - having swap on both disks (interleaved swap) > - reducing swap (do you REALLY need 3GB of swap space?) > > Assuming you really will upgrade to 2GB RAM and you'll make heavy usage of > it I would probably allocate it like this: > > - first disk EIDE first channel MASTER > - 128MB / > - 1GB swap > - 3.8GB /usr > - 23GB /home > - second disk EIDE second channel MASTER > - 128MB /tmp > - 1GB swap > - 1.8GB /var > > You can probably reduce the swap sizes somewhat unless you actually expect > to really need that much. > > Hope this helps some. I appreciate the input. I can't forsee the actual requirements I'm going to need years down the line, I thought it was safe to go ahead and go "overboard" with my requirements and know that I'm covered when any and all situations come my way. As for putting the 2nd IDE on the 2nd controller -- I can definately see where you were going with this... but the internal layout of the board and components are too far apart to list and use them such a way. This is a MicroATX board, on a desktop case. This is beyond the case though. As a previous poster mentioned, I will look into the kernel config(s) and see what I can come up with. I just bit down and put a 80G drive as master (taking out the 30 because in another machine, I had the same brand of hard drive that was failing. Now that I have an additional 50G (for a total of 80G), I just went ahead and threw most of it on the IDE0-MASTER. You guys enjoy your day. I appreciate your time. |