natd and jails for multipel IP addresses
I'm trying to add a second IP address to an existing jail using natd and I must be missing something. Setup: HOST_IP The host, attached to fxp0 JAIL_IP The existing, working jail 2ND_IP The IP address I'm trying to natd to the jail I've got ipfw rules to catch traffic to/from the new IP and nothing blocking them: 00300 divert 8668 ip from any to 2ND_IP via fxp0 00310 divert 8668 ip from 2ND_IP to any via fxp0 natd is running with: /sbin/natd -log -verbose -redirect_address JAIL_IP 2ND_IP -alias_address JAIL_IP But, natd seems to be translating the source, not the dest IP: % ping 2ND_IP yields: Out {default}[ICMP] [ICMP] HOST_IP - 2ND_IP 8(0) aliased to [ICMP] JAIL_IP - 2ND_IP 8(0) Whereas, I would expect this to do: HOST_IP - 2ND_IP translated to HOST_IP - JAIL_IP and the reverse. WTH am I missing here? /\/\ \/\/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can not add partitions to existing 3ware RAID?
Tonite I was going to allocate some more disk space to a 6.1 RELEASE system. I did it the same way I've done it for years: I went into sysinstall, selected Custom-Partition and added a new partition (twed0s3) using some of the remaining space. I then moved up to twed0s1 and did an S because sysinstall never remembers that the first slice was bootable and not doing this leaves one with an unbootable system. I then do a W to write out this information, say Yes to the warning since I am modifying an existing system and select the Standard Boot Manager. Instead of the normal response, I get ERROR: Unable to write data to disk twed0! and Disk partition write returned an error status! which is most disconcerting. No messages in the logs or on the (serial) console. Checking sysinstall again, the disk remains unchanged. Has something recently changed in this process? /\/\ \/\/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can not add partitions to existing 3ware RAID?
On Thu, Jul 27, 2006 at 10:45:07PM -0600, Chad Leigh -- Shire.Net LLC wrote: Do you have a securelevel set in rc.conf kern_securelevel_enable=YES kern_securelevel=1 where the number is 0 Good point, I neglected to mention that. No, I'm not running secure: sudo sysctl kern.securelevel kern.securelevel: -1 /\/\ \/\/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
6.1 breaks the quota command in jails?
I'm used to using the hack where one has a named quota file in the host system's /etc/fstab and a (properly trimmed) link to the same file in the jail's /etc/fstab with noauto. But, on 6.1, the quota command is unable to work properly in the jailed environment for non-root users: [EMAIL PROTECTED] 1009 quota Disk quotas for user wayne (uid 5147): Filesystem usage quota limit grace files quota limit grace /usr/jails/jail3 34348 4 45000 777 0 0 [EMAIL PROTECTED] 419 quota quota: /usr/quotas/shell.root: Permission denied Disk quotas for user wayne (uid 5147): none [EMAIL PROTECTED] 420 sudo quota wayne Disk quotas for user wayne (uid 5147): Filesystem usage quota limit grace files quota limit grace / 34348 4 45000 777 0 0 I know this worked on 4.x, is there any workaround available? /\/\ \/\/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Any experience with HP DL360 G4P SATA?
After reading the description of this box by Marc G. Fournier, I did some digging and the features look very interesting (particluarly the fact that one NEVER needs a monitor or keyboard to configure it and access is via ssh). Marc opted for the SAS version of the box and seems to have it working properly. I'm wondering if anyone has any experience with the SATA version of this box, in particular does the RAID work? We tend to use a lot of servers where disk speed is not relevant and a couple of small mirrored disks wold work. Digging through Google with DL360 G4P SATA freebsd did not show anything useful, hence the post here. /\/\ \/\/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Are quotas possbile on md filesystems?
On Thu, 03 Mar 2005 16:53:19 -0500, Michael R. Wayne [EMAIL PROTECTED] wrote: Is it possible to use quotas on file-backed md filesystems on 5.3? I was guessing that a line in fstab like: OK, I see the error in my ways. My goal is to use file-based filesystems that are preserved acoss boots. vnconfig says to use mdconfig, the handbook suggests that the method I used is correct. But everything is cleared on reboot, which is not what I was looking for. So, what IS the correct way to create and use file-based file systems? And, can I put quotas on them? /\/\ \/\/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Are quotas possbile on md filesystems?
Is it possible to use quotas on file-backed md filesystems on 5.3? I was guessing that a line in fstab like: md /home mfs rw,-F/vnodes/home,nosuid,nodev,noexec,userquota 2 0 would work but it's not. Can I get a working example? /\/\ \/\/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
twa error message on 5.3 STABLE amd
Any idea what to do about this? twa0: Unable to sync time with ctlr! We get one of these occasionally. FreeBSD FreeBSD 5.3-STABLE #3: (AMD64) CPU: AMD Opteron(tm) Processor 250 (2405.47-MHz K8-class CPU) twa0: 3ware 9000 series Storage Controller port 0x3000-0x30ff mem 0xfd80-0xfdff,0xfd02-0xfd0200ff irq 26 at device 2.0 on pci2 twa0: [GIANT-LOCKED] twa0: 4 ports, Firmware FE9X 2.04.00.003, BIOS BE9X 2.03.01.047 da0 at twa0 bus 0 target 0 lun 0 da0: 3ware Logical Disk 00 1.00 Fixed Direct Access SCSI-0 device da0: 100.000MB/s transfers da0: 238408MB (488259584 512 byte sectors: 255H 63S/T 30392C) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
130 minute telnet timeout?
Trying to use a portmaster as a reverse console server. If I do date ; telnet portmaster ; date and connect to a port, the connection stays up for 2 hours and 10 minutes, then gets Connection closed by foreign host. Given this, I suspected the portmaster. But other people do not see the problem. Today, I tried a telnet from a Windows box and it stayed up for over 4 hours (at which point I killed it). So, this suggests that FreeBSD 4.x is doing something. A quick browse through the source code for telnet does not suggest anything. Any ideas? There is no NAT involved. /\/\ \/\/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need help restoring toasted drive
I think the FreeBSD boot manager took out my laptop drive and I'm hoping to get it back (and willing to go to some extensive effort to do so). Dual boot Win2K and FreeBSD. Just upgraded it to current yesterday. Rebooted FreeBSD a number of times with no issues. Today, I needed to use the Win2K side of things, that booted a number of times as well. But, when I tried to flip back to FreeBSD, the disk lost it's mind. Up came the normal prompt: F1 ?? (windows partition) F2 FreeBSD But when I hit F2, it changed to F4 FreeBSD which now does nothing other than looping forever. I booted from the 5.2 FreeBSD mini-iso CD, looked at the disktable and the whole disk is marked unused. Win2K says it can't see anything either. So, I suspect that the partition/label info is gone but everything else should be there. Any ideas on how I can dig around and put things back? /\/\ \/\/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]