Re: UFS2 with Soft Updates Robust?
On Thu, 2004-12-23 at 09:52 +0100, Erik Trulsson wrote: On Thu, Dec 23, 2004 at 06:48:41AM -, John Conover wrote: Erik Trulsson writes: On Wed, Dec 22, 2004 at 08:57:00PM -0900, Damien Hull wrote: On Tue, 2004-12-21 at 21:31 -0500, Chuck Swiger wrote: John Conover wrote: Is UFS2 with soft updates the most robust file system in freebsd? No, although UFS2 with softupdates is robust enough for production use. If you make the filesystem writes syncronous and disable write caching on the hard drive, you will improve the robustness at significant cost to performance. Are you saying that the UFS2 file system sucks? Not at all, but standard IDE-drives suck when it comes to robustness. (They tend to lie and tell the OS that data has been written to the disk, when in reality it has only been written to the disks cache.) (Thus the advice above to turn off write-caching for maximum robustness.) If you use softupdates (on a disk that doesn't lie) the filesystem on the disk will always be consistent, but data written during the last 30 seconds or so might not yet have been written to the disk, and can therefore be lost if e.g. the power to the computer is turned off. Erik, does that mean if you use softupdates, (on a SCSI,) that, although file(s) currently being written may be truncated since the cache is not flushed, that the file system can be repaired automatically by fsck to a consistent state? That is the idea. With softupdates the filesystem *on the disk* should always be in a consistent state, such that fsck should always succeed. (At least that is the theory, I haven't tested how well it holds in reality.) Even without synchronous writes or enabling cache write through? John BTW, the reason for the question is that most SCSIs today have many meg of HW cache, and many, (maybe most,) controllers don't permit write through anymore. So, even if the OS flushes its cache, the HW cache may not be written to the disk-so synchronous writes and OS cache write through may be of little value. The only cache that can mess up things is that on the disk itself. Forget about any caches managed by the OS - they are handled by the filesystem code and flushed when needed. The cache on the disk is another matter. One difference between SCSI and IDE is that SCSI support tagging which lets the OS determine if a given block has actually been written to the disk or just to the disk's cache. This is needed for softupdates to work correctly. On IDE-disks this information is often not available which means that you may need to disable the write-cache on the disk (or at least make it write-through) to be able to rely on the guarantees of softupdates. A few IDE-disks and some of the newer S-ATA disks also support tagged queueing, but support for that is not nearly as good as it is for SCSI - not yet anyway. Are you saying that it's not safe to use softupdates on IDE drives? I've always used softupdates on IDE and never had a problem. However, I've never had a system that was under heave load. If lots of people are writing to the drive ( I'm thinking file server) under softupdates it sounds like something could go wrong. Lets say I have a small network of 25 users. Were going to install a file and print sever using FreeBSD 5.3 (UFS2). Because we don't have a lot of money we get SATA drives. Should I use softupdates or not? If I had more then 25 users I would consider getting SCSI. -- Damien Hull [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
upgrading 4.10 to 5.3
I'm trying to upgrade my 4.10 workstation to 5.3 but I'm not having any luck. In my search to find an answer I found some info saying that one shouldn't upgrade branches. That brings me to my first question. Should I upgrade from 4.10 to 5.3 or should I just setup a new 5.3 workstation? Here's where I am having trouble. 1. when trying to install the kernel I get this message telling me there is no /boot/device.hints file. After doing some research I found that there is a GENERIC.hints file in /usr/src/something/i386/conf/ (don't remember the exact location). I placed that file in /boot/ and installed the kernel. The kernel installs but I don't know if the GENERIC.hints file will work when I reboot. All I can say is that the kernel installed. That's when I moved on to mergemaster. 2. I had some trouble with mergemaster. Don't know what I did wrong here so I can't say much about it. I don't think I've ever had much luck with mergemaster. I'm going to give the upgrade another shot so maybe it will work this next time. 3. Somehow I was able to finish the mergemaster step and move on to installing my world. I did make installworld and a bunch of things went by on the screen and then I got errors and stop. I think it said something about a core dump. All I got out of it was that my upgrade didn't work. I used g4u to backup my 4.10 workstation before I did the upgrade. I'm doing my second restore as I write this. As soon as it finishes I'll cvsup and start all over. If anyone can tell me what I'm doing wrong let me know. Also, if you think I should just dump 4.10 and do a new install of 5.3 I can do that as well. I've got another drive I can install 5.3 on. I'm hoping I can upgrade so I don't have to configure a new 5.3 system. -- Damien Hull [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Iomega REV drive
Does anyone know if the Iomega REV drive works with FreeBSD? I would also like to know if this thing is any good. If it's not I'll have to look for another backup solution. -- Damien Hull [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD or OpenBSD
I've been a FreeBSD user for a while now and I love it. I'm running 4.10 and plan on upgrading soon. I'm also an OpenBSD user but I tend to use it for firewalls and routers. I setup Apache and Subversion on OpenBSD 3.6 last week. This is the first time I have ever done anything other then a firewall on OpenBSD. I'm thinking about using OpenBSD on more servers. Before I do that I would like to know what people on the list think. Why I want to switch to OpenBSD. 1. OpenBSD has good security 2. Stable 3. Firewall and routing support is built in Why I use FreeBSD 1. Stable 2. Ports tree has a lot of software 3. I can upgrade to new versions Should I make the switch from FreeBSD to OpenBSD for my servers? -- Damien Hull [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cvsup to 5.3?
I'm using 4.10. How much free space do I need to cvsup? I had a lot of space until I installed KDE. /usr is down to 2.3G. If this isn't enough space can I move everything to another drive with more space in /usr? -- Damien Hull [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Recovery Plan
Under Linux I just tar everything and place them on DVD. If something goes wrong I just boot from a CD, repartition/fromat, untar everything back onto the drive, run lilo to install the boot loader and reboot. Can I do the same in FreeBSD? If so, how would I do this? -- Damien Hull [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
setup X11
Just installed 4.10 and am having all kinds of problems with X. Under linux it just works. Here are my problems. Video card didn't work 1. Nvidia GeForce FX5200 2. added DefaultDepth 16 to XF86Config and it worked 3. I tried to add: Modes 800x600. Didn't work I decided to give up on the card and switch to the on board video. I can do 800x600 with on board video. Text in X 1. text looks bad 2. Followed the instructions in the handbook and installed the urwfonts 3. Configured X to use them 4. text still looks bad Can someone tell me what I'm doing wrong? I would also like to know if I can get my Nvidia card to do 3D acceleration. If I can get these things to work I may be able to migrate from Linux to FreeBSD. -- Damien Hull [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Trouble with X
I installed 4.10 and got the system up and running. I've tried to setup X but I'm not having any luck. I even followed the instructions in the hand book. Here's what I have. 1. Onboard video 2. Works ok but only at 800x600 3. Text is bad Can someone tell me how to setup X in freebsd? Under Linux it just works. -- Damien Hull [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble with X
I'm reinstalling 4.10. I think I broke something trying to get X working. As soon as I get data in the X logs I'll check them. I'm going to give frambuffer a try. Don't know if this will work but I've seen it work well under Linux. On Sun, 2004-11-07 at 15:03 -0800, gabriel wrote: Try looking at the XFree86 logs. Under linux it works cause it'll soon be a copy of M$. But yes, look at the logs, they are always useful. /var/log/X* On Sun, 07 Nov 2004 13:55:49 -0900, Damien Hull [EMAIL PROTECTED] wrote: I installed 4.10 and got the system up and running. I've tried to setup X but I'm not having any luck. I even followed the instructions in the hand book. Here's what I have. 1. Onboard video 2. Works ok but only at 800x600 3. Text is bad Can someone tell me how to setup X in freebsd? Under Linux it just works. -- Damien Hull [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Damien Hull [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble with X
I've got X working now. Here's what I did. 1. put my Nvidia GeForce FX card back in 2. had trouble with the nv driver so I switch to the vesa driver. No 3D but it gives me 1024x768 I'm still having trouble with font's but I should be able to follow the hand book. Maybe this time it will work. On Sun, 2004-11-07 at 20:54 -0600, Vulpes Velox wrote: On Sun, 07 Nov 2004 14:10:03 -0900 Damien Hull [EMAIL PROTECTED] wrote: I'm reinstalling 4.10. I think I broke something trying to get X working. As soon as I get data in the X logs I'll check them. What exact steps did you go through. I doubt what ever you did would result in the need for a reinstall. I'm going to give frambuffer a try. Don't know if this will work but I've seen it work well under Linux. Ehh, frame buffers are over rated... any ways, do this as root... X -configure cp ~/what ever the new file is /etc/X11/XF86Config xf86cfg -textmode tweak the settings and ect startx or xdm or whatever... On Sun, 2004-11-07 at 15:03 -0800, gabriel wrote: Try looking at the XFree86 logs. Under linux it works cause it'll soon be a copy of M$. But yes, look at the logs, they are always useful./var/log/X* On Sun, 07 Nov 2004 13:55:49 -0900, Damien Hull [EMAIL PROTECTED] wrote: I installed 4.10 and got the system up and running. I've tried to setup X but I'm not having any luck. I even followed the instructions in the hand book. Here's what I have. 1. Onboard video 2. Works ok but only at 800x600 3. Text is bad Can someone tell me how to setup X in freebsd? Under Linux it just works. -- Damien Hull [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Damien Hull [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Damien Hull [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache on two nic's
I've got Apache running on 4 stable. The server started out with one network card plugged into our privet network. We could get to the website on the server just fine. Here is what we want 1. access from the outside 2. some websites will be internal and others will be public Here is my quick solution 1. Added a second network card to the server 2. connected the network card to the outside of the network 3. tired to connect to the website on the new IP address 4. Got nothing 5. Added a virtual server that listened on the new address but got nothing. I've looked at the Apache config file and there is a place to put in an IP address but I left that alone. As fare as I can tell it's listening to all addresses. Can someone tell me what I need to do to get this working? NOTE: I don't have accesses to the proxy so I can't reprogram it to forward connections to the server. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installing Apache from ports
I need Apache installed with php. I see mod_php or something in the ports. I plan on jumping in and running make install. That should give me Apache with php ready to go. What should I do if I need to add another something else to Apache? Can I just go back to the ports and select something? NOTE I'm running 4.9 which I got while upgrading to the stable 4.x branch. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Oracle on FreeBSD
Can you run Oracle on FreeBSD? So far I've found some information on installing Oracle using Linux emulation but nothing about running it in native mode. Also, if any of you feel that running Oracle on FreeBSD is a bad idea let me know. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Virtual mail server
I'm going to be setting up a virtual mail server using Postfix, OpenLDAP, Jamm and courier IMAP. Is there a way to limit the number of accounts each domain can have? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ccd problem
I'm trying to setup raid 0 between two 80 gig drives using ccd but it's not working. Here is the setup. 1. two 80 gig drives 2. Both on a Promise ultra 66 card 3. System disk is separate According to the FreeBSD hand book you need to run disklabel to give the disk a lable and to change the partition typ to 4.2BSD. I tried running disklabel but it tells me that it can't preforme either operation. It's almost like I don't have access to the drives when I use disklabel. I can format and partition both drives when I use /stand/sysinstall. If anyone knows what's going on here I'd apretiate the help. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
custom version of FreeBSD
Is it possible to create a custom version of FreeBSD? Say I want a web server installation. Can I create a custom version of FreeBSD that will create a web server for you when you do the installation? It should auto install apache etc.. All I should have to do is configure the drive and network settings. The rest should be done by the install process. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ftp server problem
I think this is more of a networking question then a FreeBSD question but I thought I would ask it here in the hopes that someone will have an answer. I run a FreeBSD FTP server. For some reason it works only some of the time. Here is what happens: 1. I can log into the FTP server from any where 2. I can transfer files from any where 3. I can CD into any directory I want 4. I can not use the ls command from some locations. Does anybody know how to fix this problem? I would like to be able to see what I have when I'm on my ftp server. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
CD restore disk
Is there a way to creat a CD restore disk in FreeBSD? What I want to do is setup a system and back it up to CD. If the system crashes or something happens I want to pop the CD in and have everything put back. This means I need to boot off the CD. Damien Hull www.digitaloverload.net To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Upgrading FreeBSD
I'm learning how the FreeBSD upgrade process works. I've got cvsup working and can grabe 4-stable. What I don't understand is the ports tree. Does it get updated when I do make buildworld etc...? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
E-mail server
I've decided to use squirrelmail as my web based mail client. Because I get a lot of mail I need a way of sorting my mail through squirrelmail. For this the squirrelmail people have provided a procmail interface. The problem with the procmail interface is that it uses ftp to change the users procmail settings. Is there another way of sorting mail through squirrelmail or any other web based mail client? I don't want to run ftp on my server. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
E-mail server
I need some help setting up an E-mail server. I've done this before but not something this big. Heres what will need. 1. The server will have about 4000 users and will need room to grow. 2. Each user should have a limet on the amount of E-mail they can store on the server. I don't know how much space each user will get but lets use 5mb for now. 3. This will be a pop3 server. 4. The hardware we were planing on using runs at 400mhz and has a 10gig drive. I'd like to up that to a 20gig drive. RAM will be 128 or more. 5. We need to transfer user accounts from the failing Windows E-mail server over to the rocking FreeBSD box. That's it! I can setup just about all of it but steps 2 and 5 I know nothing about. Also, if any of you think this box will not work in any way or you have a few tips on making it better pleas let me know. The last thing I want is for 4000 people to call up asking where their E-mail went. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: E-mail server
I was planing on using qmail and qpopper. I'm a postfix user so I've got some reading to do. Don't know if we will install sqwebmail but we could. Vpopmail is new to me. I checked out their website and it looks good but I don't know if will need it. I'm helping someone else build this E-mail server and I don't know if there will be other domains the box will be collecting mail for. Thanks for the info! On Fri, 2002-11-15 at 23:18, Unix Tools wrote: Hi, use qmail quite robust 1) qmail 2) vpopmail 3) sqwebmail QUITE A GOOD COMBINATION. - Original Message - From: Damien Hull [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, November 17, 2002 01:26 AM Subject: E-mail server I need some help setting up an E-mail server. I've done this before but not something this big. Heres what will need. 1. The server will have about 4000 users and will need room to grow. 2. Each user should have a limet on the amount of E-mail they can store on the server. I don't know how much space each user will get but lets use 5mb for now. 3. This will be a pop3 server. 4. The hardware we were planing on using runs at 400mhz and has a 10gig drive. I'd like to up that to a 20gig drive. RAM will be 128 or more. 5. We need to transfer user accounts from the failing Windows E-mail server over to the rocking FreeBSD box. That's it! I can setup just about all of it but steps 2 and 5 I know nothing about. Also, if any of you think this box will not work in any way or you have a few tips on making it better pleas let me know. The last thing I want is for 4000 people to call up asking where their E-mail went. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: D-Link DWL-650
It's not a BIOS or jumper setting. It's a pcmcia config setting. Check out the file /etc/defaults/pccard.conf. At the start of the file you should see something about IRQs. On Wed, 2002-11-13 at 07:03, Nathan Kinkade wrote: On Tue, Nov 12, 2002 at 11:06:59PM -0900, Damien Hull wrote: On Sun, 2002-11-10 at 10:32, Warren Block wrote: Off-list reply... I've got a Toshiba Tecra 700CT that I would like to connect to a wireless network. The wireless card I have is a D-Link DWL-650. This card works fine on my Tecra 8000. Make sure you don't have the DWL-650A, which is Cardbus. 3. When trying to pass traffic I get a watchdog timeout where the card times out instead of sending data. I think that's an interrupt error. On a machine that old, it may be an ISA thing. First, look through your BIOS settings for PNP (Configure by OS) and PC Card controller mode. On mine, I found that making these settings worked the best for the various cards I had. (Although the DWL-650 worked fine without them.) -Warren Block * Rapid City, South Dakota USA I did some more searching and testing and everything I found seams to say the same thing you did. It's an IRQ problem. I tried different IRQs with out any luck. Again, the card looks configured but you can't pass any traffic. When I try to ping a host I get watchdog timeout. I may end up using Linux on this laptop. When you say, I tried different IRQs, what exactly do you mean? Is the IRQ on the card jumperable, or do you mean that in the BIOS you set certain IRQs to ISA/Legacy (or similiar) and others to PCI/PnP? If you were just tweaking with BIOS settings, what settings did you try? If you jumpered to card for a specific IRQ, which IRQs did you try? Randomly picking IRQs is not a reliable test method. Nathan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: D-Link DWL-650
I did some more searching and testing and everything I found seams to say the same thing you did. It's an IRQ problem. I tried different IRQs with out any luck. Again, the card looks configured but you can't pass any traffic. When I try to ping a host I get watchdog timeout. I may end up using Linux on this laptop. On Sun, 2002-11-10 at 10:32, Warren Block wrote: Off-list reply... I've got a Toshiba Tecra 700CT that I would like to connect to a wireless network. The wireless card I have is a D-Link DWL-650. This card works fine on my Tecra 8000. Make sure you don't have the DWL-650A, which is Cardbus. 3. When trying to pass traffic I get a watchdog timeout where the card times out instead of sending data. I think that's an interrupt error. On a machine that old, it may be an ISA thing. First, look through your BIOS settings for PNP (Configure by OS) and PC Card controller mode. On mine, I found that making these settings worked the best for the various cards I had. (Although the DWL-650 worked fine without them.) -Warren Block * Rapid City, South Dakota USA To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
D-Link DWL-650
I've got a Toshiba Tecra 700CT that I would like to connect to a wireless network. The wireless card I have is a D-Link DWL-650. Here is what I've done so far: 1. Installed FreeBSD 4.6 2. Card is recognized and comes up as interface wi0 Here is my problem: 1. I had some trouble giving the card an IP address but after a few minutes of messing with a few configurations I was able to do so 2. the card says associated and when I check the AP it shows the card listed. 3. When trying to pass traffic I get a watchdog timeout where the card times out instead of sending data. 4. I tried a Linksys 10/100 Ethernet card and got the same watchdog time out. It looks like the problem could be both cards but I think it might be something else.I don't see how two different cards could cause the same problem. HELP ME! If any of you out there in FreeBSD land know whats going on with my system pleas let me know. Also, if any of you know of any wireless or Ethernet cards that work when you plug them in let me know. I want wireless but Ethernet will work. The problem could be the cards I am using. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message