|
CrzyDTpBoy posted:That card doesn't have both DVI & VGA, does it? Clicky That's what xorg -configure gives me. I've been trying to get google to tell me how to get the config out of KDE, but no joy.
|
# ? Apr 17, 2008 08:22 |
|
|
# ? Mar 28, 2024 16:34 |
|
Is there some easy way to remove a lot of packages without typing out pkg_delete [package] a million times? My first thought was to go back into the ports collection and do make uninstall but that doesn't work at all (feels like it should though).
|
# ? Apr 23, 2008 02:13 |
|
Sergeant Hobo posted:Is there some easy way to remove a lot of packages without typing out pkg_delete [package] a million times? My first thought was to go back into the ports collection and do make uninstall but that doesn't work at all (feels like it should though). pkg_delete -f * I think is what I do to dump everything before an upgrade. Might need to run it a few times in case stuff doesn't want to uninstall because of dependencies.
|
# ? Apr 23, 2008 03:07 |
|
Sergeant Hobo posted:Is there some easy way to remove a lot of packages without typing out pkg_delete [package] a million times? My first thought was to go back into the ports collection and do make uninstall but that doesn't work at all (feels like it should though). You can specify multiple packages with "pkg_delete package1 package2 etc" or use the -x switch and a regex.
|
# ? Apr 23, 2008 04:34 |
|
LooseChanj posted:pkg_delete -f * I think is what I do to dump everything before an upgrade. Might need to run it a few times in case stuff doesn't want to uninstall because of dependencies. man pkg_delete -a Unconditionally delete all currently installed packages.
|
# ? Apr 23, 2008 06:16 |
|
EvilMoFo posted:... Pffpt, real men don't read man pages. Seriously though, when did that bit of niftiness happen? OpenBSD's pkg_delete doesn't seem to have it.
|
# ? Apr 23, 2008 06:22 |
|
Can anyone give me details or point me in the right direction of setting up a wireless card as an access point in OpenBSD?
|
# ? Apr 23, 2008 07:12 |
|
LooseChanj posted:Seriously though, when did that bit of niftiness happen? OpenBSD's pkg_delete doesn't seem to have it. Mon Mar 5 11:11:30 2001 UTC (7 years, 1 month ago) by sobomax sadly, openbsd is a bit rough around the edges after using freebsd for long
|
# ? Apr 23, 2008 07:27 |
|
EvilMoFo posted:oh, not too long ago at all Practically yesterday then. Man, I wonder why Open's never adopted it? Or maybe it has, and it's not in the man page.
|
# ? Apr 23, 2008 07:30 |
|
spoon daddy posted:Can anyone give me details or point me in the right direction of setting up a wireless card as an access point in OpenBSD?
|
# ? Apr 23, 2008 07:40 |
|
Sergeant Hobo posted:Is there some easy way to remove a lot of packages without typing out pkg_delete [package] a million times? My first thought was to go back into the ports collection and do make uninstall but that doesn't work at all (feels like it should though). You can always try pkg_cutleaves. It's basically a script that cycles through the ports tree, asking whether you want to delete each package that it finds that nothing else depends on. When one loop is done, it cycles back through with any new "orphaned" packages it finds. It sounds complicated, but it's not, so here's a half-assed example: I have php5 and a single extension (i.e. php5-mysql) installed. The first round asks if I want to nuke php5-mysql, so I do. Since it's now gone and there's nothing else that requires php5, the second loop will now give me the option to remove php5. It's a pretty efficient and safe way to prune down installed ports.
|
# ? Apr 24, 2008 03:02 |
|
CrzyDTpBoy posted:It's a pretty efficient and safe way to prune down installed ports.
|
# ? Apr 24, 2008 07:05 |
|
EvilMoFo posted:oh, not too long ago at all It may seem rough, but more likely it's just different. My guess is OpenBSD doesn't have a switch for pkg_delete to delete all packages because you can just do pkg_delete /var/db/pkg/*. The devs don't like to add switches if they aren't really necessary. The upgrade mode of pkg_add is also pretty good now so you don't really need to wipe all the packages out with a new version, just do pkg_add -ui. As for making an OpenBSD access point, whatever chipset you're using needs to support hostap mode. You can check it in the man page. The ral man page has an example of what to put in your hostname.if: quote:The following hostname.if(5) example creates a host-based access point on boot:
|
# ? Apr 24, 2008 09:45 |
|
I need some help trying to mount a UFS disk in linux. The disk is sata and was in a freebsd (5.x) system in a raid 1. It's attached to the linux machine currently with a usb -> sata cable. I'm using a 2.6.9.x linux kernel (centosplus), with ufs compiled as a module. So far so good, but none of the ufs types are recognized: code:
code:
code:
Entertaining suggestions! Fishstick fucked around with this message at 11:07 on Apr 24, 2008 |
# ? Apr 24, 2008 11:04 |
|
Fishstick posted:I need some help trying to mount a UFS disk in linux. The disk is sata and was in a freebsd (5.x) system in a raid 1. It's attached to the linux machine currently with a usb -> sata cable. Are you sure the UFS and BSD partition modules are loaded? Is the raid1 completely transparent? Can you make a raid1 of a linux disk, then split it off onto this machine and use that? I'm going to suggest you upgrade your kernel to something recent. 2.6.9 is pretty old. http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.25.tar.bz2 Give that a whirl and report back.
|
# ? Apr 24, 2008 13:14 |
|
H110Hawk posted:Are you sure the UFS and BSD partition modules are loaded? Is the raid1 completely transparent? Can you make a raid1 of a linux disk, then split it off onto this machine and use that? Unfortunate typo on my part on the kernel version, it's actually a 2.6.18-53.1.14.el5.centos.plus. The UFS and bsd_label modules are active, before activating them mount will just spit out "unknown filesystem option" if you try to use ufs, now it lists the ufstypes option as well. Modprobe doesn't error either. I'm not clear on what you mean by this though: quote:Can you make a raid1 of a linux disk, then split it off onto this machine and use that?
|
# ? Apr 24, 2008 13:31 |
|
Fishstick posted:What exactly would that achieve? Trying to see if you can mount anything that comes off that raid1 without the raid controller (software? hardware? nvraidbullshit?) in place.
|
# ? Apr 24, 2008 14:02 |
|
It's the same hardware/setup we use on other machines, just bsd. It's a 3ware hardware raid, and on our linux machines I've always been able to just remove a drive from the array, replace it with a fresh one, and pull data off of the removed drive just by mounting it as ext2/3. Unless i'm once again misunderstanding what you mean.
|
# ? Apr 24, 2008 14:41 |
|
CrzyDTpBoy posted:You can always try pkg_cutleaves. It's basically a script that cycles through the ports tree, asking whether you want to delete each package that it finds that nothing else depends on. When one loop is done, it cycles back through with any new "orphaned" packages it finds. Now that's how I imagined a make uninstall from within the ports tree would work, more or less. Thanks for the link.
|
# ? Apr 24, 2008 16:56 |
|
Fishstick posted:
This could be really dumb / not useful, but do you need to specify anything more specific than just /dev/sdc? Maybe /dev/sdc1?
|
# ? Apr 25, 2008 06:14 |
|
markus876 posted:This could be really dumb / not useful, but do you need to specify anything more specific than just /dev/sdc? Maybe /dev/sdc1? Yep you would. Slice 1 would be /dev/sdc1, slice 2 would be /dev/sdc2, etc. Each slice is a partition on disk.
|
# ? Apr 25, 2008 06:36 |
|
Yeah, but machine wasn't recognizing any of the slices, so that was my desperate attempt . In the meantime i've been able to get the BSD box running again using a 4month old disk that was taken out of the raid 1 at some point (these guys had an awesome backup scheme!), and booting from there. I've hooked the data disc (with the recent data) on a sata port outside of raid. But it's not looking too good: code:
If I understand correctly, I should be able to retrieve the disklabels through scan_ffs, match it with the disklabels of the older raid-removed disk - that is now the bootdrive - and apply them to the hosed disk, after making a copy with dd. This way I should hopefully be able to recover the slices and mount it. However, there's a 2block difference in the labels between the bootdisk and the datadisk, could this be due to disk geometry (bootdisk is 160gb with 80gb partition, data disk is 80gb with 80gb partition) or should I correct the label with what I know is correct, versus what scan_ffs has found on it? code:
E: Welp, that worked. Too bad it was for nought since half the goddamn folders were busted in the end anyway. Lessons learned. Fishstick fucked around with this message at 18:52 on Apr 25, 2008 |
# ? Apr 25, 2008 08:46 |
|
OpenBSD upgrade tip: When booting from the ramdisk kernel to upgrade, it helps to use the bsd.rd from the release you're trying to install. Also, remembering where you saved the install sets. I'm patting myself on the back though, because that's all I hosed up this time.
|
# ? May 3, 2008 18:06 |
|
Interestingly enough, it looks like setting up FreeBSD to do the same things my Arch Linux box does now is going to be way the hell easier than how I did it with Arch to begin with. So I think I'll do that. EDIT: Also, I'm curious. What exactly would one use NetBSD for, compared to Free or Open? Like if you had some obscure platform you needed BSD for and the others wouldn't work? Sergeant Hobo fucked around with this message at 22:51 on May 19, 2008 |
# ? May 19, 2008 22:13 |
|
NetBSD is the one that will run on tons of different hardware, I think its more used for embedded devices and appliances. Probably not as friendly to set up, but very portable.
|
# ? May 19, 2008 23:42 |
|
We recently acquired an HP c7000 blade system along with a matching EVA san box to go with it. Finally after playing around with it a bit, I've been able to get FreeBSD 7.0 to boot off the san nicely and doing failovers using Geom Multipathing (via dual path FC). All I got to say is Anyways, considering the possibility of doing multiple server configurations with this now - has anyone tried doing the equivalent of perfect copies of the OS drive for mass deployment? Provided it's a very generic 'OS image' that I'm playing with, can anyone think of issues that might crop up with perfect copies of the OS disk? I'm thinking that the GEOM disk labeling might be the biggest issue, the rest of the server/network config is really just something to be fixed in the /etc/rc.conf file.
|
# ? Jun 3, 2008 03:45 |
|
from the sound of it, you might want to look into how ezjail does its thing
|
# ? Jun 3, 2008 07:58 |
|
EvilMoFo posted:from the sound of it, you might want to look into how ezjail does its thing No - I'm looking at imaging a disk, and installing that disk in another physical server. Think of it as doing raid1 across 2 disks, then breaking the raid set and installing 1 of the drives in a different server (and having now both raid sets rebuild back to safety) I'm just curious if anyone else has done this and what kind of issues that have cropped up.
|
# ? Jun 4, 2008 16:30 |
|
unknown posted:No - I'm looking at imaging a disk, and installing that disk in another physical server. Think of it as doing raid1 across 2 disks, then breaking the raid set and installing 1 of the drives in a different server (and having now both raid sets rebuild back to safety) Never really broke up geom raid sets. Usually our software raid servers are linux. You could use G4U and produce 2 images (one for each hard drive). If the drives aren't filled with data it will only be the size of what is actually on it since the images are compressed. The other way is to do disk to disk cloning, just clone one at a time. Once you have a clone you can use that on a second machine so you can do two disks at once. G4U doesn't even require the CD to stay in the drive, so once its booted you don't even need multiple CDs. Just take it out and put it in the next machine. See if hot swap works once one is done. If it does then you don't have to even reboot, you just remove disks and put in the next one to be cloned.
|
# ? Jun 4, 2008 17:28 |
|
JHVH-1 posted:Never really broke up geom raid sets. Actually, I'm not really breaking raid sets, it was just a similar example - I've got a set of blade servers attached to a FC switch which has a san box (eva) handing out LUNs and then the blade is booting off those (ie: no local drives on the blade machines). Since the San box is handling all the disk stuff, I can actually duplicate the drive on there, and give box #2 the new disk/LUN to boot off. One of the main issues I know I have to deal with is if a blade sees a different blade's hard drive on the SAN fabric by mistake, and GEOM scans for the label and it's the same as a current mounted drive, it'll add that as a redundant path. (I know FC zoning takes care of that, but if human error kicks in..) Things could very easily go nasty as the underlying data would be different if gmultipath fails over to a different drive than what it's expecting. What I'm looking for is other gotchas like that.
|
# ? Jun 4, 2008 17:44 |
|
unknown posted:Provided it's a very generic 'OS image' that I'm playing with, can anyone think of issues that might crop up with perfect copies of the OS disk? I'm thinking that the GEOM disk labeling might be the biggest issue, the rest of the server/network config is really just something to be fixed in the /etc/rc.conf file. I'm not sure how other BSDs do it, but OpenBSD generates SSH keys on the first boot after install, so if you imaged the drive after the first boot you'd have identical host keys on each machine. Probably not too hard to image it before the first boot, just like you would with Windows and sysprep mini-setup, or just regen the keys after imaging.
|
# ? Jun 4, 2008 23:10 |
|
unknown posted:No i was referencing the actual operation of ezjail, using a read only fs (nullfs in the case of ezjail) base and having a separate writable disk for all the normal stuffs (ssh keys, configs, packages, ...) beyond that, it is too above and beyond my knowledge .... i need to get around to playing with my (second hand) fibre channel arrays that are waiting for attention
|
# ? Jun 5, 2008 11:57 |
|
I'm happy to report that my file server is now running FreeBSD and I'm listening to my music as if I had never left Arch Linux. Up next: Gateway/NAT functionality.
|
# ? Jun 15, 2008 14:55 |
|
Anyone got any drat documentation on freebsd's sysinstall and it's install.cfg file? I'm trying to get it to redo whatever partitions/slices are on a disk automatically, but it's being a pain in the rear end and not overwriting any pre-existing slices, so it therefore won't get wiped and mounted properly. (Clean/Blank disks are okay though)
|
# ? Jun 17, 2008 03:34 |
|
i just delete and redo the partition in fdisk and then disklabel is blank so its a clean slate
|
# ? Jun 17, 2008 08:22 |
|
EvilMoFo posted:i just delete and redo the partition in fdisk and then disklabel is blank so its a clean slate That's what I'm trying to do - delete the partition (if it exists), but I can't get it to do that.
|
# ? Jun 17, 2008 15:44 |
|
I am absolutely brand new to BSD and fairly new to Linux/UNIX. What are the essentials to getting a BSD box online in a corporate environment? Currently I am running a test virtual BSD box and IP's don't resolve. Can anyone help a stupid noob?
|
# ? Jun 17, 2008 22:21 |
|
Megaman posted:I am absolutely brand new to BSD and fairly new to Linux/UNIX. What are the essentials to getting a BSD box online in a corporate environment? Currently I am running a test virtual BSD box and IP's don't resolve. Can anyone help a stupid noob? Read the handbook.
|
# ? Jun 17, 2008 23:37 |
|
H110Hawk posted:Read the handbook. Specifically the part about /etc/resolv.conf.
|
# ? Jun 18, 2008 05:00 |
|
|
# ? Mar 28, 2024 16:34 |
|
Alright, I'm new to BSD and I only have minimal Linux knowledge. I have a computer that I want to install FreeNAS on but right now I'm just messing around with FreeNAS on VMware Fusion 2 Beta on my Macbook Pro. I'm trying to get SABnzbd+ installed. When I install the package via the WebGUI, it gives me this: code:
|
# ? Jun 29, 2008 19:47 |