|
NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Spreading volumes across multiple disks?
I've just gotten NetBSD 6.1.5 set up on a MicroVAX 3100/90 I recently acquired. It came with four 406MB SCSI hard drives, and since I'm on a tight budget, it's going to be keeping those four 406MB drives for the foreseeable future. Currently it's just got / mapped to a full-drive partition on sd0/dka0 (on account of the installer not being able to set up partitions on multiple disks.) What I'd like to do with it is get it set up so that it makes good use of the available disk space.
Mostly that's just a matter of copying out different parts of the filesystem to new partitions on the other disks and then changing fstab, but one thing I'd specifically like to do is have a /usr partition larger than 406MB, since it seems like the majority of pretty much any non-core stuff gets installed in /usr. I'm curious - I know there's relatively simple ways to mirror a partition across multiple disks, but is there an easy way to actually spread a larger virtual partition across a couple different physical partitions? I suppose if nothing else I could map some of the /usr subdirectories to different partitions, but a true virtual partition seems like it would be a more flexible, simpler solution. (And as an aside, is there any viable way to get a working compiler toolchain running natively on NetBSD/vax?)
__________________
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73 Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer |
|
||||
I'm not a NetBSD user .... but with that disclaimer, perhaps CCD is what you're looking for to manage your 1.6GB worth of disk space?
https://www.netbsd.org/docs/guide/en/chap-ccd.html |
|
|||
Hm, that does look like about what I'm looking for...I'll give it a try when I get a chance.
__________________
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73 Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer |
|
|||
Yeah...I actually went to OpenBSD first, but unfortunately it's very noticeably slower and heavier on disk space than NetBSD, at least on something with MicroVAX levels of horsepower.
__________________
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73 Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer |
|
||||
Should you return to it, note that ccd was long deprecated. Concatenation is performed as a softraid(4) discipline.
|
|
|||
Managing multiple disks
Quote:
Raidframe can also autoconfigure so any raids will assemble correctly when the kernel boots before mounting any filesystems (even if you shuffle all the disks around). Some options might be a) boot partition on one disk (maybe 64M), then concatenate the rest of that disk, and the other 3 into one big ccd and mount on /usr. Gives the largest possible /usr (at the expense of no space anywhere else b) boot partition on one disk (maybe 64M), remainder of disk as say /var, and three disks together as a ccd for /usr. Can be striped or concatenated, but non power of 2 stripe may mean striping gives poor performance c) boot partition on one disk (maybe 64M), remainder of disk as say /var, one disk as /home and two disks together as a ccd for /usr. Can be striped or concatenated, power of 2 stripe may give a speed increase d) tiny boot partition on one disk then a striped ccd partition for /usr across the remainder of that disk and the same sized chunk of the other three. Gain the speed of striping with power of 2 stripes, but you are left with three other tiny partitions to fiddle with e) Any of b), c) or d) but with raidframe. Only real benefit is the autoconfiguration f) boot disk with / and maybe /var, then a raid5 partition for /usr of the other 3, which would give 406M+406M+parity. You lose 406M for the parity, but gain data security if one of the three fails, probably have reasonable performance due to stripe size, but may lose out due to compute overhead I'd probably pick c) as a nice mix, plus NFS mount something from another box when needed Quote:
Otherwise someone time and the right itch could look at a VAX frontend for clang, or spend some time on pcc/VAX. The latter certainly should be performant enough on VAX. Anyway, congrats on the 3100/90. Its a nice box. Do you have a framebuffer & cables for X on it? |
|
||||
Quote:
Quote:
Quote:
Quote:
__________________
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73 Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer Last edited by commodorejohn; 27th November 2014 at 04:40 PM. |
|
||||
Quote:
Quote:
Raidframe also has an autoconfigure option, which writes all the metadata to the header of the relevant partitions, so the kernel will autoconfigure the raid as soon as it sees the disk. It also has an option to mark a raid as he root device, so you could even setup all of your disks as a raid5 set, apart from a single tiny partition big enough to store /boot and a kernel. After the kernel loads, it will autoconfigure the raid5 set, which can then contain / and all other file systems. The other nice aspect (particularly if you have many disks), is raid autoconfiguration is robust in the case of disks being shuffled around or even moved to different controllers. Quote:
I suspect you might be able to build pcc using gcc if you set -O0, or possibly ask on port-vax@netbsd.org to see if anyone has a pcc binary spare... Quote:
|
|
|||
I've run X on my 4000/60 under OpenVMS, and it works pretty well, but all the X software I've used on it was last built sometime in the early 2000s, so that's not terribly indicative.
__________________
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73 Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer |
|
|||
Quote:
As an aside on the crossbuilding. If you have a more modern box then one option is to install simh and build apps under a simulated VAX with many 100s of MB of RAM... |
|
|||
I suppose that's true. I may just wind up running OpenVMS on it instead (with two VAXen, all I need is another AUI and a router to have my own little cluster,) but we'll see how it goes.
__________________
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73 Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer |
|
|||
Quote:
The VAXen you have should be *just* about powerful enough to run a LAMP (NAMP? VAMP?) stack, with NetBSD/Apache/MySQL/PHP, though my personal preference would probably be NetBSD/nginx/PostgreSQL/Perl, but thats just me Anyway - have fun whichever way you choose to keep the ol' iron running. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Worm spreading via Microsoft RDP | J65nko | News | 0 | 29th August 2011 01:44 AM |
Hundreds of thousands of hacked websites spreading scareware | J65nko | News | 0 | 3rd April 2011 03:02 AM |
Spam volumes double as Rustock botnet wakes | J65nko | News | 2 | 11th January 2011 11:08 PM |
Exploit for new Flash vulnerability spreading fast | J65nko | News | 0 | 11th June 2010 05:43 AM |
How to get a list of volumes? | PeterSteele | Programming | 12 | 17th July 2008 09:32 AM |