Re: Need Advice for Tuning NFS to place nice with a Netapp
Nicole, On 02/08/06, N. Harrington [EMAIL PROTECTED] wrote: Hi I have several web servers that are attached to a Netapp (network appliance) unit via NFS-3. A few servers are 5.5 and a few are 6.1 for comparison testing. All seem to have lousy performance. We have a similar setup and it runs smoothly. Can you define lousy performance ? Can you give more details on your network? Are you using Gig ethernet? And over what medium? Can you also try just copying a 100MB file from the filer to one of the web servers and record the time? Are you running nfsiod? When going through the issues with Netapp, the reasons given were that we have too many GettAdr/Lookup requests compared to actual reads. So all the NFS IOPS are being used up by these requests. As soon as the webservers get busy, requests pile up. I have tried everything I can think of. The web servers are even mounted read only with no help. My current mount options are: filer:/vol/fvol31/home/13/13 nfs ro,noatime,-r=32768,-T,-b,-R0,-i,-D2,-L 0 0 Mounting noatime for web servers is a good idea but... your noatime option has no effect on NFS mounts (check out the mount man page). You need vol options no_atime_update on the NetApp. Any advice for sysctl tunes or anything else would be much appreciatted! Thanks Nicole One last thing - are you female?! In a UNIX newsgroup?! Frem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need Advice for Tuning NFS to place nice with a Netapp
--- Freminlins [EMAIL PROTECTED] wrote: Nicole, On 02/08/06, N. Harrington [EMAIL PROTECTED] wrote: Hi I have several web servers that are attached to a Netapp (network appliance) unit via NFS-3. A few servers are 5.5 and a few are 6.1 for comparison testing. All seem to have lousy performance. We have a similar setup and it runs smoothly. Cool! Can you share with me what sort of settings you use on your boxes? sysctl/kerneltunes/mount options? It has taken me a over a month to even get to speak to someone high enough up he food chain at Netapp to not say FreeBSD - that's a version of Linux right? Can you define lousy performance ? The web server replies (using either Apache and Lighthttpd) seem to max out at about 17mb/s. Response time for the web server will rise gradually, then suddenly become 10-20seconds for a reply. Much like a backup on a highway. They claim that the netapp unit is spending too much time dealing with file information IOPS than actual transfer of files. However even on a non in-use server, if I make a request for a file, that heavy file access seems normal. IE: GtAttr Lookup Rdlink Read Write Rename Access Rddir 0 0 0 0 0 0 0 0 248 160 0 4 0 0236 0 0 0 0 0 0 0 0 0 Can you give more details on your network? Are you using Gig ethernet? And over what medium? Yes, 4X GigE from the filer via a Vif and trunking on the switch. A nice 10Gb ready HP unit. I have asked if using the Vif and trunking could have any effects but been assured it should not. It does mean I cannot use jumbo frames. But since web pages and images are small, I don't think there would be any benefit. Can you also try just copying a 100MB file from the filer to one of the web servers and record the time? 9907187 bytes/sec for a 16M file. It will transfer in nanotime. So, I believe that eliminates network performance as an issue. Are you running nfsiod? Yes, I show 4 instances running. When going through the issues with Netapp, the reasons given were that we have too many GettAdr/Lookup requests compared to actual reads. So all the NFS IOPS are being used up by these requests. As soon as the webservers get busy, requests pile up. I have tried everything I can think of. The web servers are even mounted read only with no help. My current mount options are: filer:/vol/fvol31/home/13/13 nfs ro,noatime,-r=32768,-T,-b,-R0,-i,-D2,-L 0 0 Mounting noatime for web servers is a good idea but... your noatime option has no effect on NFS mounts (check out the mount man page). You need vol options no_atime_update on the NetApp. Hmm. Drat. We have some web servers that do nothing but send out data, but some that are used for uploading and file manipulation. I will have to make sure that global of an option will not effect what they do. Any advice for sysctl tunes or anything else would be much appreciatted! Thanks Nicole One last thing - are you female?! In a UNIX newsgroup?! Yup :) Oh, and yes, I do play the drums :) Frem. Thanks for your assistance!! Nicole The Large Print Giveth And The Small Print Taketh Away -- Anon __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need Advice for Tuning NFS to place nice with a Netapp
On 02/08/06, N. Harrington [EMAIL PROTECTED] wrote: Cool! Can you share with me what sort of settings you use on your boxes? sysctl/kerneltunes/mount options? This may be a disappointment to you but... I didn't have to do anything :-( All I have is rw on the client. It has taken me a over a month to even get to speak to someone high enough up he food chain at Netapp to not say FreeBSD - that's a version of Linux right? It depends who you speak to. There are people at NetApp who know about FreeBSD. The web server replies (using either Apache and Lighthttpd) seem to max out at about 17mb/s. Response time for the web server will rise gradually, then suddenly become 10-20seconds for a reply. Much like a backup on a highway. They claim that the netapp unit is spending too much time dealing with file information IOPS than actual transfer of files. However even on a non in-use server, if I make a request for a file, that heavy file access seems normal. IE: GtAttr Lookup Rdlink Read Write Rename Access Rddir 0 0 0 0 0 0 0 0 248 160 0 4 0 0236 0 0 0 0 0 0 0 0 0 I would dispute NetApp's claim. NetApp filers are very capable at doing NFS operations. Static files tend to sit usefully in the buffer cache on web servers. So unless you are doing something really odd with your web servers I would tend to disagree with NetApp. I've just looked on one of our POP3 servers (mounting NetApps). POP3 causes far more random access than our web servers. As such it doesn't sit in the buffer cache very long. We have much higher figures than yours and absolutely no performance problems. Yes, 4X GigE from the filer via a Vif and trunking on the switch. A nice 10Gb ready HP unit. I have asked if using the Vif and trunking could have any effects but been assured it should not. It does mean I cannot use jumbo frames. But since web pages and images are small, I don't think there would be any benefit. There is nothing wrong in theory with that setup. But is may not be what you want. Try it with just one GigE interface. You're right - you probably don't need jumbo frames. Which interface does the HP unit have? Also, have a look at netstat -in. Are there any IErrs or OErrs or Coll? Paste the results here! 9907187 bytes/sec for a 16M file. It will transfer in nanotime. So, I believe that eliminates network performance as an issue. Well, not really. The figure above is showing 10MB a second. That's not quite Fast Ethernet speed. If you are pushing 17mb (I guess that's megabits) that's not really a problem though. I've just tested this on the same POP3 server above, using dd to write a file onto a NetApp and I get 10889359 a second. And this machine is busy. Also, it is mounting the NetApp over Fast Ethernet. Hmm. Drat. We have some web servers that do nothing but send out data, but some that are used for uploading and file manipulation. I will have to make sure that global of an option will not effect what they do. It is a per volume option. And frankly I've never seen much use for atime. It's useful sometimes, but not a lot. Can you also put in the output of nfsstat -W -c 2. Maybe it's best to put this up on the web somewhere as it's wide, and it's not easy to read in email. Let it run for a minute or so, and if possible do two runs. One during the OK time, the other during the problem time. I would go back to basics. One GigE interface. Just rw mount options, and start testing. By testing I mean measuring. NFS tuning is fiddly. I've been using NetApps with FreeBSD for 5 years. It is a good combination. Can you also post the output of sysctl -a|grep nfs. But don't start fiddling with them yet! One last thing - are you female?! In a UNIX newsgroup?! Yup :) Oh, and yes, I do play the drums :) Oh gawd. Whatever next? :-) Thanks for your assistance!! Nicole Frem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need Advice for Tuning NFS to place nice with a Netapp
Hi I have several web servers that are attached to a Netapp (network appliance) unit via NFS-3. A few servers are 5.5 and a few are 6.1 for comparison testing. All seem to have lousy performance. When going through the issues with Netapp, the reasons given were that we have too many GettAdr/Lookup requests compared to actual reads. So all the NFS IOPS are being used up by these requests. As soon as the webservers get busy, requests pile up. I have tried everything I can think of. The web servers are even mounted read only with no help. My current mount options are: filer:/vol/fvol31/home/13/13 nfs ro,noatime,-r=32768,-T,-b,-R0,-i,-D2,-L 0 0 I have tried plenty of others. an example nfsstat -c 2 (while working ok) GtAttr Lookup Rdlink Read Write Rename Access Rddir 4357 2976 0125 0 0 3425 0 4173 2836 0115 0 0 3288 0 4254 2912 0106 0 0 3344 0 3668 2528 0 99 0 0 2880 0 3992 2746 0101 0 0 3136 0 3916 2706 0 93 0 0 3080 0 3748 2551 0106 0 0 2948 0 4121 2851 0 86 0 0 3231 0 Any advice for sysctl tunes or anything else would be much appreciatted! Thanks Nicole The Large Print Giveth And The Small Print Taketh Away -- Anon __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need Advice for Tuning NFS to place nice with a Netapp
On 8/1/2006 11:05 PM, N. Harrington wrote: My current mount options are: filer:/vol/fvol31/home/13/13 nfs ro,noatime,-r=32768,-T,-b,-R0,-i,-D2,-L 0 0 for the same performance reason, mine is: netapp1:/vol/vol0/export /export nfs rw,-r=16384,-w=16384,-L 0 0 might be worth a try to add the -w. -- Jeremy Kister http://jeremy.kister.net./ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need Advice for Tuning NFS to place nice with a Netapp
--- Jeremy Kister [EMAIL PROTECTED] wrote: On 8/1/2006 11:05 PM, N. Harrington wrote: My current mount options are: filer:/vol/fvol31/home/13/13 nfs ro,noatime,-r=32768,-T,-b,-R0,-i,-D2,-L 0 0 for the same performance reason, mine is: netapp1:/vol/vol0/export /export nfs rw,-r=16384,-w=16384,-L 0 0 might be worth a try to add the -w. Jeremy Kister http://jeremy.kister.net./ Hi Jeremy Thanks for the suggestion. Would using the -w do anything for me since I am mounting read only? I will try 16384 again however, as they could not settle on wether 16k or 32k would be best. Thanks Nicole The Large Print Giveth And The Small Print Taketh Away -- Anon __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need advice on Raid and FreeNas
Hi I am setting up a file server for a small office (10 computers). My first attempt at this I used FreeNas. It was easy to setup and I like that the system is dedicated. One downside of this method is that the write times are slower than I expected. I am using SATA2 drives w/ 8MB buffer on a 100MB network, but the write times I was getting was about 2.5GB per hour. I expected 5 GB in ten minutes. The mother board I am using has a built in raid controller, but I have never read about anyone having warm fuzzies using a built in raid card. I assume I could use a hardware raid with FreeNas and have it setup the CIFS and NFS systems. It is also nice to be able to boot from a USB drive. Another downside is that it is not easy to build and install scripts onto a FreeNas system. Can someone tell me if I am heading down the wrong path using FreeNas? Should I just use a hardware raid and install FBSD so I have access to the ports and and configure samba and nfs manually? I could probably work around the script issue if I could figure out how to get a fast raid with FreeNas, since I like the simplicity and the fact that I can upgrade the system very easily. Thanks for any input. -- Jim Freeze ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need advice on Raid and FreeNas
On 7/19/06, Jim Freeze [EMAIL PROTECTED] wrote: Hi I am setting up a file server for a small office (10 computers). My first attempt at this I used FreeNas. It was easy to setup and I like that the system is dedicated. One downside of this method is that the write times are slower than I expected. I am using SATA2 drives w/ 8MB buffer on a 100MB network, but the write times I was getting was about 2.5GB per hour. I expected 5 GB in ten minutes. a better metric for us would be network throughput and disk I/O over a shorter period, like kilobit's per sec. The mother board I am using has a built in raid controller, but I have never read about anyone having warm fuzzies using a built in raid card. hmm...actually the oposite is generally true. what motherboard are you using, and what is the RAID controller chipset? I assume I could use a hardware raid with FreeNas and have it setup the CIFS and NFS systems. It is also nice to be able to boot from a USB drive. Another downside is that it is not easy to build and install scripts onto a FreeNas system. I'd hit the FreeNAS list regarding questions about scripting and configuration. Can someone tell me if I am heading down the wrong path using FreeNas? Should I just use a hardware raid and install FBSD so I have access to the ports and and configure samba and nfs manually? it really depends on how you would like to admin it. some folks prefer using a full FreeBSD RELEASE, others seem to prefer FreeNAS. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need advice on Raid and FreeNas
On 7/19/06, pete wright [EMAIL PROTECTED] wrote: On 7/19/06, Jim Freeze [EMAIL PROTECTED] wrote: Hi I am setting up a file server for a small office (10 computers). My first attempt at this I used FreeNas. It was easy to setup and I like that the system is dedicated. One downside of this method is that the write times are slower than I expected. I am using SATA2 drives w/ 8MB buffer on a 100MB network, but the write times I was getting was about 2.5GB per hour. I expected 5 GB in ten minutes. a better metric for us would be network throughput and disk I/O over a shorter period, like kilobit's per sec. Well, if I do the math, 5GB/3600 = 1356 KB/sec. A 100MB/s network has a maximum thruput of 12800KB/sec. So, I am getting 10% of the available BW. The mother board I am using has a built in raid controller, but I have never read about anyone having warm fuzzies using a built in raid card. hmm...actually the oposite is generally true. what motherboard are you using, and what is the RAID controller chipset? Opposite of what? I don't have the specs in front of me, but one is a 945? Intel and the other is a AMD. I'll have to get the specs. I assume I could use a hardware raid with FreeNas and have it setup the CIFS and NFS systems. It is also nice to be able to boot from a USB drive. Another downside is that it is not easy to build and install scripts onto a FreeNas system. I'd hit the FreeNAS list regarding questions about scripting and configuration. I've been down that road, but have not been able to dig up an active list. The bb system seems rather sparse. Do you have a link for me to an active mailing list? -- Jim Freeze ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need advice on Raid and FreeNas
In response to Jim Freeze [EMAIL PROTECTED]: On 7/19/06, pete wright [EMAIL PROTECTED] wrote: On 7/19/06, Jim Freeze [EMAIL PROTECTED] wrote: Hi I am setting up a file server for a small office (10 computers). My first attempt at this I used FreeNas. It was easy to setup and I like that the system is dedicated. One downside of this method is that the write times are slower than I expected. I am using SATA2 drives w/ 8MB buffer on a 100MB network, but the write times I was getting was about 2.5GB per hour. I expected 5 GB in ten minutes. a better metric for us would be network throughput and disk I/O over a shorter period, like kilobit's per sec. Well, if I do the math, 5GB/3600 = 1356 KB/sec. A 100MB/s network has a maximum thruput of 12800KB/sec. So, I am getting 10% of the available BW. Have you checked to make sure the NIC is negotiating at the right speed? Sounds suspiciously like it's running at 10MB/sec. [snip] -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need advice on Raid and FreeNas
Have you checked to make sure the NIC is negotiating at the right speed? Sounds suspiciously like it's running at 10MB/sec. The 100MB light is lit up, but I did not turn off ICMP redirects. I think I'll try this tonight. -- Jim Freeze ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need advice re SCSI
On 1/31/06, je killen [EMAIL PROTECTED] wrote: Hello all; I have installed an LSI Logic SCSI adapter card and have attached to it two 18GB Maxtor 15k SCSI hard drives. These drives are 80 pin drives and I have obtained adapter boards to convert the 80 pin connectors to 68 pin ribbon cable for connection to the SCSI adapter (these adapters are from Cables To Go). This adapter is made for a 64 bit PCI slot. I only have 32 bit PCI slots. I was told via tech support response e-mail from LSI Logic that I could use the adapter card in 32 bit slots but with reduced performance. About an inch of the card connector tab hangs off the end of the PCI slot. The following has been culled from dmesg.boot, /var/log/messages, and transcribed from shutdown messages: From dmesg.boot mpt0: LSILogic 1030 Ultra4 Adapter port 0xe900-0xe9ff mem 0xeb0e-0xeb0 f,0xeb10-0xeb11 irq 11 at device 11.0 on pci0 mpt0: [GIANT-LOCKED] mpt0: MPI Version=1.2.9.0 mpt0: Unhandled Event Notify Frame. Event 0xa. mpt0: mpt_wait_req timed out mpt0: port enable timed outmpt0: failed to enable port 0 mpt0: Unable to initialize IOC mpt1: LSILogic 1030 Ultra4 Adapter port 0xea00-0xeaff mem 0xeb14-0xeb15fff f,0xeb16-0xeb17 irq 10 at device 11.1 on pci0 mpt1: [GIANT-LOCKED] mpt1: MPI Version=1.2.9.0 mpt1: Unhandled Event Notify Frame. Event 0xa. Here is output from var/log/messages re SCSI: Feb 1 01:57:40 AMD64 kernel: Waiting 5 seconds for SCSI devices to settle Here is transcription of shutdown messages: mpt1: Soft reset failed: device not running mpt1: WARNING - Failed hard reset! mpt1: Unhandled Event Notify Frame. Event 0x6149. The operating system has hatled. Press any key to reboot. Perhaps it would take an engineer to look at this and give me advice but; There is no entry for any da device indicating that the drives are not detected but the adapter is. Drives start up with a clattering sound (somewhat like the sound I associate with roulette wheels...um...dicey?) and it's unclear if they are in fact running. Um you need to rule out hard drive problems before you blame the controller card or FreeBSD, because clattering sounds and hard drives don't usually mix. Check that the drive(s) spin up ok, the best way to do this is to remove the case and put your ear to the drive. Check at boot that the SCSI BIOS detected the drives. Also go into the SCSI BIOS and see if there is an option to format them or to run diag tests on the drives. Do you have SCSI controller utilities diskettes and/or the hard drive diag software from maxtor? use them. Download a copy of UBCD and try it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need Advice re SCSI
Regarding this e-mail message posted a few days ago (see except below *), to which there's been no reply as yet. Good news. The lack of response was very intuitive. I solved a major problem. The LSI Logic adapter card I'm using has two internal connectors for two separate buses. I switched the ribbon cable to which the two drives are connected to the other connector on the card and now the drives are coming up. I won't try to explain why 'cause I have no idea (accept maybe slot mismatch only allows one connector to be used). Looking at the boot messages something about it suggested to me that the system was trying to find something on mpt1 (the other bus connector on the card). I hope this will be useful for someone in the future as a possible fix for a similar problem. *Hello all; I have installed an LSI Logic SCSI adapter card and have attached to it two 18GB Maxtor 15k SCSI hard drives. These drives are 80 pin drives and I have obtained adapter boards to convert the 80 pin connectors to 68 pin ribbon cable for connection to the SCSI adapter (these adapters are from Cables To Go). This adapter is made for a 64 bit PCI slot. I only have 32 bit PCI slots. I was told via tech support response e-mail from LSI Logic that I could use the adapter card in 32 bit slots but with reduced performance. About an inch of the card connector tab hangs off the end of the PCI slot. The following has been culled from dmesg.boot, /var/log/messages, and transcribed from shutdown messages: From dmesg.boot mpt0: LSILogic 1030 Ultra4 Adapter port 0xe900-0xe9ff mem 0xeb0e-0xeb0 f,0xeb10-0xeb11 irq 11 at device 11.0 on pci0 mpt0: [GIANT-LOCKED] mpt0: MPI Version=1.2.9.0 mpt0: Unhandled Event Notify Frame. Event 0xa. mpt0: mpt_wait_req timed out mpt0: port enable timed outmpt0: failed to enable port 0 mpt0: Unable to initialize IOC mpt1: LSILogic 1030 Ultra4 Adapter port 0xea00-0xeaff mem 0xeb14-0xeb15fff f,0xeb16-0xeb17 irq 10 at device 11.1 on pci0 mpt1: [GIANT-LOCKED] mpt1: MPI Version=1.2.9.0 mpt1: Unhandled Event Notify Frame. Event 0xa. Here is output from var/log/messages re SCSI: Feb 1 01:57:40 AMD64 kernel: Waiting 5 seconds for SCSI devices to settle Here is transcription of shutdown messages: mpt1: Soft reset failed: device not running mpt1: WARNING - Failed hard reset! mpt1: Unhandled Event Notify Frame. Event 0x6149. The operating system has hatled. Press any key to reboot. Perhaps it would take an engineer to look at this and give me advice but; There is no entry for any da device indicating that the drives are not detected but the adapter is. Drives start up with a clattering sound (somewhat like the sound I associate with roulette wheels...um...dicey?) and it's unclear if they are in fact running. I am using FreeBSD v6.0 on Elite Group ECS 755 A2 motherboard with AMD64 (slot 754). I need to be able to format and partition these drives for use which means they have to show up. I have taken some time to try to track down a source of motherboards with 64 bit PCI slots and don't have any data to go on as yet. Sorry, I'm a little too bewildered to ask specific questions but any info and advice would be appreciated. Thanks in advance Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need advice re SCSI
Hello all; I have installed an LSI Logic SCSI adapter card and have attached to it two 18GB Maxtor 15k SCSI hard drives. These drives are 80 pin drives and I have obtained adapter boards to convert the 80 pin connectors to 68 pin ribbon cable for connection to the SCSI adapter (these adapters are from Cables To Go). This adapter is made for a 64 bit PCI slot. I only have 32 bit PCI slots. I was told via tech support response e-mail from LSI Logic that I could use the adapter card in 32 bit slots but with reduced performance. About an inch of the card connector tab hangs off the end of the PCI slot. The following has been culled from dmesg.boot, /var/log/messages, and transcribed from shutdown messages: From dmesg.boot mpt0: LSILogic 1030 Ultra4 Adapter port 0xe900-0xe9ff mem 0xeb0e-0xeb0 f,0xeb10-0xeb11 irq 11 at device 11.0 on pci0 mpt0: [GIANT-LOCKED] mpt0: MPI Version=1.2.9.0 mpt0: Unhandled Event Notify Frame. Event 0xa. mpt0: mpt_wait_req timed out mpt0: port enable timed outmpt0: failed to enable port 0 mpt0: Unable to initialize IOC mpt1: LSILogic 1030 Ultra4 Adapter port 0xea00-0xeaff mem 0xeb14-0xeb15fff f,0xeb16-0xeb17 irq 10 at device 11.1 on pci0 mpt1: [GIANT-LOCKED] mpt1: MPI Version=1.2.9.0 mpt1: Unhandled Event Notify Frame. Event 0xa. Here is output from var/log/messages re SCSI: Feb 1 01:57:40 AMD64 kernel: Waiting 5 seconds for SCSI devices to settle Here is transcription of shutdown messages: mpt1: Soft reset failed: device not running mpt1: WARNING - Failed hard reset! mpt1: Unhandled Event Notify Frame. Event 0x6149. The operating system has hatled. Press any key to reboot. Perhaps it would take an engineer to look at this and give me advice but; There is no entry for any da device indicating that the drives are not detected but the adapter is. Drives start up with a clattering sound (somewhat like the sound I associate with roulette wheels...um...dicey?) and it's unclear if they are in fact running. I am using FreeBSD v6.0 on Elite Group ECS 755 A2 motherboard with AMD64 (slot 754). I need to be able to format and partition these drives for use which means they have to show up. I have taken some time to try to track down a source of motherboards with 64 bit PCI slots and don't have any data to go on as yet. Sorry, I'm a little too bewildered to ask specific questions but any info and advice would be appreciated. Thanks in advance Jeff K maybe someday I'll have enough knowledge to help someone like me now. ( can learn to spend, when do I get to learn to earn? ) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need advice on building a system with a Raid drive
Hi I am building a new system and plan to use two 300GB drives in a raid 1 configuration. However, I have read where fbsd can't boot from a raid drive, but it is not clear why. Can anyone confirm if this is a valid restriction? Will I really need a boot drive separate from my raid drives? Thanks -- Jim Freeze ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need advice on building a system with a Raid drive
On Wed, Jul 13, 2005 at 10:23:13AM -0500, Jim Freeze wrote: Hi I am building a new system and plan to use two 300GB drives in a raid 1 configuration. However, I have read where fbsd can't boot from a raid drive, but it is not clear why. Can anyone confirm if this is a valid restriction? Will I really need a boot drive separate from my raid drives? I have 3 machines that boot from RAID 1 just fine, 1 uses a Promise RAID Card, FastTrak 100 with 2 Hot Swap Enclosures, and the other 2 use the promise raid on the motherboards, one is a MSI, other is Gigabyte. I like the promise cards, as atacontrol(8) works great with them. dmesg from my server: Drives: ad4: DMA limited to UDMA33, non-ATA66 cable or device ad6: DMA limited to UDMA33, non-ATA66 cable or device ar0: 113487MB ATA RAID1 array [14467/255/63] status: READY subdisks: 0 READY ad4: 114440MB WDC WD1200JB-75CRA0 [232514/16/63] at ata2-master UDMA3 3 ad4: SuperSwap enclosure [FAN:3879rpm TEMP:29.0C 5.103V 12.383V] 1 READY ad6: 114440MB WDC WD1200JB-75CRA0 [232514/16/63] at ata3-master UDMA3 3 ad6: SuperSwap enclosure [FAN:4166rpm TEMP:28.0C 5.049V 12.261V] ar1: 76293MB ATA RAID1 array [9726/255/63] status: READY subdisks: 0 READY ad8: 76319MB WDC WD800JB-00CRA1 [155061/16/63] at ata4-master UDMA100 1 READY ad10: 76319MB WDC WD800JB-00CRA1 [155061/16/63] at ata5-mast er UDMA100 Waiting 2 seconds for SCSI devices to settle Mounting root from ufs:/dev/ar0s1a da0 at isp0 bus 0 target 2 lun 0 da0: IBM DCAS-34330W S60B Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit) da0: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C Cards: [EMAIL PROTECTED]:12:0: class=0x010485 card=0x1275105a chip=0x5275105a rev=0x01 hdr=0x00 vendor = 'Promise Technology Inc' device = 'PDC20276 Ultra133 TX2/FastTrak TX Lite EIDE Controller' class= mass storage subclass = RAID [EMAIL PROTECTED]:6:0: class=0x010485 card=0x4d68105a chip=0x6268105a rev=0x02 hdr=0x00 vendor = 'Promise Technology Inc' device = 'PDC20268R FastTrak100 TX2/TX4/LP EIDE controller' class= mass storage subclass = RAID -- Bob Bomar [EMAIL PROTECTED] - FreeBSD: The Power to Serve http://www.freebsd.org pgpAf5utdB7XA.pgp Description: PGP signature
Re: Need advice on building a system with a Raid drive
Bob Bomar wrote: On Wed, Jul 13, 2005 at 10:23:13AM -0500, Jim Freeze wrote: Hi I am building a new system and plan to use two 300GB drives in a raid 1 configuration. However, I have read where fbsd can't boot from a raid drive, but it is not clear why. Can anyone confirm if this is a valid restriction? Will I really need a boot drive separate from my raid drives? No, see google, it would give you, among other hits: http://people.freebsd.org/~rse/mirror/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need advice on building a system with a Raid drive
I am building a new system and plan to use two 300GB drives in a raid 1 configuration. However, I have read where fbsd can't boot from a raid drive, but it is not clear why. Is that hardware raid or software raid? Hardware RAID there is no restriction as FreeBSD will see your RAID set as one single big disk. Software RAID, I think it is feasible (I remember reading something about that) with some tricks (at boot time the boot disk should be seen un RAIDed until the RAID software is activated or something like that). Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need advice
Thanks, Arden. I picked up a more current card over the weekend. Of course, that isn't going so smoothly, either, so you'll probably see a new thread later today. Bill arden wrote: On Sat, 2004-09-11 at 10:37, Bill Schmitt (SW) wrote: I'm a newbie to FreeBSD, and I like what I've seen so far. I've been trying it on a machine I have here to get an idea of the plusses and minuses of using it as a basic desktop system. I could use a little advice to guide me in the process. I'm working with Version 4.10 now, simply because at the time I downloaded it, the 5 release kept locking up in the middle of the detection process. Also, my configuration seems to indicate that I should be using XFree86, too, and a lot of the comments here have stated that 5 will begin the use of xorg. However, xorg doesn't seem to support the graphics adapter on the machine I'm working with (though, tweaking XFree86 has been a bit of a challenge!). The machine I'm working with is a Gateway with a 300MHz PII that had otherwise been retired. It started with 32MB of memory which I replaced with a single 128MB chip. The motherboard has a built-in graphics adapter that was put out by a company called Mpact, which doesn't appear on any support list I've been able to find. Apparently the company was acquired by somebody, who was then acquired by somebody else (ATI, I believe) which then retired the processor. Because of that, when it didn't work right away I didn't put too much effort into it. Instead, I added a Diamond Stealth 2001 I had with the Arklogic 2000pv chip set and 2MB of DRAM (from another retired machine) and used xf86cfg to create a configuration file that disabled the onboard adapter and worked with the Stealth adapter. While I'm not done tweaking it, I have managed to bring up xfce at 800x600 in a low color mode, so far. I intend to try out the various desktops and Window managers I've seen documented but chose xfce to start because the comments here have generally indicated that it's a good choice for a light, speedy, environment to begin. I did a full install of FreeBSD, beginning with a minimal system from a CD, then switching to FTP to continue, which seems to give me more options to choose from. I used xf86cfg to get to the point where I can where I can use xstart to bring up xfce with the a basic desktop on it. First, I got it working with the basic VESA driver, and then with the ARK driver. However, While I don't expect the machine to be a speed demon, it still seems quite slow in comparison to the MS Windows versions (95 and ME) that had previously been on the machine (I did a completely clean install, so there are no Windows components, or anything else, left on the drive). Considering all of that, my questions are: - Am I being unrealistic in choosing a machine with a 300MHz processor? - If I add another 128MB of memory, should I expect to see a dramatic improvement? - Could the graphics adapter itself be the bottleneck? - If I picked up a newer graphics adapter that was supported by xorg, would a switch to 5.x and/or xorg be expected to pick up the speed a bit? Thanks to anyone who might help fill in the blanks. Bill From my limited experience I'm not expert when it comes to free BSD It depends what you expect from the box but I have a similar box (amd 400) running 5.2.1 and its quite happy :) in my opinion adding ram to any box will may things improve I added a cheap Nivdia 64meg video card that works well with Xf86 and the driver is on the Nvidia site if you want 3d to work plan to play with x.org this weekend just downloaded 5.3 hope this helps Arden ___ [EMAIL PROTECTED] mailing list [2]http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [3][EMAIL PROTECTED] References 1. mailto:[EMAIL PROTECTED] 2. http://lists.freebsd.org/mailman/listinfo/freebsd-questions 3. mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need advice
I appreciate the suggestions, Peter. I picked up a new card over the weekend, and have been working through getting that installed. You'll probably see a new note to the list later today on that, since my impressions of the installation processes are dropping by the minute. Bill Peter Ryan wrote: -Original Message- Bill Schmitt (SW) Sent: Saturday, September 11, 2004 17:37 To: [EMAIL PROTECTED] Subject: Need advice Considering all of that, my questions are: - Am I being unrealistic in choosing a machine with a 300MHz processor? - If I add another 128MB of memory, should I expect to see a dramatic improvement? - Could the graphics adapter itself be the bottleneck? - If I picked up a newer graphics adapter that was supported by xorg, would a switch to 5.x and/or xorg be expected to pick up the speed a bit? Thanks to anyone who might help fill in the blanks. Bill I am an ultra newbie to everything *nix, so bear that in mind when considering what I write. I would watch out for your swap space setting. One of my 'play' machines has only 64MB memory. When i set swap too big (512MB on one occasion), the KDE desktop ran like a dead dog. Switching back to a more reasonable swap fixed that problem. I had been installing from the 4.10R CD, included KDE selected as a desktop. This installed a KDE package from the CD. This caused me no end of problems when I tried to install some other packages wanting more recent versions of things KDE used. I may have chosen poorly when selecting what to do about that, but I have now settled on an install procedure which seems to avoid most of the problems I have encountered - so far :) I install from the 4.10CD, and only select cvsup from the package collection. I dont install a desktop from the list offered during the sysinstall. I then rebuild the ports completely using cvsup. I then install /usr/ports/sysutils/portupgrade. I then run portsdb -Uu Then I upgrade the few packages that are already there (primarily XFree86) with portupgrade -a. This procedure has served me well so far. It is based on the OnLamp article and much assistance from Matthew Seaman and others on this list. [2]http://www.onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html [3]http://www.onlamp.com/lpt/a/4111 and the patch suggested by Matthew for a portsdb problem,which worked. [4]http://archive.pilgerer.org/mharc/html/freebsd-questions/2004-09/msg00563.ht ml Once that is done i go on with whatever packages I want to try, including the desktop. I found the best place to look through the questions mailing list is [5]http://archive.pilgerer.org/mharc/html/freebsd-questions/ The layout of threads is excellent Hope something here helps Peter References 1. mailto:[EMAIL PROTECTED] 2. http://www.onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html 3. http://www.onlamp.com/lpt/a/4111 4. http://archive.pilgerer.org/mharc/html/freebsd-questions/2004-09/msg00563.ht 5. http://archive.pilgerer.org/mharc/html/freebsd-questions/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need advice
I'm a newbie to FreeBSD, and I like what I've seen so far. I've been trying it on a machine I have here to get an idea of the plusses and minuses of using it as a basic desktop system. I could use a little advice to guide me in the process. I'm working with Version 4.10 now, simply because at the time I downloaded it, the 5 release kept locking up in the middle of the detection process. Also, my configuration seems to indicate that I should be using XFree86, too, and a lot of the comments here have stated that 5 will begin the use of xorg. However, xorg doesn't seem to support the graphics adapter on the machine I'm working with (though, tweaking XFree86 has been a bit of a challenge!). The machine I'm working with is a Gateway with a 300MHz PII that had otherwise been retired. It started with 32MB of memory which I replaced with a single 128MB chip. The motherboard has a built-in graphics adapter that was put out by a company called Mpact, which doesn't appear on any support list I've been able to find. Apparently the company was acquired by somebody, who was then acquired by somebody else (ATI, I believe) which then retired the processor. Because of that, when it didn't work right away I didn't put too much effort into it. Instead, I added a Diamond Stealth 2001 I had with the Arklogic 2000pv chip set and 2MB of DRAM (from another retired machine) and used xf86cfg to create a configuration file that disabled the onboard adapter and worked with the Stealth adapter. While I'm not done tweaking it, I have managed to bring up xfce at 800x600 in a low color mode, so far. I intend to try out the various desktops and Window managers I've seen documented but chose xfce to start because the comments here have generally indicated that it's a good choice for a light, speedy, environment to begin. I did a full install of FreeBSD, beginning with a minimal system from a CD, then switching to FTP to continue, which seems to give me more options to choose from. I used xf86cfg to get to the point where I can where I can use xstart to bring up xfce with the a basic desktop on it. First, I got it working with the basic VESA driver, and then with the ARK driver. However, While I don't expect the machine to be a speed demon, it still seems quite slow in comparison to the MS Windows versions (95 and ME) that had previously been on the machine (I did a completely clean install, so there are no Windows components, or anything else, left on the drive). Considering all of that, my questions are: - Am I being unrealistic in choosing a machine with a 300MHz processor? - If I add another 128MB of memory, should I expect to see a dramatic improvement? - Could the graphics adapter itself be the bottleneck? - If I picked up a newer graphics adapter that was supported by xorg, would a switch to 5.x and/or xorg be expected to pick up the speed a bit? Thanks to anyone who might help fill in the blanks. Bill ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need advice
On Sat, 2004-09-11 at 10:37, Bill Schmitt (SW) wrote: I'm a newbie to FreeBSD, and I like what I've seen so far. I've been trying it on a machine I have here to get an idea of the plusses and minuses of using it as a basic desktop system. I could use a little advice to guide me in the process. I'm working with Version 4.10 now, simply because at the time I downloaded it, the 5 release kept locking up in the middle of the detection process. Also, my configuration seems to indicate that I should be using XFree86, too, and a lot of the comments here have stated that 5 will begin the use of xorg. However, xorg doesn't seem to support the graphics adapter on the machine I'm working with (though, tweaking XFree86 has been a bit of a challenge!). The machine I'm working with is a Gateway with a 300MHz PII that had otherwise been retired. It started with 32MB of memory which I replaced with a single 128MB chip. The motherboard has a built-in graphics adapter that was put out by a company called Mpact, which doesn't appear on any support list I've been able to find. Apparently the company was acquired by somebody, who was then acquired by somebody else (ATI, I believe) which then retired the processor. Because of that, when it didn't work right away I didn't put too much effort into it. Instead, I added a Diamond Stealth 2001 I had with the Arklogic 2000pv chip set and 2MB of DRAM (from another retired machine) and used xf86cfg to create a configuration file that disabled the onboard adapter and worked with the Stealth adapter. While I'm not done tweaking it, I have managed to bring up xfce at 800x600 in a low color mode, so far. I intend to try out the various desktops and Window managers I've seen documented but chose xfce to start because the comments here have generally indicated that it's a good choice for a light, speedy, environment to begin. I did a full install of FreeBSD, beginning with a minimal system from a CD, then switching to FTP to continue, which seems to give me more options to choose from. I used xf86cfg to get to the point where I can where I can use xstart to bring up xfce with the a basic desktop on it. First, I got it working with the basic VESA driver, and then with the ARK driver. However, While I don't expect the machine to be a speed demon, it still seems quite slow in comparison to the MS Windows versions (95 and ME) that had previously been on the machine (I did a completely clean install, so there are no Windows components, or anything else, left on the drive). Considering all of that, my questions are: - Am I being unrealistic in choosing a machine with a 300MHz processor? - If I add another 128MB of memory, should I expect to see a dramatic improvement? - Could the graphics adapter itself be the bottleneck? - If I picked up a newer graphics adapter that was supported by xorg, would a switch to 5.x and/or xorg be expected to pick up the speed a bit? Thanks to anyone who might help fill in the blanks. Bill From my limited experience I'm not expert when it comes to free BSD It depends what you expect from the box but I have a similar box (amd 400) running 5.2.1 and its quite happy :) in my opinion adding ram to any box will may things improve I added a cheap Nivdia 64meg video card that works well with Xf86 and the driver is on the Nvidia site if you want 3d to work plan to play with x.org this weekend just downloaded 5.3 hope this helps Arden ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need advice
Bill Schmitt (SW) wrote: [ ... ] Considering all of that, my questions are: - Am I being unrealistic in choosing a machine with a 300MHz processor? No. But a faster CPU wouldn't hurt, either. - If I add another 128MB of memory, should I expect to see a dramatic improvement? Adding more memory is probably the most cost-effective way of improving performance. - Could the graphics adapter itself be the bottleneck? Yes. A video card with 2MB of RAM is obsolete by today's standards. - If I picked up a newer graphics adapter that was supported by xorg, would a switch to 5.x and/or xorg be expected to pick up the speed a bit? A switch to 5.x is likely to slow things down. Switching to xorg might help a little. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need advice
On Sat, 11 Sep 2004 05:37:16 -0400 Bill Schmitt (SW) [EMAIL PROTECTED] wrote: I'm a newbie to FreeBSD, and I like what I've seen so far. I've been trying it on a machine I have here to get an idea of the plusses and minuses of using it as a basic desktop system. I could use a little advice to guide me in the process. I'm working with Version 4.10 now, simply because at the time I downloaded it, the 5 release kept locking up in the middle of the detection process. Also, my configuration seems to indicate that I should be using XFree86, too, and a lot of the comments here have stated that 5 will begin the use of xorg. However, xorg doesn't seem to support the graphics adapter on the machine I'm working with (though, tweaking XFree86 has been a bit of a challenge!). Tweaking it gets easier with time ^_^ The machine I'm working with is a Gateway with a 300MHz PII that had otherwise been retired. It started with 32MB of memory which I replaced with a single 128MB chip. The motherboard has a built-in graphics adapter that was put out by a company called Mpact, which doesn't appear on any support list I've been able to find. Apparently the company was acquired by somebody, who was then acquired by somebody else (ATI, I believe) which then retired the processor. Because of that, when it didn't work right away I didn't put too much effort into it. Instead, I added a Diamond Stealth 2001 I had with the Arklogic 2000pv chip set and 2MB of DRAM (from another retired machine) and used xf86cfg to create a configuration file that disabled the onboard adapter and worked with the Stealth adapter. While I'm not done tweaking it, I have managed to bring up xfce at 800x600 in a low color mode, so far. I intend to try out the Check out X -configure. :) That makes it easy. Then just tweak the video mode settings using xf86cfg -textmode. You may have to go in by hand and change the depth manually to 24bit. IIRC it defaults to 8bit. You really should not be noticing tobad of performance in the graphics area, not going to vouch for that card though. BTW you probally want VESA for that card. Not to familar with that line of cards though. You may want to try the S3 or s3virge. A bit of googling showed that some diamond cards used those chips. :/ various desktops and Window managers I've seen documented but chose xfce to start because the comments here have generally indicated that it's a good choice for a light, speedy, environment to begin. I did a full install of FreeBSD, beginning with a minimal system from a CD, then switching to FTP to continue, which seems to give me more options to choose from. I used xf86cfg to get to the point where I can where I can use xstart to bring up xfce with the a basic desktop on it. First, I got it working with the basic VESA driver, and then with the ARK driver. However, While I don't expect the machine to be a speed demon, it still seems quite slow in comparison to the MS Windows versions (95 and ME) that had previously been on the machine (I did a completely clean install, so there are no Windows components, or anything else, left on the drive). Depends on what you are trying on it. XFCE should not bring it down, but something like KDE or Gnome will easily drop performance. This slow down is most likely cuased by a crappy video card or badly setup X. Also not running in 24bit means a slight slow down to, but probally thing truely noticeable from it What applications you having trouble with? BTW does not really make a difference if windows is installed or not since windows has very primitive FS support(can't read UFS and ect), and FreeBSD does not really care what windows has installed on it or any thing. /me has his multimedia box dual boot between releng_5 and xp corporate. Considering all of that, my questions are: - Am I being unrealistic in choosing a machine with a 300MHz processor?- If I add another 128MB of memory, should I expect to see a dramatic improvement? More mem is all ways good. It allows for more stuff to be loaded before swapping out and allows for larger cache sizes. My sisters machine just has a 200MHz p2 in it. - Could the graphics adapter itself be the bottleneck? Quite possibly. A good graphics card will speed things up imensely because of optimized drivers and ect. This is especially try with the recently released Xorg 6.8.0(which should be hitting the ports soon), because of the heavier use of RENDER extension. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need Advice On Audit Log File Access
Hi All, I have a File Server and all the clients are using WinSCP3 to copy their data to my File Server. Is there any audit log generated for me to check if somebody accidently deleted any files in the File Server. I'm looking at simililar method like Samba-audit log. By the way I'm using FreeBSD5.2.1 Can some body advice...pleaseee Really appreciate your help. -- Regards, Suhaimi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need Advice in SSH
Bull TORS wrote: Hello, I was hoping if anyway could give me advice, hints, and anything about this question of mine. laptop1.mydomain.org-?ssh?--- laptop2.mydomain.org Static IP Address from the DHCP client of my ISP Company LAN Server with a different domain (companydomain.org) You've triggered my curiosity and I've tried a bit myself with ssh. I've come a little further. Imagine this network setup: PC1 -- Gateway -//-PC2 PC1: 10.0.0.N on a local network PC2: has world-wide IP address, say: x.y.z Then you can do on PC1: ssh -N -f -R 2200:localhost:22 x.y.z which will create an ssh-tunnel from PC1 to PC2 as a background process, and will force PC2 to listen on port 2200, which will be connected to port 22 on PC1. After establishing this tunnel, you can do on PC2: ssh -p 2200 localhost and you connect directly to PC1. In this process, you do not need any login/password on the gateway!! Exchanging public keys of the two PCs, will skip the password checking. You also can add lines in ~/.ssh/config, to shorten the last command. I know in your case, both PCs are on a local network and there are two gateways inbetween. So this is not the final solution to your problem, but it may help you understand what way to go with ssh. I remember you had login/password of one gateway, which certainly may make things easier. I hope all this helps a bit. Rob. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need Advice in SSH
Hello, I was hoping if anyway could give me advice, hints, and anything about this question of mine. I have to laptops in which I have installed FreeBSD-Current (both). One is in the office that I worked for and the other at my home. I have named (hostname) my laptops as laptop1.mydomain.org and laptop2.mydomain.org laptop1.mydomain.org has a static IP Address from our LAN Server (companydomain.org). laptop2.mydomain.org has DHCP client setttings from my ISP(ispdomain.ne.jp). Can I use ssh to connect/administer either way on these 2 laptops? I hope that I have stated my question clearly...I will try my best to simply things below: laptop1.mydomain.org-?ssh?--- laptop2.mydomain.org Static IP Address from the DHCP client of my ISP Company LAN Server with a different domain (companydomain.org) I would really appreciate any replies and if possible any tips. Thank you Bull TORS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need Advice in SSH
Bull TORS wrote: Can I use ssh to connect/administer either way on these 2 laptops? I hope that I have stated my question clearly...I will try my best to simply things below: laptop1.mydomain.org-?ssh?--- laptop2.mydomain.org Static IP Address from the DHCP client of my ISP Company LAN Server with a different domain (companydomain.org) Are the laptops on internal networks (10.0.0.0/8 for example) or on real internet addresses? In the latter case, you just do ssh a.b.c.d using the IP addresses from one machine to the other, providing the username is same on both machines. Otherwise use: ssh [EMAIL PROTECTED] You can also put the a.b.c.d octets together your chosen hostnames in /etc/hosts and use the hostnames instead. Does your ISP change your IP regularly, or is it fixed? If it changes, the ssh only works from laptop2 to laptop1; and for the reverse you have to play some tricks. Rob. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need Advice in SSH
On Thursday 06 May 2004 11:25, Rob wrote: Bull TORS wrote: Can I use ssh to connect/administer either way on these 2 laptops? I hope that I have stated my question clearly...I will try my best to simply things below: laptop1.mydomain.org-?ssh?--- laptop2.mydomain.org Static IP Address from the DHCP client of my ISP Company LAN Server with a different domain (companydomain.org) Are the laptops on internal networks (10.0.0.0/8 for example) or on real internet addresses? In the latter case, you just do ssh a.b.c.d My laptop in the office (laptop1.mydomain.org) has a static internal network address 192.168.1.35 from my company's (companydomain.org) LAN Server. My laptop in my home has 192.168.1.x (I am not that sure if it changes a lot but I think not) as a DHCP client from my ISP (ispdomain.ne.jp). So I think both gets internal network addresses from their respective servers, one as a static client and the other as a dynamic client from different domains. Does this mean I can not use ssh from either both PC's? Thank you very much for the reply, Bull TORS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need Advice in SSH
On May 5, 2004, at 20:24, Bull TORS wrote: My laptop in the office (laptop1.mydomain.org) has a static internal network address 192.168.1.35 from my company's (companydomain.org) LAN Server. My laptop in my home has 192.168.1.x (I am not that sure if it changes a lot but I think not) as a DHCP client from my ISP (ispdomain.ne.jp). So I think both gets internal network addresses from their respective servers, one as a static client and the other as a dynamic client from different domains. Does this mean I can not use ssh from either both PC's? No, but you need more information. Some device on each end is translating those non-routable private addresses to public ones usable on the Internet. Almost certainly, at least one and probably both are blocking inbound SSH connections by default. It is more likely that you can initiate outbound connections from your company's network, and can configure your home network to permit inbound connections. It is much less likely that you will be able to have your company network configured to permit inbound connections initiated from your home computer. In either case, you need more detailed information on the configurations. Talk to the IT staff at your company and explain what you're trying to do and ask if they permit outbound SSH sessions. At your home, in my experience it's very uncommon for an ISP to provision either DHCP or private addresses directly - it's more common for there to be a local device in your home that is accomplishing that. But talk to your ISP, it could be different in Japan. Properly speaking, this has little or nothing to do with FreeBSD, BTW, it is general firewall, NAT and SSH information. KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need Advice in SSH
Bull TORS wrote: My laptop in the office (laptop1.mydomain.org) has a static internal network address 192.168.1.35 from my company's (companydomain.org) LAN Server. My laptop in my home has 192.168.1.x (I am not that sure if it changes a lot but I think not) as a DHCP client from my ISP (ispdomain.ne.jp). So I think both gets internal network addresses from their respective servers, one as a static client and the other as a dynamic client from different domains. Does this mean I can not use ssh from either both PC's? My knowledge of ssh is just to the level of a regular user, so I may be wrong here. But in this case I am afraid you can only connect the two computers if you also have access (login password) to each one of the gateways, in which case you can make use of ssh-tunnels. See for example: http://www.onlamp.com/pub/a/onlamp/excerpt/ssh_11/index1.html In case you have no access to the gateways, I then wonder, if you could use any third computer with a real IP address (provided you have access to that one) and use this third computer as an inbetween in the ssh-tunnel between your two laptops. Above article may give a clue. Does that help? Regards, Rob. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need Advice in SSH
On Thursday 06 May 2004 12:50, Rob wrote: Bull TORS wrote: My laptop in the office (laptop1.mydomain.org) has a static internal network address 192.168.1.35 from my company's (companydomain.org) LAN Server. My laptop in my home has 192.168.1.x (I am not that sure if it changes a lot but I think not) as a DHCP client from my ISP (ispdomain.ne.jp). So I think both gets internal network addresses from their respective servers, one as a static client and the other as a dynamic client from different domains. Does this mean I can not use ssh from either both PC's? My knowledge of ssh is just to the level of a regular user, so I may be wrong here. But in this case I am afraid you can only connect the two computers if you also have access (login password) to each one of the gateways, in which case you can make use of ssh-tunnels. Thank you again for your response...Really gives people like me the confidence to ask in this mailing list... I know that we are connected to an ADSL modem and we are renting a router device to act as our gateway...I know the login password for the router and I can possibly change the settings BUT, this is where my problem is... I have been using FreeBSD for the last 7-8 months now since I threw away my MS Windows CD's because I have finally found the OS that was meant to be mine. Since I have been using FreeBSD, I still have not configure my printer settings and when people asked me why, I used to answer to them that I am using FreeBSD and I need more readings to configure my system but before I could finish the last phrase of my sentence, they would say Oh, your not using Windows! so you are using Linux!... Why use strange things?...Imagine that Linux sounds strange to them, what would happen if I start explaining what FreeBSD is!...Hehehe...And the person in-charge on our network does not even know why we have to configure our DNS numbers from our ISP in order to connect to the internet...!!! and I only understood what DNS is after I started FreeBSD...When I tried to say that you should try FreeBSD because I learned it using the said OS...and the answer was My mind is no longer interested in strange OSes...!!! So I do not want to ask about this thing because I know that they will not and can not understand...hehehe Sorry for this kind of response but I really appreciate the time for your responses and I will take on this challenge in another environment in the future... Forgive me for the wasted bandwidth... See for example: http://www.onlamp.com/pub/a/onlamp/excerpt/ssh_11/index1.html In case you have no access to the gateways, I then wonder, if you could use any third computer with a real IP address (provided you have access to that one) and use this third computer as an inbetween in the ssh-tunnel between your two laptops. Above article may give a clue. Does that help? Yes it did and I will really keep this Emails for future reference... Once again, thanks a lot... Bull TORS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need Advice in SSH
On Thursday 06 May 2004 12:44, Kevin Stevens wrote: On May 5, 2004, at 20:24, Bull TORS wrote: My laptop in the office (laptop1.mydomain.org) has a static internal network address 192.168.1.35 from my company's (companydomain.org) LAN Server. My laptop in my home has 192.168.1.x (I am not that sure if it changes a lot but I think not) as a DHCP client from my ISP (ispdomain.ne.jp). So I think both gets internal network addresses from their respective servers, one as a static client and the other as a dynamic client from different domains. Does this mean I can not use ssh from either both PC's? No, but you need more information. Some device on each end is translating those non-routable private addresses to public ones usable on the Internet. Almost certainly, at least one and probably both are blocking inbound SSH connections by default. It is more likely that you can initiate outbound connections from your company's network, and can configure your home network to permit inbound connections. It is much less likely that you will be able to have your company network configured to permit inbound connections initiated from your home computer. In either case, you need more detailed information on the configurations. Talk to the IT staff at your company and explain what you're trying to do and ask if they permit outbound SSH sessions. At your home, in my experience it's very uncommon for an ISP to provision either DHCP or private addresses directly - it's more common for there to be a local device in your home that is accomplishing that. But talk to your ISP, it could be different in Japan. Properly speaking, this has little or nothing to do with FreeBSD, BTW, it is general firewall, NAT and SSH information. Thanks for the response...I have tried to use ssh before but everytime I did a message always says operation timed out...and I could not know what went wrong...I have read the handbook and have found information using google before trying it and it seems that it was not working...I had to let it go for awhile or maybe gave up on it...but then it just keeps coming back to me because there are times when I really need to access my pc at home to administer it...That is why I posted my Email...just asking if it is really possible...Now, that I found out that it is going to take more reading and maybe try my settings in a different environment (if I am lucky)... Again, thanks for the reply...and my apologies for taking some of your minutes... Have a nice day guys... Bull TORS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need Advice in SSH
Bull TORS wrote: could finish the last phrase of my sentence, they would say Oh, your not using Windows! so you are using Linux!... Why use strange things?...Imagine that Linux sounds strange to them, what would happen if I start explaining what FreeBSD is!...Hehehe...And the person in-charge on our You're in Japan, right? FreeBSD used to be very common in Japan at some point for its support for the Japanese character sets. What happened to its popularity? I myself am in Korea. Despite news items that the opensource community is gaining fields in East-Asia, too many people frown their eyebrows when talking another language than MS-Windows, even at the university :(. Indeed, this IS the place to ask questions, if you get stuck and noone in your environment is able or willing to help! Printer problems? Have you installed CUPS? That will solve lots of the UNIX printer oddities. It's in the ports and has a decent manual. If that is not clear enough, then send your Qs to this list. Good luck! R. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need Advice in SSH
Bull TORS wrote: Thanks for the response...I have tried to use ssh before but everytime I did a message always says operation timed out...and I could not know what went Try ssh -v ... to see debugging messages while ssh tries to establish the connection. You may also try ssh -v -v ... or ssh -v -v -v ... to increase its verbosity. If you don't understand the output, then share it with this list and people may tell you what's going wrong in more detail. R. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need advice on smbldap-passwd I/O Error when normal user want to change passwd
Hi All, Need some advise regarding smbldap-tools-0.8.4. I have configure this tools and make it work with my LDAP server. FYI ...ldap+samba is on the same server. I manage to change normal user password when I a root. However if I'm normal user I got I/O Error? What can be wrong here? Really appreciate if some can advice me. For detail please see below my-svr# id uid=0(root) gid=0(wheel) groups=0(wheel), 5(operator), 512(Domain Admins) my-svr# smbldap-passwd sambauser2 Changing password for sambauser2 New password : Retype new password : my-svr# su sambauser2 %id uid=1003(sambauser2) gid=513(Domain Users) groups=513(Domain Users) %smbldap-passwd I/O Error at /usr/local/sbin//smbldap_tools.pm line 189, DATA line 283. % -- Regards, Suhaimi, ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need advice from Asus P4C800-E owners
Hello, I recently purchased an ASUS P4C800-E motherboard and a couple of of SATA drives. I'm looking for ideas on how to best configure this MB with all it's PATA and SATA option for use with FreeBSD -CURRENT. I've been following the -questions and -current mailing lists and have seen several people that appear to be running this board. Also I've seen, what appear to be, many issues with the Intel ICH5(R) controller. Ultimately I need a dual-boot FreeBSD, WinXP machine. I'd like to take advantage of the RAID capabilities in, ideally, both operating systems. -- Regards, Doug ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
need advice on routing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi ! I have a question not FreeBSD specific, but since I'm going to use FreeBSD to achieve what I need, I wanted your advice. I just arrived in a new company and their network has 2 xDSL connexions to the Net. I was wondering what would be the best setup using FreeBSD as a gateway: - - should I make FreeBSD use the 2 connections as the same time (to have twice the bandwidth), with bandwidth management for important services we host - - or should I install 2 FreeBSD gateways, one for each connection (lan -- net; public_ip_pool -- net) and make them communicate within a local LAN (separate from the main one). I need the main lan to be able to communicate with the public_ip_pool. - - or something else ... ? If I had only one connection, I would build a LAN+DMZ+gateway, but I never really worked with 2 connections. If you have any advice concerning this, working under FreeBSD of course, please let me know. Best regards. - -- Antoine Jacoutot [EMAIL PROTECTED] http://www.lphp.org PGP/GnuPG key: http://www.lphp.org/ressources/ajacoutot.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/VYNAY3Hnhkr+5cQRAjJQAKCFZwgc3Sa4m3R3y/ybo8YlhVMEyACfV+8p iBy3dAI3EobGJggyRHVmE/o= =8Rrt -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
need advice: core dumps during buildworld
hi all i am having trouble trying to cvsup a 5_1-RELEASE machine i'm at the 'cd /usr/src/ make buildworld' stage. i can't run 'make buildworld' successfully on this machine. i'm able to on my other 5_1-RELEASE machine (although it's different hardware...). the buildworld seems to fail at different points randomly. for ex., the most current kernel core dump/error i get when trying to complete this operation is Illegal instruction(core dumped) Error code 132 stop in /usr/src/usr.bin/objformat ***Error code 1 stop in /usr/src/usr.bin. ***Error code 1... Aug 28 12:30:39 host kernel : pid 61508 (make), uid 0: exited on signal 4 (core +dumped) my hardware: dell optiplex gx250 p4 2.4 ghz 500 mhz ram FreeBSD 5.1-RELEASE-p2 #1 -i was advised that problems like these most often are a result of bad ram. i ran memtest on this machine, it found no errors. i ran dell hardware diagnostics on this machine, also found no errors. i pull each stick of ram separately - the buildworld problem reappeared no matter which stick of ram is in the machine, or which ram slot on the motherboard it's plugged into. one thing to note is that, before i wiped this machine and reinstalled 5_1, this machine cvsupped flawlessly for a year as a 4x-RELEASE machine, with the same ram. i'm hoping that there's something else i can try before wiping/reinstalling 5_1. i'm not even sure if reinstalling will fix the problem. if anyone has any words of advice, i'd appreciate it thanks -- FreeBSD 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #0: Thu Aug 28 12:42:04 CDT 2003 6:55PM up 3 days, 5:53, 3 users, load averages: 0.81, 0.54, 0.33 Individualists unite! pgp0.pgp Description: PGP signature
Re: need advice: core dumps during buildworld
On Sun, Aug 31, 2003 at 06:56:16PM -0500, Redmond Militante wrote: hi all i am having trouble trying to cvsup a 5_1-RELEASE machine i'm at the 'cd /usr/src/ make buildworld' stage. i can't run 'make buildworld' successfully on this machine. i'm able to on my other 5_1-RELEASE machine (although it's different hardware...). the buildworld seems to fail at different points randomly. for ex., the most current kernel core dump/error i get when trying to complete this operation is Illegal instruction(core dumped) Error code 132 Check your make.conf flags. You're very likely using some odd CPU specific flags. -- Jonathan Chen [EMAIL PROTECTED] -- The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[r-militante@northwestern.edu: Re: need advice: core dumps duringbuildworld]
- Forwarded message from Redmond Militante [EMAIL PROTECTED] - Date: Mon, 1 Sep 2003 09:22:52 -0500 From: Redmond Militante [EMAIL PROTECTED] To: Jonathan Chen [EMAIL PROTECTED] Subject: Re: need advice: core dumps during buildworld Reply-To: Redmond Militante [EMAIL PROTECTED] In-Reply-To: [EMAIL PROTECTED] User-Agent: Mutt/1.4.1i X-Sender: [EMAIL PROTECTED] X-URL: http://darkpossum.medill.northwestern.edu/modules.php?name=Contentpa=showpagepid=1 X-DSA-and-ElGamal-Fingerprint: 2AA2 E78E A6FC 9144 3534 39A2 EE0F 8D26 5FDF 481D hi thanks for responding! my make.conf seems ok to me, is there something i should change? CFLAGS= -O -pipe COPTFLAGS= -O -pipe NOPROFILE= true USA_RESIDENT= YES # -- use.perl generated deltas -- # # Created: Wed Aug 6 16:28:04 2003 # Setting to use base perl from ports: PERL_VER=5.6.1 PERL_VERSION=5.6.1 PERL_ARCH=mach NOPERL=yo NO_PERL=yo NO_PERL_WRAPPER=yo thanks redmond [Mon, Sep 01, 2003 at 03:37:21PM +1200] This one time, at band camp, Jonathan Chen said: On Sun, Aug 31, 2003 at 06:56:16PM -0500, Redmond Militante wrote: hi all i am having trouble trying to cvsup a 5_1-RELEASE machine i'm at the 'cd /usr/src/ make buildworld' stage. i can't run 'make buildworld' successfully on this machine. i'm able to on my other 5_1-RELEASE machine (although it's different hardware...). the buildworld seems to fail at different points randomly. for ex., the most current kernel core dump/error i get when trying to complete this operation is Illegal instruction(core dumped) Error code 132 Check your make.conf flags. You're very likely using some odd CPU specific flags. -- Jonathan Chen [EMAIL PROTECTED] -- The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. -- FreeBSD 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #0: Thu Aug 28 12:42:04 CDT 2003 9:15AM up 3 days, 20:12, 1 user, load averages: 0.28, 0.53, 0.49 University, n.: Like a software house, except the software's free, and it's usable, and it works, and if it breaks they'll quickly tell you how to fix it, and ... - End forwarded message - -- FreeBSD 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #0: Thu Aug 28 12:42:04 CDT 2003 9:15AM up 3 days, 20:12, 1 user, load averages: 0.28, 0.53, 0.49 University, n.: Like a software house, except the software's free, and it's usable, and it works, and if it breaks they'll quickly tell you how to fix it, and ... pgp0.pgp Description: PGP signature