Sendmail in a DMZ
This is probably a stupid question...but I have a FreeBSD 4.9 server, which does not have access to a DNS server. However, I need to send mail from it. I have a relay host setup in the same subnet which I have tested works with telnet mailhost 25...and then giving it the sendmail commands However, when I send mail from the host it does not go leave the local /var/spool/clientmqueue directory and no traffic is attempted between this host and the mailhost. (Verified with tcpdump). I have put an entry ns2 in my local host file and setup the define SMART HOST in /etc/mail/freebsd.mc...then went on to run the following commands from the /etc/mail directory: -make all -make install -make restart I confirmed the the /etc/mail/sendmail.cf file has the DS macro set to ns2 like I expected; however, when I send a mail message the maillog indicates that the [EMAIL PROTECTED] Any thoughts? TIA Marco ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Slow creating lots of files...
Doing some further research into my NetBackup slow restore performance...I have noticed that if I create a lot of small filesit can take about 10 times as long as creating one big file of the same size. With a sample set of 500MB... Creating 500MB with of text files (about 30,000 of them) takes about 10 minutes Creating 1 500 MB file takes about 1 minute. Restoring 1 500MB file takes about 1 minute or so...a little more to allow the robot to mount the tape/position the tape etc. Restoring the 30,000 files with NetBackup takes about 20 minutes Restoring the 30,000 files to an alternate location takes about 40 minutes Now interms of backing this all up...well 2.5GB of it takes about 8 minutes. My hardware platform is a Compaq DL360 with dual PIII/933MHz CPUs (only one configured with the kernel to date). Two 36GB (10K RPM) drives configured with Hardware RAID1 1 GB RAM. (The OS is configured with a 2 GB swap space.) Here is the FreeBSD Slice... # /dev/idad0s1c: type: ESDI disk: idad0s1 label: flags: bytes/sector: 512 sectors/track: 32 tracks/cylinder: 255 sectors/cylinder: 8160 cylinders: 8320 sectors/unit: 67891200 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 209715204.2BSD 2048 1638489 # (Cyl.0 - 257*) b: 4194304 2097152 swap# (Cyl. 257*- 771*) c: 678912000unused0 0 # (Cyl.0 - 8319) e: 8388608 62914564.2BSD 2048 1638489 # (Cyl. 771*- 1799*) f: 49152000 146800644.2BSD 2048 1638489 # (Cyl. 1799*- 7822*) g: 4059136 638320644.2BSD 2048 1638490 # (Cyl. 7822*- 8319*) mislog01 # df -h Filesystem Size Used Avail Capacity Mounted on /dev/idad0s1a 1008M50M 878M 5%/ /dev/idad0s1g 1.9G 4.0K 1.8G 0%/home /dev/idad0s1e 3.9G 976M 2.7G26%/usr /dev/idad0s1f23G 2.5G19G12%/var procfs 4.0K 4.0K 0B 100%/proc Have any of you seen this before? Is there some tuning that I can do? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Slow restores FreeBSD with NetBackup
Hi all, I have a server that I am restoring and it seems to be going really slow. Backup performance...I was able to backup the server in under 15 minutesthe restore has been going for over an hour nowand it isn't even halfway done. Basically what I am doingInstalled FreeBSD on a second slice of the disk...booted with that slice...relabelled the disk...newfs'd the filesystems...mounted them all under /mnt .../mnt/usr.../mnt/var etcthat is all OK and confirmed. I am renaming all of the files from / to /mnt/ in order to make sure I do not clobber any OS files. Last night the restore crapped out partway though and the box had to be rebooted this morning. CPU utilization of both the backup server and the restore client is minimal. FreeBSD Server hardware = Compaq DL360 G1, Dual CPU (933Mhz), 1GB RAM. Note..currently only one CPU is configured in the kernel. FreeBSD - Recovery slice = 4.8 FreeBSD - Slice to be restored = 4.9 NetBackup 4.5FP5 Solaris 8 NetBackup server. Can't really give any error messages as there were none in any of the log files...it just seemed that backups stopped and about 30 minutes later it started listing all of the files it could not restoreIn the activity monitor the job showed incomplete. I am trying to duplicate the situation from last night now. When I did this on a test machine (IBM PC)...it worked fine. Thanks, Marco ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Multiple CPUs...verifying
Does FreeBSD autodetect multiple CPU's or do you specifically have to configure the kernel and recompile? I tried downloading the latest code using cvsup..commenting out the following two lines...and tried to follow the make world procedure as outline in the handbook. However, when I try to boot with the new kernel...it doesn't work. Also, how do you verify whether or not both CPUs have been configured in the kernel...and that they are in fact being used? Other flavours of UNIX have mpstat or prtdiag... Thanks, Marco ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Tape Device file differences...
..I am a little confused about tape devices in FreeBSD. Under the /dev directory...I have the following tape devices: # ls *sa* ersa0 esa0.1 nrsa0.3 rsa0.0 sa0.1 ersa0.0 esa0.2 nsa0rsa0.1 sa0.2 ersa0.1 esa0.3 nsa0.0 rsa0.2 sa0.3 ersa0.2 nrsa0 nsa0.1 rsa0.3 sa0.ctl ersa0.3 nrsa0.0 nsa0.2 rsa0.ctl esa0nrsa0.1 nsa0.3 sa0 esa0.0 nrsa0.2 rsa0sa0.0 I have figured out most of it by searching on the net...but any clarification or pointers to documentation would be helpful. This is what I have figured out so far (feel free to correct me if I am wrong). -e[r]sa0 = Eject -n[r]sa0 = No Rewind -[r]sa0 = Rewind -The .ctl file should be used with the mt command. This is what I still need explained: -The difference between the /dev/*rsa0 devices and /dev/?sa0 devices? i.e. What is the r for? -What is the .0, .1, .2 and .3? Thanks, Marco ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]