From nitin.gizare at wipro.com Thu Jan 1 02:08:33 2009 From: nitin.gizare at wipro.com (nitin.gizare at wipro.com) Date: Thu, 1 Jan 2009 12:38:33 +0530 Subject: Power consumation information Message-ID: <8068EA5DFF3D964CB9B957236985862B0A597398@BLR-EC-MBX06.wipro.com> HI WISHING ALL SUN LOVERS A HAPPY NEW YEAR ! As u might be aware of Green IT as part of this activity we need to calculate power consummation for models E450 , E250 , V880r many other models of SPARC I would like know how can we calculate same , Do we have any ready made information about this, Rgds Nitin Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com From jdd at cs.toronto.edu Fri Jan 2 00:30:02 2009 From: jdd at cs.toronto.edu (John DiMarco) Date: Fri, 2 Jan 2009 00:30:02 -0500 (EST) Subject: Sun Managers Frequently Asked Questions (FAQ) Message-ID: <20090102053002.2D6E759C08D@apps0.cs.toronto.edu> Archive-name: sunmanagers-faq $Id: faq.html,v 1.29 2007/05/25 20:41:16 jdd Exp $ SunManagers Frequently Asked Questions This is collection of common questions posted to the sunmanagers mailing list twice a month. It is intended to benefit Sun System Managers and reduce traffic to the list by providing quick answers to common problems. Keeping with the style of a similar FAQ for comp.windows.x, questions marked with a '+' indicate questions new to this issue; those with significant changes of content since the last issue are marked by '*' The Information Files maintainer is John DiMarco . All corrections, submissions and FAQ administration-related messages should go to . Do not send questions, subscription or unsubscription requests, or sunmanagers postings to this address; they will be quietly ignored. The List Server maintainer is Bill Bradford . Any problems with the mailing list server should be directed to Bill. _________________________________________________________________ Questions 1. The Sun-Manager's Mailing list 1.1) How do I read, join, post to, or remove myself from the sunmanagers mailing list? 1.2) What is the Sun-Manager's Charter? What are the rules? 1.3) Are there any public archives for the sunmanagers list? 1.4) What should I keep in mind when posting to sunmanagers? 1.5) What other forums are there for Suns? 1.6) Where are the answers to questions about old Suns and old versions of Solaris? 1.7) What fields can I use to filter Sun Managers email? 2. Getting Help Over the Net 2.1) How do I find out what patches are available from Sun? 2.2) * How do I get help migrating to Solaris? 2.3) How do I access Sun's documentation over the net? 2.4) To which web sites can I go for help? 3. Network Directory and File Services 3.1) How do I use DNS for hostname resolution? 3.2) How do I change NIS+ credentials for the root master server? 3.3) When I compile something, errors occur saying _dlopen and other _dl routines can't be found. Why? 4. Window Systems 4.1) + What Window system GUIs are supported by Sun? 5. Disks, Tapes and SCSI 5.1) * What sector/head/cylinders parameters should be used for a hard disk? 5.2) * Can I replace an internal drive in a Sun with a higher capacity model? 5.3) Is it okay to disconnect or connect SCSI devices while powered on? 5.4) How do I configure my sun to use Exabyte 4mm DAT tape drives? 5.5) Why is tagged queueing a problem on my third-party disk? 5.6) Why don't third-party CD-ROMS work on my sun? 5.7) What size and density parameters should I use for ufsdump with a high-capacity tape drive? 5.8) My floppy/cdrom device says "device busy". What do I do? 5.9) What software is available for CD-R/CD-RW? 5.10) Where is my disk space? The "du" and "df" commands disagree. 6. Resource Management and Performance Tuning 6.1) How do I tell what caused my machine to crash? 6.2) What can I do if my machine slows to a crawl or just hangs? 6.3) How do I find out how much physical memory a machine has? 6.4) How do I find out what my machine's memory is being used for? How can I tell if I need more memory? 6.5) Why do some files take up more disk space after being copied? Why are the sizes reported by ls -l and du different? 7. HTTP and Anonymous FTP 7.1) * How do I set up anonymous ftp on my machine? 7.2) + Where can I get a Web server for Solaris? 8. Consoles, Keyboards and Key Remapping 8.1) How do I make the numeric keypad on a sun keyboard work with xterm? 8.2) How do I swap the CAPS LOCK and CONTROL keys on a sun keyboard? 8.3) How do I use a Windows PC for a Sun serial console? 9. Sun models and OS Versions 9.1) * Which Sun models run which version of SunOS? 9.2) How can my program tell what model Sun it is running on? 9.3) How do I find out a Sun's boot prom revision? 9.4) * Which hardware/software is capable of 64-bit? Which is only 64-bit? How can I tell which is running? 10. Miscellaneous Software 10.1) My remote ufsdump is failing with a "Protocol botched" message. What do I do? 10.2) * Where can I get a C compiler for Solaris? 10.3) How do I read Microsoft Word documents on my Sun? 10.4) How do I restore to a different location the contents of a tarfile created with absolute pathnames? 11. Miscellaneous Hardware 11.1) * How come my mouse occasionally doesn't work? 11.2) How can I turn my old sun into an X-Terminal? 11.3) * How can I use an SVGA monitor on my Sun? 11.4) Where can I find alternate pointing devices for my Sun? 12. Networking 12.1) Why do both my net interfaces have the same ethernet address? 12.2) How can I know the hardware vendor from an ethernet address? 12.3) * How do I set my ethernet interface to e.g. 100Mb full duplex? 12.4) How do I find out what process is using a particular port? 12.5) I have a lot of ports in WAIT states. Why? 13. Electronic Mail 13.1) * Where can I get a POP or IMAP server for my sun? 14. Printing 14.1) + How do I get started with LP-style printing in Solaris? 14.2) How do I configure a non-postscript printer for postscript? 15. Misc System Administration 15.1) I've forgotten the root password; how can I recover? 15.2) How do I disable/remap STOP-A/L1-A? 15.3) How do I manage services in Solaris 10 and later? Do I still make links in /etc/rc*.d? Answers _________________________________________________________________ 1. The Sun-Manager's Mailing list _________________________________________________________________ 1.1) How do I read, join, post to, or remove myself from the sunmanagers mailing list? Point your web browser to http://www.sunmanagers.org Persons without web access should send a mail message to "sunmanagers-request at sunmanagers.org" containing the single word "help". Messages can be posted to the list by mailing them to the address "sunmanagers at sunmanagers.org". Do not do this until you have read the charter/policy (question 1.2) and the "how to post" document at http://www.sunmanagers.org. The policy and the "how to post" document is sent to the entire list twice a month. It is also sent out to every new subscriber and is available at http://www.sunmanagers.org. The latest version of the FAQ (this file) is available at http://www.sunmanagers.org _________________________________________________________________ 1.2) What is the Sun-Manager's Charter? What are the rules? 1: This list is NOT moderated! Every message that is sent to the list will be passed on to every member of the list. 2: Requests to have addresses added or removed from the list should NOT be sent to the entire list. Instead, addresses should be added or removed via the web page at http://www.sunmanagers.org Similarly, test messages of any sort should not be sent to the list. 3: This list is intended to be a quick-turnaround trouble shooting aid for those who administer and manage Sun systems. Its primary purpose is to provide the Sun manager with a quick source of information for system management problems that are of a time-critical nature. 4: All responses are to be mailed back to the questioner and are NOT to be sent to the entire list. Any response to a list message sent to the list, rather than to the person asking the question, will be deleted without notice. The person who originally asked the question has the responsibility of summarizing the answers and sending the entire summary back to the list. When a summary is sent back to the list, the word "SUMMARY" should be the first word of the "Subject" line. 5: Discussions on ANY topic are not allowed and will not be tolerated. If you want to discuss something, take it to the appropriate Sun newsgroup. 6: If it is not specifically related to Sun system management, then it does NOT belong on this list. Requests for vendor recommendations are tolerated, provided that the hardware in question is something that system managers normally purchase. 7: Commercial Advertising of any sort on the list is strictly prohibited. 8: Postings about employment, either employment sought or offered, are not permitted on this list. Please use a more appropriate forum, e.g. one of the newsgroups in the misc.jobs USENET hierarchy. 9: Requests for software (free or otherwise) should be limited to software that is directly related to Sun SYSTEM MANAGEMENT ONLY. 10: Read the appropriate manuals BEFORE posting, including the "Read This First" documents. Oftentimes the manuals contain answers for common problems. 11: When including a traceback from a system panic, make sure that it is a symbolic traceback. Numeric tracebacks (the ones included as part of the panic message) are not helpful; don't bother sending them to the list. 12: A posting to sunmanagers is not a general invitation to email the poster -- if you wish to send email to a sunmanagers poster, the email you send should be related to the posting, else it will be unsolicited email and may be treated like any other unsolicited email (e.g. spam). Sunmanagers is not to be used to collect email addresses of people who manage Sun systems. Those who do this not only violate the list's policy, but risk seriously offending the very people they are attempting to reach. 13: PLEASE PLEASE PLEASE...Think before you send a message! Ask yourself "is this really appropriate?" There are enough other newsgroups and mailing lists around to cover the marginal topics. Perhaps there is another forum that is more appropriate? Check the list of Sun specific newsgroups included in the FAQ. Perhaps your message would be more appropriate there? Remember that Sunmanagers is very public: we have thousands of subscribers, all postings are archived for posterity on various archive sites, and these sites are in turn searchable via various web engines. Submitting a posting is irreversible -- once it goes out, it cannot be taken back! Failure to adhere to these guidelines may result in severe chastisement by the list participants. Not only will you succeed in looking like a careless fool, and in making Sun Systems Managers all over the world annoyed at your incompetence, you may end up damaging your professional reputation. _________________________________________________________________ 1.3) Are there any public archives for the sunmanagers list? Sunmanagers' official archive is accessible at http://www.sunmanagers.org All postings are automatically archived. It is our policy not to accommodate requests to modify the archives, so if you are uncomfortable with your submissions in their entirety being public, do not submit them. Also, various members also keep their own archives on their own initiative. Some of these are public. Here are some we know about: http://aa11.cjb.net/sun_managers/index.htm Hank Leininger maintains a searchable archive site of messages (both questions and summaries) in Florida. It can be accessed at: http://marc.theaimsgroup.com/?l=sun-managers Dataman Benelux in the Netherlands hosts a "fuzzy" full-text index of the Sun Managers mailing list at: http://www.dataman.nl/cgi-bin/sunmanagers Manfred Liebchen maintains an archive site in Germany. It can be accessed at: http://www.uni-koeln.de/RRZK/Abt-Systeme/sun/infos/SUN-MANAGERS/sunman .html Older summaries (up to mid-1999) are available at http://www.latech.edu/sunman.html _________________________________________________________________ 1.4) What should I keep in mind when posting to sunmanagers? * VERY IMPORTANT! Before you post, read the sunmanager's list policy, which is available at http://www.sunmanagers.org * Sun Managers is a huge unmoderated mailing list. Every message you send will be passed on to every member of the list. This means you have access to a much larger audience when you need help, but it also means you can embarrass yourself in front of a huge number of people, most of them professionals in your field, including colleagues, peers, and possible future employers. Further, your posting will be archived in various places, some public, some private -- we have no way of knowing all the archive locations. Some of these archives, including the official one at http://www.sunmanagers.org, are web-searchable. It is our policy not to accommodate requests to remove or modify postings as archived on http://www.sunmanagers.org. Once you submit your message, it will be irretrievably accessible to a large number of people. There is no "taking it back". * Sun Managers is completely voluntary. Nobody is required to help you. We are all cooperating by sharing our knowledge. Accept with grace whatever responses you get, and don't hound people if they are helpful or they won't be the next time. * Sun Managers is not the list to use when you run out of other places to post. Job postings, PC questions, X questions all have their own lists and newsgroups. Use only the appropriate list or newsgroup for such things, not Sun Managers. Inappropriate postings will only make people annoyed at you. * The more information you give about a problem, the easier it is for others to help you. This doesn't mean you should uuencode the kernel and post it, but you should include your OS version, your hardware, and all relevant symptoms of your problem. Unless the request is of a general nature, the output of "uname -a" is almost certainly helpful. * When making a summary, please summarize as much as possible all the answers you received, even the ones you didn't decide to follow: if you receive several different suggestions, and decided on one, remember that somebody else reading the summary may not find the suggestion you followed to be the best one in his or her situation, and may benefit from one of the suggestions you didn't choose. * Be generous. If you have the information requested (especially if it is obscure) then please respond. You may be the person requesting help next time. _________________________________________________________________ 1.5) What other forums are there for Suns? Other forums that relate to Suns: USENET Newsgroups (accessible via "rn", "readnews", "nn", netscape, etc.): There is an entire USENET hierarchy devoted to Sun equipment. Some of these groups include: * comp.sys.sun.admin - Sun system administration * comp.sys.sun.announce - Announcements pertaining to Sun equipment * comp.sys.sun.apps - Applications that run on Suns * comp.sys.sun.hardware - Sun hardware (and clones too, I think) * comp.sys.sun.misc - Miscellaneous * comp.sys.sun.wanted - Sun stuff to buy or sell Other newsgroups that may also be of interest: * comp.unix.solaris - Solaris on all platforms * alt.sys.sun - may not be available everywhere * comp.sys.sun - newsgroup equivalent of sun-spots * comp.sources.sun - Sun-specific sources (not very active) Mailing lists: Sun Flash (Sun Product Announcements/news releases) sunflash-request at sunvice.East.Sun.COM - add/remove requests SunHelp (Discussion/help/chat about Sun machines and Software) http://www.sunhelp.org/mailman/listinfo/sunhelp Rescue (Rescuing old Sun equipment from the dump) http://www.sunhelp.org/mailman/listinfo/rescue Sunergy (Sun Commercial Newsletter) sunergy_information at Sun.COM - add/remove requests Suns-at-home (Home use of Sun Workstations) Suns-at-Home-Request at net-kitchen.com - add/remove requests Suns-at-Home at net-kitchen.com - submissions Suns-at-Home-Archives at net-kitchen.com - archive requests ssa-managers (Sun RAID software and hardware products) majordomo at eng.auburn.edu - add/remove requests (e.g. send "subscribe ssa-managers" in message body) veritas-users (Veritas products) http://mailman.eng.auburn.edu/mailman/listinfo CIAC notes (US. DOE Computer Incident Advisory Capability) ciac-listproc at llnl.gov - add/remove requests listmanager at cheetah.llnl.gov - human list manager CERT Advisory mailing list (security notifications for Suns and others) cert-advisory-request at cert.org - add/remove requests Solaris on Intel-based (x86) machines http://groups.yahoo.com/group/solarisx86/ Old list archives at: http://www.egroups.com/list/solarisonintel/ Auspex: managers of Auspex NFS file servers auspex-request at princeton.edu - add/remove requests auspex at princeton.edu - submissions Solbourne: managers of Solbourne SPARC systems "info-solbourne" list majordomo at acsu.buffalo.edu - add/remove requests info-solbourne at acsu.buffalo.edu - submissions ftp://ftp.acsu.buffalo.edu/pub/misc/info-solbourne.tar.z archives disksuite-l: for users who use Sun's Solstice Disksuite software majordomo at lists.veritel.com.br - add/remove requests sysadm at veritel.com.br - list owner Linuxmanagers: for users of Linux, including Sun Linux. http://www.linuxmanagers.org NOTE: if you wish to be added to one of the above mailing lists, send mail to the REQUEST address! Do not send add requests to the main address! For Web pages, see the answer to question 2.4. _________________________________________________________________ 1.6) Where are the answers to questions about old Suns and old versions of Solaris? Those questions and answers used to be in this FAQ, but since they're no longer frequently asked, they've been moved elsewhere. The FAQ as of late 2005 contained information about pre-UltraSPARC suns and versions of Solaris before Solaris 8, and is available at ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq-2005. The FAQ as of late 2000 contained information about pre-SPARC suns, early SPARCstations, and SunOS 4.x, and is available at ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq-2000. _________________________________________________________________ 1.7) What fields can I use to filter Sun Managers email? The following headers will exist in any mail to the list: To: sunmanagers at sunmanagers.org List-Help: List-Post: List-Subscribe: , List-Id: The Sun Managers Mailing List List-Unsubscribe: , List-Archive: _________________________________________________________________ 2. Getting Help Over the Net _________________________________________________________________ 2.1) How do I find out what patches are available from Sun? If you have a software service agreement with Sun, you can use Sun's "SunSolve ONLINE" service to obtain patches. Check your service agreement for details. Many anonymous ftp sites have partial collections of patches. WARNING: if you ftp patches from an ftp site, you are trusting whomever put them there. To be absolutely safe, get your patches from a trusted source. Rik Harris maintains a WAIS archive (sun-fixes.src) of most available patch READMEs. The Sun User Group (SUG) CD ROM also has a collection of Sun patches. _________________________________________________________________ 2.2) * How do I get help migrating to Solaris? Start by reading the Solaris FAQ, maintained and posted periodically to comp.unix.solaris by Casper Dik . It can be obtained at http://www.science.uva.nl/pub/solaris/solaris2 Then go to the Solaris Security FAQ, maintained by John Pancharian and hosted by IT World at http://www.itworld.com/Comp/2377/security-faq/ Sun has a programme for developers/companies to migrate to Solaris. It's documented at http://advantage.sun.com/partners/10moves/. _________________________________________________________________ 2.3) How do I access Sun's documentation over the net? Sun has a web site devoted to documentation, at http://docs.sun.com _________________________________________________________________ 2.4) To which web sites can I go for help? This is not a complete list, but: First, see the answer to question 2.2. Sun's documentation is available at http://docs.sun.com You can search the Sun newsgroups at http://www.dejanews.com Sun-Managers Archives are described in the answer to question 1.3 above. Some sites suggested by Jeffrey Meltzer are: * SolarisGuide - http://www.solarisguide.com * SunHelp - http://www.sunhelp.org * SolarisCentral - http://www.solariscentral.org * SunGuru - http://www.sunguru.com * SunFreeware - http://www.sunfreeware.com TechTarget has a search engine at http://searchenterpriselinux.techtarget.com that also covers Solaris. Eric De Mund suggests the BigAdmin site run by Sun, at http://www.sun.com/bigadmin Alan Pae suggests Sun Country, at http://www.ilkda.com _________________________________________________________________ 3. Network Directory and Files Services _________________________________________________________________ 3.1) How do I use DNS for hostname resolution? In Solaris 2.x, this is easy: simply edit /etc/nsswitch.conf and put "dns" before (or instead of) nis or nisplus on the line that begins with "hosts:". For example, to look up hostnames first in the host file and then in the DNS, use "hosts: files dns" _________________________________________________________________ 3.2) How do I change NIS+ credentials for the root master server? If an NIS+ system is functioning correctly and only the root password and root private keys for the system need to be changed, follow these steps: 1) Login as root for the system and change the root password in the /etc/shadow file: {root}3% passwd passwd: Changing password for root New password: Re-enter new password: {root}4% 2) Change the system's private key in the cred table: {root}4% chkey -p Updating nisplus publickey database. Reencrypting key for 'unix.ramayan at bharat.i n'. Please enter the Secure-RPC password for root: Please enter the login password for root: {root}5% 3) If running replica server(s) then wait until the changes to the credential object table has been propagated to its replicas. This could be up to 2 minutes. 4) Change the system's /etc/.rootkey: {root}5% keylogin -r Password: Wrote secret key into /etc/.rootkey {root}6% The procedure above will work for any system -- root server, root replica, non-root servers, and all clients. The steps above change only the system's root password and private keys, not the public keys for the system. Thanks to Ronald W. Henderson . However, if you want to change all the root credentials, including the public key, follow these steps: Use the passwd command on the root master server to change the root password. But DO NOT follow this with a chkey -p to update the credentials for the root master server, because this will disable the entire NIS+ domain. The only way to recover from this is to rebuild the domain from scratch! It is possible to change the credentials of the root master server, but it is not easy. The procedure follows: To change the keys for the root master server do as follows: 1. use these commands in this order: nisupdkeys -CH master.server.name. groups_dir.domain.name. nisupdkeys -CH master.server.name. org_dir.domain.name. nisupdkeys -CH master.server.name. domain.name. (This CLEARS the public key for the HOST "master.server.name" in this directory.) 2. Kill rpc.nisd and restart it at security level O then run this command: nistbladm -R cname=master.server.name. cred.org_dir.domain.name. nisaddcred des 3. Shutdown and restart any replicas of org_dir.domain.name. at run level O nisping org_dir.domain.name. nisdupdkeys domain.name. nisupddkeys org_dir.domain.name. nisupdkeys groups_dir.domain.name. 4. Kill and restart all rpc.nisd servers at level O to security level 2. Note that changing a server's key affects all directory objects containing the key. Thanks to Rogerio Rocha and Sun INFODOC ID 2213 for this information. _________________________________________________________________ 3.3) When I compile something, errors occur saying _dlopen and other _dl routines can't be found. Why? You are probably trying to compile something statically. You must either include stub routines for the _dl routines, or you must link the C library (or -ldl) dynamically. The source code below provides do-nothing stubs for the routines in question. /* libdl stubs -- John DiMarco */ char *dgettext(domainname, msgid) char *domainname; char *msgid; { return(msgid); } void *dlopen(pathname, mode) char *pathname; int mode; { return((void *)NULL); } void *dlsym(handle, name) void *handle; char *name; { return((void *)NULL); } char *dlerror() { return(NULL); } int dlclose(handle) void *handle; { return(0); } _________________________________________________________________ 4. Window Systems _________________________________________________________________ 4.1) + What Window system GUIs are supported by Sun? Sun's default window system for Solaris is CDE; Gnome is also supported. Sun's Java Desktop System and the Sunray software for Linux uses Gnome. _________________________________________________________________ 5. Disks, Tapes and SCSI _________________________________________________________________ 5.1) * What sector/head/cylinders parameters should be used for a hard disk? The format program can almost always figure this out on its own by querying the drive, but if you wish, you can specify your own in /etc/format.dat. A format.dat file containing entries submitted by various people is available for anonymous ftp at ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/format.dat It is currently maintained by John DiMarco (jdd at cs.toronto.edu). New entries are welcome; mail them to sunmanagers-format at sunmanagers.org For SCSI disks on modern suns, a format.dat entry can be auto-generated using John DiMarco's scsiinfo program, available at ftp://ftp.cs.toronto.edu/pub/jdd/scsiinfo/. It will query the disk directly, and has an option to generate an appropriate format.dat entry. Finally, you can compute your own entry. For SCSI disks, any combination of cylinders, heads, and sectors that does not add up to more than the rated formatted capacity of the drive will normally work. A grossly different geometry may result in some slight performance degradation, but it should still work. The SCSI protocol hides most of the drive details from the host, and hence the host need not know much about the drive to format or use it. _________________________________________________________________ 5.2) * Can I replace an internal drive in a Sun with a higher capacity model? Yes, usually. If you purchase it from someone other than Sun, it is wisest to make sure that it is either a model of drive that is supported by Sun for that machine, or that it at least does not dissipate more heat than the hottest of the drives supported by Sun. The Sun Systems Handbook lists various drives supported on various models; you can query it on the web for modern Suns at http://sunsolve.sun.com/handbook_pub/Systems. For systems which are not maximally configured (e.g. there are empty internal drive bays), it might be safe to exceed this limit a bit, but caveat emptor. Disk drive heat dissipation/power figures are available on the drive's datasheet, available on the drive vendor's web site. The most relevant figure is the wattage indicated for "Read/Write" or "Seek". Unfortunately, different vendors report this in different ways; read the vendor's documentation to see what this figure indicates. This figure is sometimes indicated in amps at 5V and 12V; convert to watts by multiplying the voltage by the amperage in each case, and adding the two together. _________________________________________________________________ 5.3) Is it okay to disconnect or connect SCSI devices while powered on? On older machines (without onboard SCSI controllers), it is never a good idea to do this. You risk blowing a fuse on the CPU board, or part of the SCSI hardware. On newer machines (sparcstations and later), many people have done this regularly without problems. Halt the machine (sync;L1-A), remove or add the device, then continue. However, it is possible to blow the SCSI termination power fuse on the motherboard. If your machine hangs immediately on powerup unless the SCSI bus is externally terminated, this fuse may need to be replaced. Caveat Emptor. _________________________________________________________________ 5.4) How do I configure my sun to use Exabyte 4mm DAT tape drives? Add the following to /kernel/drv/st.conf: tape-config-list = "EXABYTE EXB-4200", "Exabyte 4mm EXB-4200", "EXBT-4200", "EXABYTE EXB-4200c", "Exabyte 4mm EXB-4200c", "EXBT-4200c" EXBT-4200 = 1,0x34,1024,0x0029,4,0x63,0,0,0,3; EXBT-4200c = 1,0x34,1024,0x0029,4,0x63,0,0x13,0,3; Exabyte also recommends that their 4mm tape drives have firmware revision levels of at least the following when used on suns: * EXB-4200 No restriction, but revision 148 or higher is recommended * EXB-4200c Level 149 minimum (mode select for compression) Thanks to Dave Hightower . _________________________________________________________________ 5.5) Why is tagged queueing a problem on my third-party disk? Tagged Command Queueing (TCQ) is an optional part of the SCSI-2 specification. It permits a drive to accept multiple I/O requests for execution later. These requests are "tagged" by a reusable id so that the drive and the OS can keep track of them. The drive can reorder these requests to optimize seeks. For more details, see the SCSI-2 specifications. A draft version is available at ftp://ftp.cs.toronto.edu/pub/jdd/scsi-doc/scsi2.10b.gz SunOS 4.x and earlier never uses tagged queueing. However, Solaris 2.x will make use of tagged queuing if the drive claims to support it. Unfortunately, some drive manufacturers have found it hard to design their drives to do tagged queueing properly, and this particular area has been a common source of bugs in drive firmware. If it is not possible to turn off tagged queueing in the drive that is causing the problem, Solaris 2.x can be told not to use tagged queueing at all, by putting the following line in /etc/system: set scsi_options & ~0x80 The "scsi_options" kernel variable contains a number of bit flags which are defined in /usr/include/sys/scsi/conf/autoconf.h. 0x80 corresponds to tagged queueing. However, this turns off tagged queueing for the entire machine, not just the problematic drive. Because tagged queueing can provide a significant performance enhancement for busy drives, this may not always be desirable. In Solaris 2.4 and later, it is possible to disable tagged queueing and set or clear other scsi options on a per-controller or per-drive basis. The appropriate technique is described in the esp(7) and isp(7) man pages. _________________________________________________________________ 5.6) Why don't third-party CD-ROMS work on my sun? When Sun first decided to add CD-ROM support, there were already a great number of systems in the field, all of which contained boot proms that expected to boot from disks with 512 byte sectors. Sun had to decide between replacing a whole lot of boot proms or finding a way to make a CDROM act like a disk with 512 byte sectors in order to support it as a boot device. They chose the latter approach. Many third party CD-ROM drives use 1024 or 2048-byte sectors, which causes the SCSI driver to see a "data overrun". When the driver asks for N "blocks" (which it thinks are 512 bytes each ) it gets more data back than it expected. Some CD-ROM drives can be told to use 512 byte sectors by setting a jumper, cutting a trace, or using a software command (mode select). Details vary widely, but if you are seeing a data overrun on a third party CD-ROM, then it is most likely doing 1K or 2K transfers and will need some work to be a boot device for a Sun. Thanks to Kevin Sheehan For more information about third-party CD-ROMS on Suns, consult the CD-ROM FAQ, maintained by Mike Frisch and Martin Hargreaves . It can be found on the World Wide Web at ""http://saturn.tlug.org/suncdfaq". A UK mirror is available at ""http://www.datamodl.demon.co.uk/suncd/". _________________________________________________________________ 5.7) What size and density parameters should I use for ufsdump with a high-capacity tape drive? The only purpose of the ufsdump size and density parameters is to let dump calculate the capacity of each tape and then decide for itself when it needs a new tape. If the filesystem you are dumping is larger than the tape, you will need to use more than one tape. But ufsdump can detect the end of media for all modern tape drives, and will automatically prompt for new tapes when needed, so as long as the size and density parameters indicate a tape as long as or longer than the one you're using, ufsdump will behave properly. Thanks to Niall O Broin _________________________________________________________________ 5.8) My floppy/cdrom device says "device busy". What do I do? The Volume Manager (vold) is probably holding the device open. You can access a floppy through the volume manager by typing "volcheck" and looking in /floppy/*. CD-ROMs don't require volcheck; just insert one and the volume manager should automatically notice, and mount it under /cdrom/*. Unmount by typing "eject floppy" or "eject cdrom", respectively. The Volume Manager can be configured by editing /etc/vold.conf. If you need to access a floppy or CD-ROM special device, however, you may need to turn off the volume manager. As root, type "/etc/init.d/volmgt stop". To turn it back on, type "/etc/init.d/volmgt start". _________________________________________________________________ 5.9) What software is available for CD-R/CD-RW? Commercial Software: GEAR by Elektoson - http://www.elektroson.com/ Young Minds - http://www.ymi.com/ - High-end integrated hardware/software solution Creative Digital Research - http://www.cdr1.com/ Joerg Schilling has developed an excellent cd recording package called cdrecord. This package should meet most needs. See http://www.fokus.gmd.de/research/cc/glone /employees/joerg.schilling/private/cdrecord.html for much more information, including supported hardware. Andy McFadden has an excellent CD-Recordable FAQ at: http://www.cdrfaq.org Thanks to Mark Belanger _________________________________________________________________ 5.10) Where is my disk space? The "du" and "df" commands disagree. If a process is holding open a file, and that file is removed, the space belonging to the file is not freed until the process either exits or closes the file. This space is counted by "df" but not by "du". This often happens in /var/log or /var/adm when a long-running process (e.g. syslog) is holding open a file. In the case of syslog, send it a HUP (e.g. kill -HUP ). You can use LSOF (ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof) to find which processes are holding open a particular file. Thanks to Stefan Voss and Michael R. Zika Under Solaris 2.6 and later, files which have been unlinked can still be accessed through the /proc interface. If a process is holding open such a file for writing, but it's inconvenient or impractical to kill the process or get it to close the file, you can free up the disk space by truncating (not removing) the file from under /proc; e.g., # cd /proc/1234/fd # ls -l c--------- 1 root 24, 12 Jan 1 11:33 0 c--------- 1 root 24, 12 Jan 1 11:33 1 c--------- 1 root 24, 12 Jan 1 11:33 2 --w------- 1 root 314159265 Jan 1 11:37 3 # : > 3 # ls -l c--------- 1 root 24, 12 Jan 1 11:33 0 c--------- 1 root 24, 12 Jan 1 11:33 1 c--------- 1 root 24, 12 Jan 1 11:33 2 --w------- 1 root 0 Jan 1 11:38 3 Thanks to Dan Astoorian Brian Poole writes: Another possible cause of df & du disagreeing is if the files are being 'hidden' under a mount. I ran into this recently where I had a large number of files in /tmp (from adding patches in single user mode) that were on the root partition. Thus when I was looking for them in multiuser mode, I couldn't find them because of the tmpfs overlay. I exported the root partition via NFS and upon mounting it found the hidden files and deleted them. _________________________________________________________________ 6. Resource Management and Performance Tuning _________________________________________________________________ 6.1) How do I tell what caused my machine to crash? The crash messages will usually be displayed on the console, and are usually logged to /var/adm/messages via syslog as well after a warm reboot. In older versions of Solaris, the "dmesg" command may also show crash messages. If your system repeatedly crashes with similar looking errors, try searching through the patch list on the Sun patch database for a description that matches your machine. In versions of Solaris 2 up to and including Solaris 2.6, uncomment the "savecore" line in the file /etc/init.d/sysetup to enable crash dumps. As of Solaris 7 and later, crash dumps are enabled by default; see the manual page for dumpadm(1M) for information on how to customize system dump configuration. To report a crash dump, you need a symbolic traceback for it to be useful to the person looking at it. Type the following: cd /var/crash/`hostname` echo '$c' | adb -k unix.0 vmcore.0 The "crash" utility can be useful for analyzing crash dumps for Solaris up to and including Solaris 8. "Crash" has been superseded by "mdb" (modular debugger) as of Solaris 8. Thanks to Dan Astoorian _________________________________________________________________ 6.2) What can I do if my machine slows to a crawl or just hangs? Try running "ps" to look for large numbers of the duplicate programs or processes with a huge size field. Some system daemons occasionally can get into a state where they fork repeatedly and eventually swamp the system. Killing off the child processes doesn't do any good, so you have to find the "master" process. It will usually have the lowest pid. Another useful approach is to run vmstat to pin down what resource(s) your machine is running out of. You can tell vmstat to give ongoing reports by specifying a report interval as its first argument. The programs "top" and "sps" are good for finding processes that are loading your system. "Top" will give you the processes that are consuming the most cpu time. "Sps" is a better version of "ps" that runs much faster and displays processes in an intuitive manner. Top is available at ftp://ftp.groupsys.com/pub/top/. Sps is available at ftp://ftp.csv.warwick.ac.uk/pub/solaris2/sps-sol2.tar.gz. Doug Hughes has written a small, quick PS workalike called "qps", available from his web page at http://www.eng.auburn.edu/users/doug/second.html Sometimes you run out of memory and you won't be able to run enough commands to even find out what is wrong. You will get messages of the type "out of memory" or "no more processes". Note that "out of memory" refers to virtual memory, not physical memory. On a Solaris system, virtual memory is generally equal to the sum of the swap space and the amount of physical memory (less a roughly constant amount for the kernel) on the machine. The command "swap -s" will tell you how much virtual memory is available. You can sync the disks to minimize filesystem corruption if you have to crash the system: Use the L1-A sequence to crash the system. If you are on an older system, type "g0" and you will get the message "panic: ... syncing file systems". When you see the word "done", hit L1-A again and reboot. On systems with the "new" prom, type "n" to get into the new command mode and type "sync". _________________________________________________________________ 6.3) How do I find out how much physical memory a machine has? Use /usr/sbin/prtconf if the machine is running Solaris. If it's a sun4u running Solaris 8 or previous, /usr/platform/sun4u/sbin/prtdiag is very helpful. It's /usr/sbin/prtdiag in Solaris 9 and later. On high-end machines, /usr/sbin/cfgadm -al can also provide memory information. The banner message on reboot (or type "banner" in the monitor on machines with Openboot proms) will usually report the amount of physical memory. Alternatively, you can open up the case and count SIMMS and/or memory boards. A perl script "memconf" is also available that identifies the sizes and locations of SIMM/DIMM memory modules installed in a Sun system. It also works on several SPARC clones and with Sun Explorer data. It is maintained by Tom Schmidt . Download memconf from http://www.4schmidts.com/unix.html _________________________________________________________________ 6.4) How do I find out what my machine's memory is being used for? How can I tell if I need more memory? To discover how much virtual memory (i.e. swap) is free, run "swap -s" or "vmstat". If you're using tmpfs for /tmp, "df /tmp" will also work. Discovering how physical memory is being used can be more difficult, however. Memory pages that are not being used by processes are used as a sort of extended cache, storing pages of memory-mapped files for possible later use. The kernel keeps only a small set of pages free for short-term use, and frees up more on demand. Hence the free memory reported by vmstat is not an accurate reflection, for example, of the amount of memory available for user processes. An easy way to determine whether or not your machine needs more memory is to run vmstat and examine the po (page out) column and the sr (scan rate) column. If these columns consistently show large numbers, this suggests that your machine does not have enough memory to support its current workload, and frequently needs to write pages belonging to active processes to disk in order to free up enough memory to run the current job. _________________________________________________________________ 6.5) Why do some files take up more disk space after being copied? Why are the sizes reported by ls -l and du different? Some files -- core files being one common example -- contain "holes", areas which were seeked over without being written. These files are called "sparse". When read back, these areas appear to contain zeros; however they do not occupy disk space. The "length" of such a file (as reported by "ls -l") will exceed its "size" (as reported by "ls -s" and reflected in the results of du or df). cp, cpio, and tar do not detect holes; they read and copy the zeros, and the resulting files will contain all-zero blocks (which occupy space) where the input files contained holes (which do not). dump will detect holes in the dumped files, and restore will reproduce them. Thanks to Perry Hutchison GNU tar has an "-S" option which preserves holes, and Joerg Schilling's "star" has "-sparse" and "-force_hole" options which can be used to preserve and re-insert holes, respectively. star is available for download at ftp://ftp.fokus.gmd.de/pub/unix/star _________________________________________________________________ 7. HTTP and Anonymous FTP _________________________________________________________________ 7.1) * How do I set up anonymous ftp on my machine? See the ftpd man page, and follow its instructions. You will also need to set up nsswitch.conf in etc. However, you should consider using a different ftpd, such as http://www.wu-ftpd.org. Solaris "pkg" versions of proftpd and wuftpd are available at: http://metalab.unc.edu/pub/packages/solaris/sparc/ ftp://ftp.adelaide.edu.au/pub/4.3/ftpd-sirius.tar.Z The stock Sun ftpd will log some information if you add the "-l" flag in /etc/inetd.conf: ftp stream tcp nowait root /usr/etc/in.ftpd in.ftpd -l Warning: it will log passwords of ordinary users. Also enable syslogd by adding: daemon.info /var/adm/syslog to "/etc/syslog.conf". _________________________________________________________________ 7.2) + Where can I get a Web server for Solaris? The open-source Apache web server and related tools are available on the Solaris Software Companion CD, which is part of the media kit for the Solaris distribution. The contents of this CD are also available for free download at http://www.sun.com/software/solaris/freeware. Apache binaries can also be retrieved from the following sites and many others: * http://www.sun.com/software/solaris/freeware * ftp://metalab.unc.edu/pub/packages/solaris/sparc/ * http://www.gnu.org/order/ftp.html * http://sunfreeware.com The Sun Java System Web server is available for download from Sun at http://www.sun.com/software/products/web_srvr/home_web_srvr.xml; the Sun Java System Application Server is available for purchase from Sun at http://www.sun.com/software/products/appsrvr. _________________________________________________________________ 8. Consoles, Keyboards and Key Remapping _________________________________________________________________ 8.1) How do I make the numeric keypad on a sun keyboard work with xterm? You need to patch the /usr/lib/X11/app-defaults/XTerm and $OPENWINHOME/lib/app-defaults/XTerm files as described in sun patch 100713-01 or later. Thanks to Margarita Suarez _________________________________________________________________ 8.2) How do I swap the CAPS LOCK and CONTROL keys on a sun keyboard? There are two ways to do it, one with xmodmap (for X11 only), and the other using keytables. Margarita Suarez suggests editing $OPENWINHOME/etc/keytables/US5.kt. There are two places where keys 119 (CapsLock) and 76 (Control) should be swapped: the MODMAP section and the KEYSYMMAP section. The latter is most important, because that's where the "Pseudo-Lock" function (which controls the locking behaviour of the key) is defined. Doug Hughes suggests using xmodmap with the following: remove Lock = Caps_Lock remove Control = Control_L keysym Control_L = Caps_Lock keysym Caps_Lock = Control_L add Lock = Caps_Lock add Control = Control_L In X11, you can change your keyboard layout as you please using the xkeycaps application, which allows you to edit and remap your keyboard on the fly, as well as save configurations to be sourced by xmodmap. xkeycaps is available from http://www.jwz.org/xkeycaps/ and in the contrib section of your friendly X11 source archive. Thanks to Dan Pritts for the info on xkeycaps. _________________________________________________________________ 8.3) How do I use a Windows PC for a Sun serial console? Wire up a serial cable from the Sun's serial cable to one of the PC serial ports. PC serial ports are usually (but not always) DB9 (9-pin), while Sun serial console ports are usually (but not always) 25-pin (DB25). You generally need to connect them through a "null modem adapter". For more information on serial ports, see Sunhelp's UNIX serial port resources page, at http://www.sunhelp.org/unix-serial-port-resources The next problem is that the version of Hyperterminal which comes with some versions of Windows cannot generate a BREAK signal. You can obtain a new version of Hyperterminal from http://www.hilgraeve.com/htpe/index.html There are many free alternative terminal programs. Special mention should be made of TeraTerm: http://hp.vector.co.jp/authors/VA002416/teraterm.html which has been updated with SSH support as Teraterm Pro, which is available from http://www.ayera.com/teraterm For newer suns which support ALOM, a serial or telnet connection to the ALOM is generally preferable. A pinout of the serial RJ-45 ALOM connector can be found in Sun's "Sun Advanced Lights Out Manager (ALOM) 1.6 Administration Guide". Thanks to Harvey Wamboldt _________________________________________________________________ 9. Sun models and OS Versions _________________________________________________________________ 9.1) * Which Sun models run which versions of SunOS? SunOS 5.x = Solaris 2.x Sun dropped the "2." when Solaris (2.)7 came out. i.e. Solaris 7 = "Solaris 2.7" = SunOS 5.7, Solaris 8 = "Solaris 2.8" = SunOS 5.8 and so on. In the following list, the specified OS is the earliest supported on the specified hardware. Some CPU modules may require later OS versions than listed. * Ultra 1 model 140, 170: Solaris 2.5 * Ultra 1 model 140E, 170E, 200E: Solaris 2.5.1 * Ultra 2: Solaris 2.5.1 * Ultra 5,10,30,60,250,450: Solaris 2.5.1HW1297 or Solaris 2.6HW0398 * Ultra Enterprise: Solaris 2.5.1 * SunBlade 100, SunBlade 1000: Solaris 8HW1000 * SunBlade 150: Solaris 8 5/03; Solaris 9 4/03 * 3800, 4800, 4810, 6800: Solaris 8HW0401 * B100s: Solaris 8 12/02, Solaris 9 4/03 * V100: Solaris 8 2/02 * V120: Solaris 8 10/01 * V210, V240: Solaris 8 12/02, Solaris 9 4/04 * V250: Solaris 8 7/03, Solaris 9 8/03 * 280R: Solaris 8 2/02, Solaris 9 12/02 * V440: Solaris 8 7/03, Solaris 9 12/03 * V490,V890: Solaris 8 2/04, Solaris 9 4/04, Solaris 10 3/05 * V880: Solaris 8 10/01, Solaris 9 4/03 * E2900,E4900,E6900: Solaris 8 2/04, Solaris 9 4/04, Solaris 10 3/05 * B200x, v20z, v40z: Solaris 9 x86 4/04 * v20z,v40z single-core: Solaris 10 x86, Solaris 9 HW 4/05 x86 * v20z,v40z dual-core: Solaris 10 x86, Solaris 9 HW 9/05 x86 * X2100: Solaris 10 x86 * X4100,4200: Solaris 10 x86 3/05HW1 * T1000: Solaris 10 1/06 * T2000: Solaris 10 3/05HW2 9.2) How can my program tell what model Sun it is running on? On older suns, the model type is encoded in the hostid, and /usr/sbin/prtconf will reveal the model type. "Suntype", written by John DiMarco (jdd at cs.toronto.edu) is a shell script which does the appropriate thing on all suns. It is available for anonymous ftp at ftp://ftp.cs.toronto.edu/pub/jdd/suntype Alternatively, grab Michael Cooper's "sysinfo" program, which provides all sorts of information about a given system, including the machine type. sysinfo is available on the web at http://www.magnicomp.com/, although it is now a commercial product that is free only for educational and non-profit organizations. _________________________________________________________________ 9.3) How do I find out a Sun's boot prom revision? Type "banner" at the prom, or type "/usr/sbin/prtconf -V" to determine the prom revision of a particular machine. Alternatively, grab Michael Cooper's "sysinfo" program, which provides all sorts of information about a given system, including the prom revision. sysinfo is available on the web at http://www.magnicomp.com, although it is now a commercial product that is free only for educational and non-profit organizations. _________________________________________________________________ 9.4) * Which hardware/software is capable of 64-bit? Which is only 64-bit? How can I tell which is running? All UltraSPARC and SPARC64 (Primepower) hardware is capable of running in 64-bit mode; earlier SPARCs (HyperSPARC, SuperSPARC, etc.) are 32-bit only. Only some UltraSPARC-I, UltraSPARC-II, and UltraSPARC-II-i systems are capable of both 32-bit and 64-bit operation; later UltraSPARC systems are 64-bit only. Early UltraSPARC-I hardware (up to 200MHz) suffers from a bug where, in 64-bit mode, a certain code sequence can cause the processor to stall, and thus UltraSPARC-I machines run in 32-bit mode by default. To allow a 64-bit kernel on such a machine, edit/create /platform//boot.conf and add the line: ALLOW_64BIT_KERNEL_ON_UltraSPARC_1_CPU=true All Sun Opteron hardware is capable of both 64-bit and 32-bit operation, but Solaris x86 on some Opteron models (X2100, X4100, X4200) runs in 64-bit mode only. Sun Xeon and Pentium-III hardware are capable only of 32-bit operation. "isainfo -kv" or "isainfo -b" will indicate whether a system is running in 32-bit or 64-bit mode. _________________________________________________________________ 10. Miscellaneous Software _________________________________________________________________ 10.1) My remote ufsdump is failing with a "Protocol botched" message. What do I do? The problem produces output like the following: ... DUMP: Dumping /dev/rsd0a (/) to /dev/nrst8 on host foo DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 8232 blocks (4.02MB) on 0.00 tape(s). DUMP: Protocol to remote tape server botched (in rmtgets). rdump: Lost connection to remote host. DUMP: Bad return code from dump: 1 This occurs when something in .cshrc (or .profile) on the remote machine prints something to stdout or stderr (eg. stty, echo). The remote ufsdump command doesn't expect this, and chokes. Other commands which use the rsh protocol (eg. rdist, rtar) may also be affected. The way to get around this is to add the following line near the beginning of .cshrc, before any command that might send something to stdout or stderr: if ( ! $?prompt ) exit This causes .cshrc to exit when prompt isn't set, which distinguishes between remote commands (eg. rdump, rsh) where these variables are not set, and interactive sessions (eg. rlogin) where they are. _________________________________________________________________ 10.2) * Where can I get a C compiler for Solaris? Sun's "Studio" compiler suite can be obtained at http://www.sun.com/software/products/studio. Various third-party commercial SPARC compilers are also available, including: * http://www.ghs.com * http://www.apogee.com * http://www.windriver.com * http://www.pgroup.com * http://www.intel.com (Solaris x86 only) The open-source GCC compiler and related tools are available on the Solaris Software Companion CD, which is part of the media kit for the Solaris distribution. The contents of this CD are also available for free download at http://www.sun.com/software/solaris/freeware Thanks to Eric Boutilier GCC binaries can be retrieved from the following sites and many others: * http://www.sun.com/software/solaris/freeware * ftp://metalab.unc.edu/pub/packages/solaris/sparc/ * http://www.gnu.org/order/ftp.html * http://sunfreeware.com More information on this topic is available at http://www.kevininscoe.com/geek/sun/compilesun/ Thanks to Kevin Inscoe _________________________________________________________________ 10.3) How do I read Microsoft Word documents on my Sun? You can obtain some of the raw content of the document by using the "strings" command. Note that Word documents (and documents produced by other Microsoft Office programs, like Excel) can sometimes contain hidden information that is not normally accessible from Word, but is visible using "strings" (this can be a good reason not to distribute documents in MS Office formats). It is possible to run some versions of Microsoft Word on your Sun, using Bochs, WABI, SoftWindows, WinCenter, WinDD, SunPC, or some other Windows integration product. You can use a word-processor that can import the various MS Word formats. For example, Word Perfect from Corel Corporation is capable of reading and saving in various MS Word formats. Word Perfect is available for several versions of UNIX, including SPARC/Solaris 2.x. Sun's StarOffice is available for various operating systems, including Solaris/SPARC, from http://www.sun.com/staroffice. OpenOffice is also freely available for Solaris x86 and SPARC from http://www.openoffice.org. From a PC/Mac, you can print postscript output to a file, and view the postscript on the Sun using docviewer or ghostscript/ghostview. Thomas Anders points out that LAOLA (a Perl4 package that can read Word6 and Word7 format is available on the web at http://user.cs.tu-berlin.de/~schwartz/pmh/. Another option (suggested by Thomas ) is a GPL-licensed command-line utility called "antiword". His mutt mailcap file is setup as follows: application/msword; antiword %s; copiousoutput; description="Microsoft Word Tex t"; nametemplate=%s.doc Antiword is available from http://www.winfield.demon.nl. _________________________________________________________________ 10.4) How do I restore to a different location the contents of a tarfile created with absolute pathnames? Tarfiles should not normally be created with absolute pathnames, only with relative pathnames. Do not type "tar c /path/name" to create a tar archive, type "(cd /path; tar c name)" instead. Note: if you do "(cd /path/name; tar c .)", you will indeed avoid absolute pathnames, but beware that the tarfile created may silently overwrite the permissions of the current directory when unpacked. That's OK if you unpack it via: "mkdir name; cd name; tar xf /my/tarfile.tar That's not OK if you unpack it via: "cd /tmp; tar xf /my/tarfile.tar" It's not OK because you will change the permissions of /tmp. If you do have an archive created with absolute pathnames, you can unpack it in a different location by using GNU's version of tar, which will strip off the leading /. Alternatively, you can use pax to strip off the leading /, as follows: pax -r -s '/^\///' and Stephen Kives _________________________________________________________________ 11. Miscellaneous Hardware _________________________________________________________________ 11.1) * How come my mouse occasionally doesn't work? If it is a mechanical mouse, it may need cleaning. Open up the bottom panel by rotating it, and remove the mouse ball. Clean the mouse ball. With a Q-tip, clean off any grime on the rotors inside the mouse. _________________________________________________________________ 11.2) How can I turn my old sun into an X-Terminal? You can simply replace the ttymon entry for the console in /etc/inittab with a command that starts up an X server. _________________________________________________________________ 11.3) * How can I use an SVGA monitor on my Sun? Some older suns use a 13W3 video connector, which looks something like this: ----------------- \ O O ::::: O / ------------- A simple adapter will connect a Sun to a SVGA multi-sync monitor, providing the monitor (like most better monitors these days) will accept composite sync and operate in 1152x900 66 Hz (or whatever output your sun produces) mode. (Check the manufacturer's data sheets, usually on the Web.) Similarly, adapters are available to connect Sun 13W3 monitors to PCs or newer Suns with SVGA connectors. Adapters are available from many vendors: search for 13W3 on Google. This and many other interesting facts about Sun video are answered in the Framebuffer FAQ, at one of: * http://www.uark.edu/sunfaq/FrameBuffer.html * http://bul.eecs.umich.edu/~crowej/sunfaq/FrameBuffer.html A related FAQ by the same person is the Colormap FAQ at one of: * http://www.uark.edu/sunfaq/ColormapFAQ.html * http://bul.eecs.umich.edu/~crowej/sunfaq/ColormapFAQ.html _________________________________________________________________ 11.4) Where can I find alternate pointing devices for my Sun? Bert N. Sure claims that Mousetrak makes an excellent line of pointing devices. The url is "">http://www.mousetrak.com". SunExpress (http://sunexpress.usec.sun.com) and Qualix (http://www.qualix.com) distribute them. Bert uses the top-of-the-line "Evolution" trackball, which has six user-definable buttons and a large ball which is manufactured by a billiard ball company in Belgium. For 3-D input, SunExpress (http://sunexpress.usec.sun.com) sells the SpaceBall 3003, in addition to the standard Sun "SunDials" product. Dan Pritts indicates that one can buy a box from sun called the sun interface converter for $75 that allows you to use a ps/2-style keyboard or pointing device, or both, and still use your sun keyboard or mouse. In particular, the sun interface converter supports the Microsoft "natural keyboard". _________________________________________________________________ 12. Networking _________________________________________________________________ 12.1) Why do both my net interfaces have the same ethernet address? The Ethernet version 2.0 specification (November 1982) states: The physical address of each station is set by network management to a unique value associated with the station, and distinct from the address of any other station on any Ethernet. The setting of the station's physical address by network management allows multiple multiple data link controllers connected to a single station to respond to the same physical address. This doesn't normally constitute a problem because each interface will typically be on a different subnet. If, for some reason, different ethernet addresses are required on different interfaces (for example, to attach two interfaces to the same subnet), a new one may be assigned using the ifconfig command. Alternatively, for all modern Sun hardware, you can set the "local-mac-address?" eeprom variable to "true", which will cause each NIC to use a unique MAC address. This is needed for many failover and trunking configurations. _________________________________________________________________ 12.2) How can I know the hardware vendor from an ethernet address? The first three octets of a six-octet ethernet address typically uniquely identifies the hardware vendor of the particular network interface card. This is called the "Organizationally Unique Identifier" (OUI). OUI information, including the most recent list of public OUIs can be found at http://standards.ieee.org/regauth/oui Note that it is possible that an unidentified OUI could be used, since vendors are not required to make their OUIs public, and many network interfaces, including Suns, can be configured to use a custom ethernet address, so there is no guarantee that the OUI will correctly identify the vendor. _________________________________________________________________ 12.3) * How do I set my ethernet interface to e.g. 100Mb full duplex? The answer to this question assumes you have an hme ethernet interface; similar techniques should work for other ethernet interfaces; consult the man page for the ethernet driver (e.g. if you have an eri driver, "man eri") for more details. If you are not sure which ethernet driver is in use, "ifconfig -a" will tell you. For example, if ifconfig -a shows e.g. "hme0", you have an hme ethernet interface. All of Sun's ethernet network interfaces faster than 10Mbits are capable of negotiating with a network switch; if this is working, the ethernet interface will automatically choose the fastest supported setting. However, this may not necessarily work with some networking gear, or there may be some other reason to choose a slower setting, e.g. cat3 wiring. If the two ends have different ideas about what mode the link is, you may see "late collision" messages, dropped packets, or complete failure. To force a particular mode, e.g. 100Mb FD, you can use ndd as follows: # turn off autonegotiation ndd -set /dev/hme adv_autoneg_cap 0 # turn on 100Mb full-duplex capability ndd -set /dev/hme adv_100fdx_cap 1 # turn off 100Mb half-duplex capability ndd -set /dev/hme adv_100hdx_cap 0 # turn off 10Mb full-duplex capability ndd -set /dev/hme adv_10fdx_cap 0 # turn off 10Mb half-duplex capability ndd -set /dev/hme adv_10hdx_cap 0 You may have to force the other end (e.g. switch) to use the same mode. Consult the manual for your switch. NB: Fast ethernet hubs are always 100Mb half-duplex, and ethernet hubs are always 10Mb half-duplex. If you have more than one hme card in your system, before issuing the above ndd commands, you need to first select the specific hme card you want to set. For example, to select hme2, type: ndd -set /dev/hme instance 2 Subsequent ndd commands to /dev/hme will only apply to hme2. If you want to force all the hme cards on your system to a specific mode at machine boot, you can set hme driver variables in /etc/system. For example, to force all hme cards on the system to use 100Mbit FD, put the following in /etc/system: set hme:hme_adv_autoneg_cap=0 set hme:hme_adv_100fdx_cap=1 set hme:hme_adv_100hdx_cap=0 set hme:hme_adv_10hdx_cap=0 set hme:hme_adv_10fdx_cap=0 _________________________________________________________________ 12.4) How do I find out what process is using a particular port? Ports are held open in the same way as files are, by file handles within the process. In most states, a port will also have a handle into another process on the other side of that connection. If you need to find out which process is holding open a particular port, run lsof (ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof) and grep for the port number. Thanks to Stuart Whitby _________________________________________________________________ 12.5) I have a lot of ports in WAIT states. Why? The state of sockets can be seen with the "netstat -a" command. When a process attempts to close an ESTABLISHED connection, the transition will show a number of WAIT states, depending on which stage of the shutdown the port is at. When the initial FIN is sent from side a) of the connection, side a) will change to FIN_WAIT_1, side b) will change to CLOSE_WAIT, and acknowledge the FIN packet. The acknowledgement causes side a) to change to FIN_WAIT_2. A socket will rarely be in FIN_WAIT_1 for more than a couple of seconds unless there is a problem with communications. In this state, data may still be sent from side b) to side a), but not vice versa. When side b) receives a close from the associated application, or the FIN_WAIT_2_FLUSH_INTERVAL is reached without data being sent, it will send a FIN and change to LAST_ACK. Side a) moves to TIME_WAIT upon receiving this FIN and acknowledges the packet, causing any references to this connection on side b) to disappear. The socket in TIME_WAIT will remain for twice the maximum segment lifetime (normally a total of four minutes) before dropping, in case dropped data packets are resent and misinterpreted by a new application on this port. Thanks to Stuart Whitby _________________________________________________________________ 13. Electronic Mail _________________________________________________________________ 13.1) * Where can I get a POP or IMAP server for my sun? The PINE email package comes with both a POP and an IMAP server. PINE can be found at http://www.washington.edu/imap. An old, unmaintained Berkeley popd can be found at ftp://ftp.cc.berkeley.edu/pub/pop (not recommended), and Casper Dik's enhanced version of this for Solaris is found at ftp://ftp.fwi.uva.nl/pub/solaris/. A POP server can also be found as part of the Eudora ftp repository, at ftp://ftp.qualcomm.com/quest/unix/servers. A faster alternative is the CMU Cyrus IMAP server, which changes the mailbox format to something that is more efficient. It can be found at ftp://ftp.andrew.cmu.edu/pub/cyrus-mail. The Courier IMAP daemon also takes a similar approach; it's available at http://www.courier-mta.org/imap. Finally, Dovecot takes an intermediate approach by using the standard mailbox format but adding some autogenerated index files; Dovecot is available at http://dovecot.org. If a commercial package is desired, there are many, including Sun's Internet Mail Server. See http://www.sun.com _________________________________________________________________ 14. Printing _________________________________________________________________ 14.1) + How do I get started with LP-style printing in Solaris? Printing is configured using the "lpadmin" interface, which is extensively documented. For a general overview, however, start with the basic principles of Solaris printing, documented at http://developers.sun.com/solaris/articles/basicprinting.html, and the Solaris printing FAQ, at http://www.freelab.net/unix/sun/solarisfaq/printfaq.html. More information about printing in Solaris is available at http://www.opensolaris.org/os/community/printing/history. _________________________________________________________________ 14.2) How do I configure a non-postscript printer for postscript? Use the Printer Compatibility Database at http://www.linuxprinting.org (http://www.linuxprinting.org/database.html) to find out if a ghostscript driver is available for your non-PS printer. Then you can use ghostscript to translate postscript to something the printer can understand. There are various "any2ps" scripts and packages around (apsfilter, cups, foomatic, magicfilter). Ghostscript and foomatic are bundled in Solaris 10. Apsfilter in particular is one of the most flexible filters available: the most recent version can be found at http://www.apsfilter.org. For Solaris 2.x or later, you will need to add a BSD-style printing package such as LPRng (http://www.lprng/org): the system-V-style "lp" printing package that comes with Solaris will not easily work with apsfilter. Thanks to Andreas Klemm for this information. A much older version of APSfilter was posted to comp.sources.misc as part of volume 42, and is available from a comp.sources.misc archive site (eg. ftp://ftp.uu.net/usenet/comp.sources.misc/volume42/apsfilter). If you are using Solaris, follow Alexander V. Panasyuk's instructions in http://cfauvcs5.harvard.edu/SetGSprinter4Solaris.html _________________________________________________________________ 15. Misc System Administration _________________________________________________________________ 15.1) I've forgotten the root password; how can I recover? You need to have access to the machine's console. 1. Note the root partition (e.g. /dev/sd0a or /dev/dsk/c0t3d0s0) 2. Hit STOP-A or L1-A (or, on an ASCII terminal or emulator, send a ) to halt the operating system, if it's running. 3. Boot single-user from CD-ROM (boot cdrom -s) or network install/jumpstart server (boot net -s) (NB: if it asks you for a prom password, see below.) 4. Mount the root partition (e.g. /dev/dsk/c0t3d0s0) on "/a". "/a" is an empty mount point that exists at this stage of the installation procedure. (mount /dev/dsk/c0t3d0s0 /a) 5. Set your terminal type so you can use a full-screen editor, e.g. vi. (you can skip this step if you know how to use "ex" or "vi" from open mode). If you're on a sun console, type "TERM=sun; export TERM"; if you're using an ascii terminal (or terminal emulator on a PC) for your console, set TERM to the terminal type (e.g. TERM=vt100; export TERM). 6. Edit the passwd file (/a/etc/passwd for SunOS 4.x, /a/etc/passwd.adjunct for SunOS 4.x with shadow passwords/C2 security), /a/etc/shadow for Solaris 2.x and remove the encrypted password entry for root 7. cd to /; Type "umount /a" 8. reboot as normal in single-user mode ("boot -s"). The root account will not have a password. Give it a new one using the passwd command. Thanks to Stefan Voss PROM passwords: Naturally, you may not want anyone with physical access to the machine to be able to do the above to erase the root password. Suns have a security password mechanism in the PROM which can be set (this is turned off by default). The man page for the eeprom command describes this feature. If security-mode is set to "command", the machine only be booted without the prom password from the default device (i.e. booting from CD-ROM or install server will require the prom password). Changing the root password in this case requires moving the default device (e.g. the boot disk) to a different SCSI target (or equivalent), and replacing it with a similarly bootable device for which the root password is known. If security-mode is set to full, the machine cannot be booted without the prom password, even from the default device; defeating this requires replacing the NVRAM on the motherboard. "Full" security has its drawbacks -- if, during normal operations, the machine is power-cycled (e.g. by a power outage) or halted (e.g. by STOP-A), it cannot reboot without the intervention of someone who knows the prom password. _________________________________________________________________ 15.2) How do I disable/remap STOP-A/L1-A? First, be sure you want to do this. If the problem is that users are halting and rebooting the machine, note that disabling STOP-A will merely prompt them to powercycle the machine (or remove and re-insert the keyboard plug) instead. This is actually worse. But if you're sure you want to do this, compile and run this little program. /* Enable or disable abort sequence. John DiMarco */ #include #include #include #include #ifdef FILENAME_MAX #include #include #else /* !FILENAME_MAX */ #include #include #endif /* !FILENAME_MAX */ #define ERR -1 #define DISABLE 0 #define ENABLE 1 #define KEYBOARD "/dev/kbd" main(argc,argv) int argc; char *argv[]; { static struct kiockey k; int fd, mode=ERR; if(2==argc){ switch(*(argv[1])){ case 'e': mode=ENABLE; break; case 'd': mode=DISABLE; break; } } if(ERR==mode){ printf("Usage: %s [enable|disable]\n", argv[0]); exit(1); } if(0>(fd=open(KEYBOARD, O_RDWR))){ perror(KEYBOARD); exit(1); } k.kio_tablemask = KIOCABORT1; k.kio_station=mode; (void)ioctl(fd, KIOCSETKEY, &k); printf("Abort sequence is now %s.\n", mode?"enabled":"disabled"); } Stefan Voss points out that in Solaris 2.6 or later, you can type "kbd -a enable|disable" or put "KEYBOARD_ABORT=enable|disable" in /etc/default/kbd. As of Solaris 2.6 with patch 105924-10 installed, Solaris 7 with patch 107589-02 installed, or Solaris 8, you can also set the abort sequence to the Alternate Break character sequence (" ~ ", with at least half a second between characters, and at most 5 seconds for the whole string) with the command "kbd -a alternate", or by putting "KEYBOARD_ABORT=alternate" into /etc/default/kbd. Alternatively, you can disable all break signals by putting the line: set abort_enable=0 into /etc/system, and rebooting. Thanks to Dan Astoorian _________________________________________________________________ 15.3) How do I manage services in Solaris 10 and later? Do I still make links in /etc/rc*.d? In Solaris 10 build s10_64 and later, Sun introduced the service management facility (smf) which makes /etc/init.d and /etc/rc?.d scripts "legacy". Management of the services is now done through svc* commands. The legacy init.d scripts are now specified as running in run-level "milestone". From the man pages: * /etc/rcS.d (milestone/single-user:default) * /etc/rc2.d (milestone/multi-user:default) * /etc/rc3.d (milestone/multi-user-server:default) Each service name is now named with a Fault Management Resource Identifier (FMRI) with the scheme "svc:". For example, the sendmail service would have be "svc:/network/smtp:sendmail". You can also abbreviate the FMRI by using the instance name (e.g. sendmail) or using the last parts of the service name like: * sendmail * :sendmail * smtp:sendmail To check all services in the machine, run "svcs -a". From the list, you can enable and disable services through "svcadm". To disable, use "svcadm disable [options] ". For example: svcadm disable svc:/network/smtp:sendmail or svcadm disable sendmail One useful option is "-t", to temporarily disable the service until reboot. To enable, use "svcadm enable [options] ". For example: svcadm enable svc:/network/smtp:sendmail Useful options are "-r" to enable the service including all dependencies, and "-t" to temporarily disable the service until reboot. Dependencies and other information on the service can be invoked via "svcs -l " As an alternative to using "ps" to check service processes, you can now use "svcs -p " to list the processes associated with the service. For further information, check the man pages on smf, svcs, svcadm and svcfg. Thanks to Neil Quiogue From pg at the-wire.com Fri Jan 2 10:26:24 2009 From: pg at the-wire.com (Paul Gotter) Date: Fri, 02 Jan 2009 10:26:24 -0500 Subject: Solaris 10: sar - keeping logs past 10 days Message-ID: <20090102102624.20411rh3pzqtx2xs@webmail.the-wire.com> Hello, I currently have sar enabled on a Solaris 10 server, using the default entries in user sys's crontab. Is there any way to retain more than 10 days of data in /var/adm/saXX? Is there a config file I can edit so that I can retain 30 days worth of sar info? Thanks. Paul From Rob.Brown at ioko.com Sat Jan 3 17:41:17 2009 From: Rob.Brown at ioko.com (Rob Brown) Date: Sat, 3 Jan 2009 22:41:17 -0000 Subject: Static URL for SXCE Message-ID: <69BDA7A26D2FA04C9228F8607181553C09FD4716@intyodc01.uk.ioko365.com> Hi, I want to have a server automatcally built with that latest solaris express edition. Its easy to do if there was a static URL for downloading the current ISO. Does anyone know if there is URL that you could use wget to download it? Rob From sengork at gmail.com Mon Jan 5 02:53:09 2009 From: sengork at gmail.com (Sengor) Date: Mon, 5 Jan 2009 18:53:09 +1100 Subject: WWNNs and WWPNs Message-ID: <8417e52e0901042353x4f84688r5c7ebce780aea0e3@mail.gmail.com> Hi colleagues, Let's assume I've got a single HBA card with 2 fibre ports on it (in this case Emulex card). From what I've understood World Wide Port Names on such a card should be different and World Wide Node Name shold be the same according to the theoretical rules. # luxadm -e dump_map /devices/pci at 15d,600000/SUNW,emlxs at 1/fp at 0,0:devctl Pos Port_ID Hard_Addr Port WWN Node WWN Type ..... 3 1f0027 0 10000000c95d21eb 20000000c95d21eb 0x1f (Unknown Type,Host Bus Adapter) # luxadm -e dump_map /devices/pci at 15d,600000/SUNW,emlxs at 1,1/fp at 0,0:devctl Pos Port_ID Hard_Addr Port WWN Node WWN Type ..... 3 b0055 0 10000000c95d21ec 20000000c95d21ec 0x1f (Unknown Type,Host Bus Adapter) Does anyone know why the WWN Node numbers are different on the physically same card? Is this a Solaris driver issue or the manufacturer has not followed the theoretical standard of WWN Node being the same on each port of the same physical card? -- sengork From kev.smith at rbs.com Mon Jan 5 07:16:44 2009 From: kev.smith at rbs.com (kev.smith at rbs.com) Date: Mon, 5 Jan 2009 12:16:44 +0000 Subject: pro's / con's of multi-terabyte filesystems Message-ID: All, I am looking into the pro's and con's of say a 5tb filesystem for example [for Oracle archive logs] against a bunch of smaller [Say 1TB filesystems] utilizing Solaris 10 and VxVM & VxFS 5 I'd appeciate peoples comments on each solution including whether a large FS is a good idea or not. Thanks in advance Kev Smith ***************************************************************************** ****** The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. Authorised and regulated by the Financial Services Authority This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. The Royal Bank of Scotland plc does not accept responsibility for changes made to this message after it was sent. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by The Royal Bank of Scotland plc in this regard and the recipient should carry out such virus and other checks as it considers appropriate. Visit our websites at: www.rbs.com www.rbs.com/gbm www.rbsgc.com ***************************************************************************** ****** From kev.smith at rbs.com Mon Jan 5 11:03:25 2009 From: kev.smith at rbs.com (kev.smith at rbs.com) Date: Mon, 5 Jan 2009 16:03:25 +0000 Subject: pro's / con's of multi-terabyte filesystems - Summary In-Reply-To: <496225BD.3030309@pitt.edu> References: <496225BD.3030309@pitt.edu> Message-ID: Thanks to George Cebulka, Damir Delija, Rachel Polanskis, Stan Horwitz, Joe Fletcher [ Hello Joe(ex citi) ! ] for their informative responses which included: Comments on ZFS' useability for large filesystems and the use of RAIDz, caveat's for UFS [logging, restoreability ETC]. Various mount caveats for i-node allocation over 1TB etc. Informative Reading : http://groups.google.com/group/comp.unix.solaris/browse_thread/thread/ac5fb46 07ab7677b/488c46f504793e76 >> Given that the exisiting volume is a 1TB EMC/VxVM BCV braid we will be going to a 2TB VXFS Filesystem rather than 2 x 1TB Filesystem's. Kev Smith ***************************************************************************** ****** The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. Authorised and regulated by the Financial Services Authority This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. The Royal Bank of Scotland plc does not accept responsibility for changes made to this message after it was sent. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by The Royal Bank of Scotland plc in this regard and the recipient should carry out such virus and other checks as it considers appropriate. Visit our websites at: www.rbs.com www.rbs.com/gbm www.rbsgc.com ***************************************************************************** ****** From gloomtin at gmail.com Mon Jan 5 16:13:55 2009 From: gloomtin at gmail.com (Tim Longo) Date: Mon, 5 Jan 2009 16:13:55 -0500 Subject: Possible error Message-ID: When I open the front "doors" on my 220R systems, I see that to the right of each disk drive, I see a green light. One 220R system has an orange light. I've checked logs, dmesg, and prtdiag but see no errors. Also, the orange warning light below the green power indicator is *not* illuminated. Any suggestions as to why these two disk indicators might be orange? From Crist.Clark at globalstar.com Mon Jan 5 20:34:06 2009 From: Crist.Clark at globalstar.com (Crist Clark) Date: Mon, 05 Jan 2009 17:34:06 -0800 Subject: ARP Reply is Broadcast on Solaris 10 Message-ID: <4962448B.33E4.0097.0@globalstar.com> Finally getting around to asking about some weird stuff we've seen on our network for ages. We have Solaris systems sending out ARP replies to the Ethernet broadcast address, but having a normal Ethernet unicast address as the hardware target address. Here is an example, ETHER: ----- Ether Header ----- ETHER: ETHER: Packet 3 arrived at 17:07:29.92988 ETHER: Packet size = 42 bytes ETHER: Destination = ff:ff:ff:ff:ff:ff, (broadcast) ETHER: Source = 0:14:4f:b0:ce:8a, ETHER: Ethertype = 0806 (ARP) ETHER: ARP: ----- ARP/RARP Frame ----- ARP: ARP: Hardware type = 1 (Ethernet (10Mb)) ARP: Protocol type = 0800 (IP) ARP: Length of hardware address = 6 bytes ARP: Length of protocol address = 4 bytes ARP: Opcode 2 (ARP Reply) ARP: Sender's hardware address = 0:14:4f:b0:ce:8a ARP: Sender's protocol address = 207.88.152.92, 207.88.152.92 ARP: Target hardware address = 8:0:20:b3:14:e7 ARP: Target protocol address = 207.88.152.55, 207.88.152.55 ARP: (That's "snoop -rv" output.) This is in response to a normal ARP request from the other host. The other host sends another ARP request after the above goes out, and this one then responds normally, ETHER: ----- Ether Header ----- ETHER: ETHER: Packet 4 arrived at 17:07:29.99135 ETHER: Packet size = 42 bytes ETHER: Destination = 8:0:20:b3:14:e7, Sun ETHER: Source = 0:14:4f:b0:ce:8a, ETHER: Ethertype = 0806 (ARP) ETHER: ARP: ----- ARP/RARP Frame ----- ARP: ARP: Hardware type = 1 (Ethernet (10Mb)) ARP: Protocol type = 0800 (IP) ARP: Length of hardware address = 6 bytes ARP: Length of protocol address = 4 bytes ARP: Opcode 2 (ARP Reply) ARP: Sender's hardware address = 0:14:4f:b0:ce:8a ARP: Sender's protocol address = 207.88.152.92, 207.88.152.92 ARP: Target hardware address = 8:0:20:b3:14:e7 ARP: Target protocol address = 207.88.152.55, 207.88.152.55 ARP: The handful of hosts that do this are all Solaris 10. Is this some "feature?" If so, how do I turn it off? Is there a patch for this if it is a bug? My Google and SunSolve-fu are not finding anything on this today. From computing at bookscape.co.uk Tue Jan 6 06:23:59 2009 From: computing at bookscape.co.uk (Computing) Date: Tue, 6 Jan 2009 11:23:59 -0000 Subject: Sun Cluster 3.2.2 Apache HA failure, or cludge? Message-ID: <008f01c96ff1$468b8540$42e0a69d@DELL> 2 related problems on the same Apache cluster: [Problem 1:] clsetup error: ERROR: Failed to get connection to node localhost SunOS netra1 5.10 Generic_127127-11 sun4u sparc SUNW,UltraAX-i2 lo0: flags=2001000848 mtu 8232 index 1 inet 0.0.0.0 netmask ff000000 lo0:1: flags=2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 [Problem 2:] 2 node cluster running Apache 2.0.63 nslookup ApacheOnlyFailoverHostName_1 (answer) 10.10.10.250 eri0:1: flags=1040843 mtu 1500 index 2 inet 10.10.10.250 netmask ffffff00 broadcast 10.10.10.255 clresourcegroup show OnlyCluster-harg Resource Group: OnlyCluster-harg RG_description: RG_mode: Failover RG_state: Unmanaged Failback: False Nodelist: netra3 netra1 [Long description] (An apache failover workaround functions.) Having natively only eri0/1 I have used lo0 as my second private adapter and aliased lo0:1 as 127.0.0.1 but clsetup will not connect to the aliased interface. Scdsbuilder packaged an apache GDS with apachectl stop/start. All works fine on the logicalhostname addressed to 10.10.10.250 fails over perfectly well from node2 to node1. (ie apache failover does work.) But, (and it's a big but,) I believe in truth I only have a failover ipaddress. At each boot sequence: Apache Listen 10.10.10.250 port 80, only works on node1 if I delay /etc/rc3.d/S90apache for three minutes until failover ipaddress 10.10.10.250 is "configured/up/available", else apache dies "could not locate ipaddress" And, apache will only work on node2 if I configure apache Listen *.80 (listen any) Effectively what I've done is configure a failover ip 10.10.10.250 which works perfectly between the two hosts, failing backwards and forwards. But apache, on the other hand must be "workarounded" or "bodged" to fail backwards and forwards, but at the cost of adding cludges to my /etc/rc3.d scripts, (and cludging one httpd.conf to listen any) Ideally I would have liked to add the apache service using clsetup. But it won't add an apache service on my setup. Given this scenario, is there a more elegant way of getting my apache to failover? Or have I done the best possible job given my constraints and circumstances? Andrew From gchien5k at yahoo.com Tue Jan 6 09:10:58 2009 From: gchien5k at yahoo.com (Jim Goh) Date: Tue, 6 Jan 2009 06:10:58 -0800 (PST) Subject: type of on-board system clock for T5120 ? Message-ID: <291063.1951.qm@web52901.mail.re2.yahoo.com> Hi, I have been asked a specific question regarding the T5120 System Clock. What kind of on-board clock does T5120's have? We are just looking to project clock stability. Does any one know the manufacturer part number of the clock? Thanks for your help! From gloomtin at gmail.com Tue Jan 6 09:24:30 2009 From: gloomtin at gmail.com (Tim Longo) Date: Tue, 6 Jan 2009 09:24:30 -0500 Subject: SUMMARY: Re: Possible error Message-ID: Thank you very much to all that replied. Everyone suggested that I run iostat -e. This revealed a small number of soft errors on the second disk in the system (mirrored with svm). I plan to replace that disk and see if the led's turn green. On Mon, Jan 5, 2009 at 4:13 PM, Tim Longo wrote: > > When I open the front "doors" on my 220R systems, I see that to the right > of each disk drive, I see a green light. One 220R system has an orange > light. I've checked logs, dmesg, and prtdiag but see no errors. Also, the > orange warning light below the green power indicator is *not* illuminated. > > Any suggestions as to why these two disk indicators might be orange? From angelommsousa at gmail.com Tue Jan 6 09:19:34 2009 From: angelommsousa at gmail.com (Angelo Sousa) Date: Tue, 6 Jan 2009 14:19:34 +0000 Subject: sar question Message-ID: Hi Gurus, I have to use SAR em my machine with Solaris 8 SunOS Machine_name 5.8 Generic_108528-29 sun4u sparc SUNW,Ultra-5_10 :# sar -u sar: not found :# which sar no sar in /usr/bin /bin /usr/sbin /sbin /usr/local/bin /usr/local/bin But it seems that is not installed by default with operative system ( strange ), I already try to download the package at sunfreeware. How can install/get sar in my system ? Thanks in advance Regards; AS From oussama.babasaci at gmail.com Tue Jan 6 01:54:22 2009 From: oussama.babasaci at gmail.com (oussama baba saci) Date: Tue, 6 Jan 2009 07:54:22 +0100 Subject: Sun Storedge 3510 FC secondary controller failure detected Message-ID: Hi Gurus, We just installed a new SE 3510FC with redundant controllers connected to a Sun Fire V440, the primary controller parameters are as follow: caching parameters Write-back cache enabled optimization for sequential I/O Fiber connection option: loop only We created one logical device RAID 5 stripe size 64k, and two partitions, We mapped each partition to both HBA on the Sun fire server. We installed STMS and configure it for both HBA with auto-failback, and load balancing enabled We mount the partitions on the server. and all worked fine. We tested the storage by copying medium size that worked fine. We did heavy copy (40 GB), an alert is sent: "Redundant Controller failure detected" and the controller LED is amber. your help is appreciated Regards From Crist.Clark at globalstar.com Tue Jan 6 17:46:26 2009 From: Crist.Clark at globalstar.com (Crist Clark) Date: Tue, 06 Jan 2009 14:46:26 -0800 Subject: UPDATE: ARP Reply is Broadcast on Solaris 10 In-Reply-To: <4962448B.33E4.0097.0@globalstar.com> References: <4962448B.33E4.0097.0@globalstar.com> Message-ID: <49636EBE.33E4.0097.0@globalstar.com> I've only had one response, but it's had an interesting outcome. The respondent was kind enough to check to see if he was seeing any of this on his networks, and whaddya know, he's seeing this exact same thing from a variety of Solaris 10 systems, both Sparc and x86. It's not something particular to my environment. Are your servers generating this weird traffic too? Here's a snoop command line that only will catch this strange stuff. Seeing it from anything besides Solaris 10 boxes? See any thing that the machines have in common besides the OS? snoop -vr 'arp and ether[20:2] == 2 and ether dst host ff:ff:ff:ff:ff:ff' I'd like to know if you're seeing this too. On 1/5/2009 at 5:34 PM, "Crist Clark" wrote: > Finally getting around to asking about some weird stuff > we've seen on our network for ages. We have Solaris systems > sending out ARP replies to the Ethernet broadcast address, > but having a normal Ethernet unicast address as the hardware > target address. Here is an example, > > ETHER: ----- Ether Header ----- > ETHER: > ETHER: Packet 3 arrived at 17:07:29.92988 > ETHER: Packet size = 42 bytes > ETHER: Destination = ff:ff:ff:ff:ff:ff, (broadcast) > ETHER: Source = 0:14:4f:b0:ce:8a, > ETHER: Ethertype = 0806 (ARP) > ETHER: > ARP: ----- ARP/RARP Frame ----- > ARP: > ARP: Hardware type = 1 (Ethernet (10Mb)) > ARP: Protocol type = 0800 (IP) > ARP: Length of hardware address = 6 bytes > ARP: Length of protocol address = 4 bytes > ARP: Opcode 2 (ARP Reply) > ARP: Sender's hardware address = 0:14:4f:b0:ce:8a > ARP: Sender's protocol address = 207.88.152.92, 207.88.152.92 > ARP: Target hardware address = 8:0:20:b3:14:e7 > ARP: Target protocol address = 207.88.152.55, 207.88.152.55 > ARP: > > (That's "snoop -rv" output.) This is in response to a normal > ARP request from the other host. The other host sends another > ARP request after the above goes out, and this one then > responds normally, > > ETHER: ----- Ether Header ----- > ETHER: > ETHER: Packet 4 arrived at 17:07:29.99135 > ETHER: Packet size = 42 bytes > ETHER: Destination = 8:0:20:b3:14:e7, Sun > ETHER: Source = 0:14:4f:b0:ce:8a, > ETHER: Ethertype = 0806 (ARP) > ETHER: > ARP: ----- ARP/RARP Frame ----- > ARP: > ARP: Hardware type = 1 (Ethernet (10Mb)) > ARP: Protocol type = 0800 (IP) > ARP: Length of hardware address = 6 bytes > ARP: Length of protocol address = 4 bytes > ARP: Opcode 2 (ARP Reply) > ARP: Sender's hardware address = 0:14:4f:b0:ce:8a > ARP: Sender's protocol address = 207.88.152.92, 207.88.152.92 > ARP: Target hardware address = 8:0:20:b3:14:e7 > ARP: Target protocol address = 207.88.152.55, 207.88.152.55 > ARP: From rumbiles at yahoo.com Wed Jan 7 06:40:09 2009 From: rumbiles at yahoo.com (rumbidzayi gadhula) Date: Wed, 7 Jan 2009 03:40:09 -0800 (PST) Subject: Disk Failure on StorageTek Array Message-ID: <638455.14229.qm@web54401.mail.yahoo.com> Good day I have a StorageTek D173 Array connected to a Sunfire E4800. We use VVM 4.1 to manage the array. One of the hard disks failed (this is a simple concatenation array). One of the disks has failed and we need to remove it (not replace it) without losing any of the data that is currently sitting there. is this possible? If it is how can one achieve this. If not what are the alternatives? I need a walk-through of the procedures as I am not very hands-on with Veritas Volume Management. I will summarise. TIA Rumbi From Ajay.Gupta at fly.virgin.com Wed Jan 7 09:41:43 2009 From: Ajay.Gupta at fly.virgin.com (Ajay.Gupta at fly.virgin.com) Date: Wed, 7 Jan 2009 14:41:43 +0000 Subject: Time problem Message-ID: Hi Gurus, I have noticed a peculiar problem with one of the important servers. Problem: Time is automatically changing after every hour. When the server reaches a particular hour say 11.00 then times automatically goes back one hour back i.e 10.00 instead of 11.00. The server is using NTP server, which is behaving normally. We have tried stopping NTP also however the problem is still persisting. OS : Solaris 8 Platform : sun fire 6800 Any help would be highly valued. Thank you Ajay If BA gets to play monopoly with American Airlines, then we'll all be losers. Say No Way BA/AA at http://www.virginatlantic.com/monstermonopoly *********************************************************************************** Visit the Virgin Atlantic website for all the latest news and fantastic offers - http://www.virgin.com/atlantic. This email (and any attachments) may contain privileged and/or confidential information. If you are not the intended recipient please do not disclose, copy, distribute, disseminate or take any action in reliance on it. If you have received this message in error please reply and tell us and then delete all copies on your system. Any opinion on, or advice or information contained in this email is not necessarily that of Virgin Atlantic or its owners or officers. Virgin Atlantic shall have no liability (including in negligence) for any loss or damage that may arise in relation to this email (or any attachments to it) including viruses. Virgin Atlantic reserves the right to retain and monitor all email communications. Nothing in this email shall be deemed as forming or constituting a binding contract with, or representation on behalf of, Virgin Atlantic, its representatives, its clients or any member of the Virgin Group, unless expressly specified otherwise in writing. Virgin Atlantic Airways Limited. Registered office: Company Secretariat, The Office, Manor Royal, Crawley, West Sussex, RH10 9NU. Registered in England, company number: 1600117 ************************************************************************************ From Ajay.Gupta at fly.virgin.com Wed Jan 7 13:31:19 2009 From: Ajay.Gupta at fly.virgin.com (Ajay.Gupta at fly.virgin.com) Date: Wed, 7 Jan 2009 18:31:19 +0000 Subject: Time problem (Summary) Message-ID: Hi, I don't want to miss putting a summary for the problem. Thanks to all who replied however only the solution provided by George worked. The problem was caused by the system controller uptime which was 528 days. The details can be found in the below link. http://sunsolve.sun.com/search/document.do?assetkey=1-66-200817-1 Ajay Gupta If BA gets to play monopoly with American Airlines, then we'll all be losers. Say No Way BA/AA at http://www.virginatlantic.com/monstermonopoly *********************************************************************************** Visit the Virgin Atlantic website for all the latest news and fantastic offers - http://www.virgin.com/atlantic. This email (and any attachments) may contain privileged and/or confidential information. If you are not the intended recipient please do not disclose, copy, distribute, disseminate or take any action in reliance on it. If you have received this message in error please reply and tell us and then delete all copies on your system. Any opinion on, or advice or information contained in this email is not necessarily that of Virgin Atlantic or its owners or officers. Virgin Atlantic shall have no liability (including in negligence) for any loss or damage that may arise in relation to this email (or any attachments to it) including viruses. Virgin Atlantic reserves the right to retain and monitor all email communications. Nothing in this email shall be deemed as forming or constituting a binding contract with, or representation on behalf of, Virgin Atlantic, its representatives, its clients or any member of the Virgin Group, unless expressly specified otherwise in writing. Virgin Atlantic Airways Limited. Registered office: Company Secretariat, The Office, Manor Royal, Crawley, West Sussex, RH10 9NU. Registered in England, company number: 1600117 ************************************************************************************ From esteban.rosas at syc.com.mx Wed Jan 7 14:35:54 2009 From: esteban.rosas at syc.com.mx (Esteban Rosas) Date: Wed, 07 Jan 2009 11:35:54 -0800 Subject: SunFire T2000 Message-ID: <4965041A.5020406@syc.com.mx> Greetings from Mexico City... Anyone knows if a SunFire T2000 supports ISCSI addapters?, I look into the sun website and there's no information about it TIA From ifetch at du.edu Wed Jan 7 22:36:16 2009 From: ifetch at du.edu (Ivan Fetch) Date: Wed, 7 Jan 2009 20:36:16 -0700 (MST) Subject: Preference for Apache, PHP, and Tomcat packages for Sol10? Message-ID: Hello Sun Managers, I'm curious what folks tend to use for new production installations of Apache, PHP, and Tomcat. We're about to re-organize some existing installations, and deploy some new ones, and would like to make a sound decision as to which packages we standardize on. There are packages available from Sun Freeware (www.sunfreeware.com), the Sun Companion DVD (also now put together by Sun Freeware), the packages which are installed along with Sol10 (SUNWapch* packages), Blastwave (www.blastwave.org, seems particularly out of date), and Sun's Cool Stack (cooltools.sunsource.net). There's also creating one's packages, which we've still not wanted to do as an institution, and, perhaps other sources of packages I'm not aware of. I'm again evaluating these package maintainers' timeliness creating new packages after security updates, and flexibility (E.G. we use PHP with LDAP support, are PHP extensions available as add-on packages?). I'd very much appreciate hearing insight from others' experiences - what do you tend to use for new installations, how have you found the upgrade / patch process, have you recently switched from one set of packages to another, and why? Thank you as always, for your time! - Ivan From ifetch at du.edu Wed Jan 7 22:50:56 2009 From: ifetch at du.edu (Ivan Fetch) Date: Wed, 7 Jan 2009 20:50:56 -0700 (MST) Subject: Climbing CKSUM errors after zpool online Message-ID: Hello Sun Managers, We've been working on a weird ZFS issue, and not getting very far with Sun. We needed to relocate a storage array, so "zpool offlined" the second half of mirrors on multiple machines. Once the array was back online, and we verified the LUNs were seen in the OS, we did "zpool online" for each of the previously offlined LUNs. The first LUN took about 35 minutes to resilver, and the mirror was fine; no errors in "zpool status." Subsequent mirrors reported resilver completed in a matter of seconds, and we got quite a few CKSUM errors (in one case, a few thousand in 12 hours), but no read or write errors. We're experiencing this idential issue on three boxes so far, a couple of them are: 5.10 Generic_127127-11 sun4v sparc SUNW,SPARC-Enterprise-T2000 5.10 Generic_127111-06 sun4v sparc SUNW,Sun-Fire-T200 Sun's answer is to "Just upgrade the kernel, a lot of ZFS bugs have been fixed, but only upgrade to 137137-06 as later kernels will introduce other ZFS issues." We ended up detaching, then re-attaching the second leg of the mirrors, and all of them resilvered and do not have CKSUM errors. We will probably end up doing this on our remaining ZFS boxes but would like to match our symptoms with a particular bug / resolution / patch, and have more complete answers. I've found a few simelar cases on the ZFS Discuss list, but no resolutions there. Has anyone else run into this issue? Thanks, Ivan. --- Ivan Fetch University of Denver Computer Operations, University Technology Services 303-871-3092 From pablo.jejcic at gmail.com Thu Jan 8 05:22:28 2009 From: pablo.jejcic at gmail.com (Pablo Jejcic) Date: Thu, 8 Jan 2009 10:22:28 +0000 Subject: USB on Soalris 10 and a T5220 Message-ID: Hi Guys, I'm planning to plug a 1TB USB 2 external disk to a T5220 with Solaris 10. Has anyone try this? Do you foresee any issues? Cheers! -- Pablo Joan Crawford - "I, Joan Crawford, I believe in the dollar. Everything I earn, I spend." From opensource at unixoses.com Thu Jan 8 15:16:57 2009 From: opensource at unixoses.com (Paul) Date: Thu, 8 Jan 2009 15:16:57 -0500 (EST) Subject: How to go from console to sc prompt on rsc card? Message-ID: <2697.12.32.10.83.1231445817.squirrel@outsideventure.com> Tried "#." but does not work. It just takes it as input for cosole login. Any ideas? This is on an rsc card on an 890. Thanks. From opensource at unixoses.com Thu Jan 8 15:43:30 2009 From: opensource at unixoses.com (Paul) Date: Thu, 8 Jan 2009 15:43:30 -0500 (EST) Subject: How to go from console to sc prompt on rsc card? Message-ID: <4558.12.32.10.83.1231447410.squirrel@outsideventure.com> On Thu, January 8, 2009 3:16 pm, Paul wrote: > Tried "#." but does not work. It just takes it as input for cosole login. > Any ideas? This is on an rsc card on an 890. Thanks. Some ideas were: ~. (This is the same sequence for the Cyclades term serv, so just bails out) enter, then #. (This just gives more input to the console login) And someone asked me why use "#.", Cause that's what google searches keep pointing to. So if the ~. is the answer, I really don't know how that can work, cause that's usually the escape out of a term server. Any more ideas? Thanks. From opensource at unixoses.com Thu Jan 8 16:34:17 2009 From: opensource at unixoses.com (Paul) Date: Thu, 8 Jan 2009 16:34:17 -0500 (EST) Subject: SUMMARY: How to go from console to sc prompt on rsc card? In-Reply-To: <4558.12.32.10.83.1231447410.squirrel@outsideventure.com> References: <4558.12.32.10.83.1231447410.squirrel@outsideventure.com> Message-ID: <1492.12.32.10.83.1231450457.squirrel@outsideventure.com> On Thu, January 8, 2009 3:43 pm, Paul wrote: > On Thu, January 8, 2009 3:16 pm, Paul wrote: >> Tried "#." but does not work. It just takes it as input for cosole >> login. >> Any ideas? This is on an rsc card on an 890. Thanks. > > Some ideas were: > > ~. (This is the same sequence for the Cyclades term serv, so just bails > out) > > enter, then #. (This just gives more input to the console login) > > And someone asked me why use "#.", Cause that's what google searches keep > pointing to. > > So if the ~. is the answer, I really don't know how that can work, cause > that's usually the escape out of a term server. > > Any more ideas? Thanks. Never mind, I stumbled on it. Did "~~." (exluding quotes) and was successful. Just needed one more tildi. From warren.liang at cox.net Thu Jan 8 18:30:03 2009 From: warren.liang at cox.net (Warren Liang) Date: Thu, 8 Jan 2009 18:30:03 -0500 Subject: Boot faliure Message-ID: <20090108183003.7JEG0.497465.imail@fed1rmwml36> Hello: After building a X1 box from a flar archive. boot failed with the following: mount: /dev/dsk/c0t2d0s3 or /usr, no such file or directory /sbin/rcS: /usr/bin/loadkeys: not found WARNING: /proc could not be mounted /sbin/swapadd: expr: not found WARNING - /usr/sbin/fsck not found. Most likely the mount of /usr failed or the /usr filesystem is badly damaged. The system is being halted. Either reinstall the system or boot with the -b option in an attempt to recover. I boot of jumpstart server and fsck all partitions on c0t2d0 without any error. The flar archive is an image of an identical X1 box. Thanks in advance. Warren From rumbiles at yahoo.com Fri Jan 9 06:47:54 2009 From: rumbiles at yahoo.com (rumbidzayi gadhula) Date: Fri, 9 Jan 2009 03:47:54 -0800 (PST) Subject: Summary: Disk Failure on StorageTek Array In-Reply-To: Message-ID: <746907.1440.qm@web54406.mail.yahoo.com> I decided to rebuild the array since the data was non-recoverable. I initialised the disks using SANtricity, labelled the disk in Solaris, added the array under VxVM control and created the required volumes. From warren.liang at cox.net Fri Jan 9 14:37:16 2009 From: warren.liang at cox.net (Warren Liang) Date: Fri, 9 Jan 2009 11:37:16 -0800 Subject: SUMMARY: boot failure Message-ID: <20090109143716.KLOVF.520548.imail@fed1rmwml38> Hello: When building the box from a flar archivefile, the client boot disk is different than the one on flar archive. It makes the build like a cloniing. I need to build a new /dev, /devices, and /etc/path_to_inst. ok> boot net -s # mount /dev/dsk/c0t2d0s0 /a # cd /tmp/dev # tar cvfp - . | (cd /a/dev; tar xvfp -) ... # cd /tmp/devices # tar cvfp - . | cd /a/devices; tar xvfp -) ... # cp /tmp/root/etc/path_to_inst /a/etc/path_to_inst ok> boot disk2 -r Thanks. Warren Original posting: After build a X1 box by flash archive file, boot fails: ok> boot disk2 ... mount: /dev/dsk/c0t2d0s3 or /usr, no such file or directory /sbin/rcS: /usr/bin/loadkeys: not found WARNING: /proc could not be mounted /sbin/swapadd: expr: not found WARNING - /usr/sbin/fsck not found. Most likely the mount of /usr failed or the /usr filesystem is badly damaged. The system is being halted. Either reinstall the system or boot with the -b option in an attempt to recover. From drewsk at gmail.com Fri Jan 9 15:41:12 2009 From: drewsk at gmail.com (Drew Skinner) Date: Fri, 9 Jan 2009 15:41:12 -0500 Subject: Query regarding VCS / Solaris 10 Message-ID: <85b33c090901091241s65c814f7j3001ce64d162c97@mail.gmail.com> Hi; Been quite a while since I sent a note here. Anyway, wondering if anyone with experience in VCS (multiple versions) might be able to send some insight. Background: I need to implement a monitoring script that will produce output & be sent to a collection of different monitoring pieces (software, queues, etc). I'm no stranger to this. What I'd like to do is implement monitoring of groups and resources within Veritas Cluster and Sun Cluster. This is mostly Solaris 10, some 9, and may involve zones. No biggie. scstat (Sun Cluster) provides me with usable information. hastatus always hangs. My goal is output such as: Check 1 Online Online Offline Check 2 Offline Online Online Any change to hastatus or scstat would produce an alert ticket to be investigated. Now, problem is hastatus always hangs. I've tried all of the following: hastatus; hastatus -sys `uname -n`; hastatus -sound (etc). All hang. hastatus -sum does *not* hang, but there's insufficient output for me to work with. >From Symantec there's a suggestion to adjust /etc/rc2.d/S92gab to include "-n 2" (where 2 is # systems) or to seed gab with -x. I've checked /etc/gabtab and it is seeded correctly there. The suggestion from Symantec is also quite old (Ver 1.x of VCS) Is there any way I can read the output (line by line) and transfer to a text file, then killing hastatus after ~ 6-7 secs, while capturing the line-by-line output? Note I administer 1000+ government systems and cannot reboot with changes to /etc/rc2.d (etc) as all HA systems are that for a reason. Any help appreciated and I will summarize. Thanks, Drew. From phil_socal at yahoo.com Fri Jan 9 17:11:21 2009 From: phil_socal at yahoo.com (Phil) Date: Fri, 9 Jan 2009 14:11:21 -0800 (PST) Subject: MPXIO and symmetrix- not MPXIO-ing? Message-ID: <791424.95074.qm@web30208.mail.mud.yahoo.com> Hi all- I have a T6320 w/ supported qlogic cards SAN'd to a CX and a symmetrix. running: SunOS blade6 5.10 Generic_137111-06 sun4v sparc SUNW,Sun-Blade-T6320 (I believe this is 05/08) we see multiple paths to each CX disk via MPXIO (took the disks from C1 and C2, made them a C3 with multiple paths displayed w/ mpathadm list lu) However, MPXIO doesn't multipath the disks on the symmetrix. The disks show up as 2 paths on each controller C1 and C2. what am I missing here? yes, I've done "reboot -- -r" thanks for helping out an mpxio n00b. -Phil From jdd at cs.toronto.edu Sat Jan 10 00:30:01 2009 From: jdd at cs.toronto.edu (John DiMarco) Date: Sat, 10 Jan 2009 00:30:01 -0500 (EST) Subject: IMPORTANT: Read this before posting to Sun-Managers Message-ID: <20090110053002.0459759C08D@apps0.cs.toronto.edu> Archive-name: sunmanagers-before-posting Last Updated: $Id: before.posting,v 1.21 2005/12/28 21:05:10 jdd Exp $ NOTE: This message is posted periodically to sunmanagers on behalf of all members of the Sunmanager's mailing list. Please read it carefully before posting. This document can be retrieved from: ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/before.posting Dear prospective sunmanagers poster, Before posting, please stop for a minute and consider whether or not your posting is suitable for Sunmanagers. The list is not intended for just any possible question related to managing Sun equipment or software. The only appropriate questions for Sun Managers are time-critical questions about Sun system management problems that are not answered in the manuals or system documentation, or in the Sunmanager's FAQ. In particular, the following kinds of postings are not appropriate: - Subscribe and unsubscribe messages. Point your web browser to http://www.sunmanagers.org instead. - Test messages of any sort. - Discussions about anything, including discussions about the list itself, or followups to any posting, with the exception of a single summary to one's own question summarizing the email responses. Use instead one of the Sun newsgroups, eg. comp.sys.sun.admin, comp.sys.sun.hardware or comp.unix.solaris. - Replies to any SunManagers posting, even if the reply is a separate question. Please send a separate message instead. - Postings not related to Sun equipment or software. Use the appropriate newsgroup or mailing list instead. For example, if your question concerns "sendmail", please consult the comp.mail.sendmail newsgroup or the www.sendmail.org website. - General UNIX or network questions. Use the appropriate newsgroup, eg. comp.unix.questions instead. - Postings that are not time-critical. Use one of the Sun newsgroups, eg. comp.sys.sun.admin, comp.sys.sun.hardware or comp.unix.solaris. - Questions answered in the FAQ. Read the FAQ instead. If you're not sure if the question is in the FAQ, please check before asking. You can find the FAQ at: ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq.html ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq - Questions that are answered in the manuals, http://docs.sun.com or system documentation. Read the manuals instead. If you're not sure if the question is answered in the manuals, please check first! - Job postings, requests for jobs, sales pitches, etc. Use the appropriate newsgroup instead. - Please, no postings in HTML, rich-text-format, Microsoft Word, Word Perfect, or any format that some people on the list would not easily be able to read. Also, please post in English only; most of our readers are not able to read other languages. - Please do not BCC (blind carbon copy) the list. Many of our list members depend on the list address appearing on incoming mail messages, so that they can automatically distinguish list traffic from other traffic. Please note that we are not saying these postings are necessarily "bad" or "stupid". They are not. They are merely inappropriate for this list. There are many other lists and newsgroups for which the question may be completely appropriate, and we encourage you to submit the posting there. Note also that your question may have been already answered in the past. Please spend a minute or two checking one of the Sunmanager's archives, for example, at http://www.sunmanagers.org, or one of the archive sites mentioned in the FAQ. Here's an example of an appropriate question: I have a SPARCserver 99 running Solaris 9.8.7 with the fizbozz patch and the jumbo kernel patch version 158. After I installed Futzbarworks version 3.2, the machine locks up every couple of hours. When it locks up, the following message appears on the console: zz0: out of futzbufs. Barworks table is full. I need to get this machine working as soon as possible. Please help! Send email and I will summarize to the list. To submit a question, email it to sunmanagers at sunmanagers.org. When you do this, please indicate all relevant information, including machine type, OS version and patches. Collect email replies, and then summarize them to the list. If your question was posted with a subject of "foobar", for example, then please post your summary with a subject of "SUMMARY: foobar". Why are we asking that only certain types of postings be submitted to the list? Very simply, the reason is this: we want the list to have a very short turnaround time, and the only reasonable way to do this is to keep it unmoderated. But this means that every message sent to the list ends up in the mailboxes of all the list members. To keep all the members of the list from being deluged by inappropriate messages, we need everyone's co-operation in ensuring that only appropriate messages are sent to the list. Please remember, Sunmanagers is a public forum: we have thousands of subscribers, all posts are archived on numerous archive sites, and these are searchable via various web engines. A great number of people will read your message. Keep in mind that the person reading your message may be your boss, your future boss, your customer, your seminar instructor, your colleague, or someone else that you work with today or may find yourself working with tomorrow. We do not want you to embarrass yourself by sending an inappropriate or poorly thought-out posting. Regards, John -- John DiMarco Sunmanagers Information Files Maintainer http://www.cs.toronto.edu/~jdd From arvindhonline at gmail.com Sat Jan 10 05:52:49 2009 From: arvindhonline at gmail.com (arvindh l) Date: Sat, 10 Jan 2009 16:22:49 +0530 Subject: Sun server (E4500) booting with errors Message-ID: Hi all, One of my Sun 4500 server is attached to a disk array with 12 disks.And when i boot the machine it successfully boots up but it shows lot of errors.The errors are as follows. 8-slot Sun Enterprise E4500/E5500, No Keyboard OpenBoot 3.2.29, 2048 MB memory installed, Serial #12535731. Copyright 2001 Sun Microsystems, Inc. All rights reserved Ethernet address 8:0:20:bf:47:b3, Host ID: 80bf47b3. Rebooting with command: boot vx-rootdiskc1t0 Boot device: /sbus at 6,0/QLGC,isp at 2,10000/sd at 0,0:a File and args: sd seek 0 0 sd read-blocks ffad0000 0 40 returns 40 returns 0 sd seek 200 0 sd read-blocks ffad0000 c35be1 40 returns 40 returns 0 invalid command Loading ufs-file-system package 1.4 04 Aug 1995 13:02:54. FCode UFS Reader 1.12 00/07/17 15:48:16. sd seek 0 0 sd read-blocks ffad0000 0 40 returns 40 returns 0 sd seek 2000 0 sd read-blocks ffad0000 c35bf0 40 returns 40 returns 0 sd seek 8000 0 returns 0 sd seek fe000 0 sd read-blocks ffad0000 c363d0 40 returns 40 returns 0 sd seek 8000 0 sd read-blocks ffad0000 c35c20 40 returns 40 returns 0 sd seek fe000 0 sd read-blocks ffad0000 c363d0 40 returns 40 returns 0 invalid command Loading: /platform/SUNW,Ultra-Enterprise/ufsboot sd seek 0 0 sd read-blocks ffad0000 0 40 returns 40 returns 0 sd seek 2000 0 sd read-blocks ffad0000 c35bf0 40 returns 40 returns 0 sd seek 8000 0 returns 0 sd seek fe000 0 sd read-blocks ffad0000 c363d0 40 returns 40 returns 0 sd seek 8000 0 sd read-blocks ffad0000 c35c20 40 returns 40 returns 0 sd seek fe000 0 sd read-blocks ffad0000 c363d0 40 returns 40 returns 0 sd seek 301a000 0 sd read-blocks ffad0000 c4dcb0 40 returns 40 returns 0 sd seek 301a000 0 returns 0 sd seek 42ee000 0 sd read-blocks ffad0000 c57350 40 returns 40 returns 0 sd seek 302a000 0 sd read-blocks ffad0000 c4dd30 40 returns 40 returns 0 sd seek 302a000 0 returns 0 sd seek 4304000 0 sd read-blocks ffad0000 c57400 40 returns 40 returns 0 invalid command Loading: /platform/sun4u/ufsboot sd seek 0 0 sd read-blocks ffad0000 0 40 returns 40 returns 0 sd seek 2000 0 sd read-blocks ffad0000 c35bf0 40 returns 40 returns 0 sd seek 8000 0 returns 0 sd seek fe000 0 sd read-blocks ffad0000 c363d0 40 returns 40 returns 0 sd seek 8000 0 sd read-blocks ffad0000 c35c20 40 returns 40 returns 0 sd seek fe000 0 sd read-blocks ffad0000 c363d0 40 returns 40 returns 0 sd seek 301a000 0 sd read-blocks ffad0000 c4dcb0 40 returns 40 returns 0 sd seek 301a000 0 returns 0 sd seek 42ee000 0 sd read-blocks ffad0000 c57350 40 returns 40 returns 0 sd seek 302e000 0 sd read-blocks ffad0000 c4dd50 40 returns 40 returns 0 sd seek 302e000 0 returns 0 sd seek 4518000 0 sd read-blocks ffad0000 c584a0 40 returns 40 returns 0 sd seek 3034000 0 sd read-blocks ffad0000 c4dd80 40 returns 40 returns 0 sd seek 3034000 0 returns 0 sd seek 3034000 0 returns 0 sd seek 4b84000 0 sd read-blocks ffad0000 c5b800 40 returns 40 returns 0 sd seek 4b86000 0 returns 0 sd seek 4b88000 0 returns 0 sd seek 4b8a000 0 returns 0 sd seek 4b8c000 0 sd read-blocks ffad0000 c5b840 40 returns 40 returns 0 sd seek 4b8e000 0 returns 0 sd seek 4b90000 0 returns 0 sd seek 4b92000 0 returns 0 sd seek 4b94000 0 sd read-blocks ffad0000 c5b880 40 returns 40 returns 0 sd seek 3d5a400 0 sd read-blocks ffad0000 c546b2 40 returns 40 returns 0 invalid command sd seek 0 0 sd read-blocks ffad0000 0 40 returns 40 returns 0 sd seek 2000 0 sd read-blocks ffad0000 c35bf0 40 returns 40 returns 0 sd seek 8000 0 returns 0 sd seek fe000 0 sd read-blocks ffad0000 c363d0 40 returns 40 returns 0 sd seek 301a000 0 sd read-blocks ffad0000 c4dcb0 40 returns 40 returns 0 sd seek 42ee000 0 sd read-blocks ffad0000 c57350 40 returns 40 returns 0 sd seek 302a000 0 sd read-blocks ffad0000 c4dd30 40 returns 40 ---truncated-- . : : Failed to configure IPv4 interface(s): hme3 Hostname: mercury NOTICE: VxVM vxdmp V-5-0-34 added disk array DISKS, datype = Disk Jan 10 10:20:06 vxvm:vxconfigd: V-5-1-554 Disk c2t12d0s2 names group rootdg, but group ID differs Jan 10 10:20:06 vxvm:vxconfigd: V-5-1-554 Disk c1t4d0s2 names group rootdg, but group ID differs TP0: (tp0_attach) Driver attached /dev/vx/rdsk/bootdg/opt is clean checking vxfs filesystems Running parallel replay fsck ... /dev/vx/rdsk/scdg/cdl:log replay in progress /dev/vx/rdsk/scdg/cdl:replay complete - marking super-block as CLEAN /dev/vx/rdsk/scdg/sc:log replay in progress /dev/vx/rdsk/scdg/home:log replay in progress /dev/vx/rdsk/scdg/screl:log replay in progress /dev/vx/rdsk/scdg/home:replay complete - marking super-block as CLEAN /dev/vx/rdsk/scdg/screl:replay complete - marking super-block as CLEAN /dev/vx/rdsk/scdg/sc:replay complete - marking super-block as CLEAN mercury console login: Im afraid that it might go down.Can anyone help me on this.. Regards, Arvindh.L From sanelson at gmail.com Sun Jan 11 02:36:58 2009 From: sanelson at gmail.com (Stephen Nelson-Smith) Date: Sun, 11 Jan 2009 07:36:58 +0000 Subject: Solaris 10/08 cifs mount Message-ID: Hi, I want to mount a Windows Server 2003 share, for the purposes of logging remotely. Looking at the archives, and googling suggests that Sharity used to be the preferred solution, and that CIFS/SMBFS mounts of Windows shares are available in OpenSolaris alpha-quality packages. Is this still the same? Or does the latest release make it easy to mount a Windows share? What's the recommended approach? Thank you, S. From beo.banks at googlemail.com Sun Jan 11 04:01:54 2009 From: beo.banks at googlemail.com (Beo Banks) Date: Sun, 11 Jan 2009 10:01:54 +0100 Subject: Solaris 9 9/05; trouble with vi -x Message-ID: hi together, i have problems with the command vi -x (filename) on a *Solaris 9 9*/05 installation. vi ask for the password and after enter, the shell stopped... i see with top high cpu usage from /usr/lib/crypt and the vi... i have test it with new files on the solaris 9 machine and with files which created on solaris 8 installations... have somebody i idea how can debug this or better a solution :) thanks in advance BeO ** From sean at fpp.nuclearsafetysolutions.com Sun Jan 11 23:19:06 2009 From: sean at fpp.nuclearsafetysolutions.com (Sean Walmsley) Date: Sun, 11 Jan 2009 23:19:06 -0500 (EST) Subject: SAS HBA in a Sun X4250 - install issue Message-ID: <200901120419.n0C4J8Ta019362@merlin.fpp.nuclearsafetysolutions.com> I have a Sun X4250 (2U x86 with 16 drive backplane) server into which I'm trying to install a Sun SG-XPCIE8SAS-I-Z 8-port internal SAS HBA to connect up the disk backplane via the 2 pre-installed 8-way SAS cables (Note that this HBA is the LSI 3081 based card and not the higher end Adaptec based unit). My questions are: - Should I plug the card into PCI-E slot 0 or 1? - Should I attach both 8-way cables, just cable 0, or just cable 1 to the 16-disk backplane? My confusion stems from conflicting references in the documentation: PCI-E SLOT: ----------- - HBA install manual says to use PCI-E slot 0 if boot support is required. - Server service manual *SAYS* to use PCI-E slot 0 but *SHOWS* (figure) using slot 1 - Server architecture manual says to use PCI-E slot 1 - Sun system handbook top view of server shows using slot 1 - cables are sized to make slot 1 the most convenient SAS CABLES: ----------- - HBA install manual says to just use one SAS cable for 16 disk servers. - Server service manual says to use both SAS cables. We've used this card in a Sun X4450 (8 drive backplane) previously with the HBA installed in slot 0 and both cables used. I don't know why Sun would call for half as many cables for a server with twice as many drives. If you've received this configuration configured by Sun, or if you've successfully implemented it yourself, I'd appreciate your feedback. Thanks! Sean Walmsley ================================================================= Sean Walmsley sean at fpp . nuclearsafetysolutions dot com From grove at zeta.org.au Sun Jan 11 23:50:08 2009 From: grove at zeta.org.au (grove at zeta.org.au) Date: Mon, 12 Jan 2009 15:50:08 +1100 (EST) Subject: SunMC 3.6 users help please Message-ID: Hi, I am doing some remediation of our SunMC 4 server and as part of this work, I require the following file: class-event.toe.data 7418 bytes 14195 (sum) It should be found in /var/opt/SUNWsymon/cfg/ The reason for needing this file can be found here: http://forums.halcyoninc.com/showthread.php?t=158 If someone can please drop this file to me, it would be very helpful as I have scoured my package collection and do not have a useful copy. Please note, the file must come from SunMC-3.6 not 3.6.1 or it will not work! Thanks in advance for assistance rendered! -- Rachel Polanskis Kingswood, Greater Western Sydney, Australia grove at zeta.org.au http://www.zeta.org.au/~grove/grove.html The price of greatness is responsibility. From sanelson at gmail.com Mon Jan 12 07:33:17 2009 From: sanelson at gmail.com (Stephen Nelson-Smith) Date: Mon, 12 Jan 2009 12:33:17 +0000 Subject: SUMMARY: Solaris 10/08 cifs mount Message-ID: It seems the recommended way is still to use Sharity - so I will be trying this. The other suggestion was to use Windows services for UNIX, and set up the Windows end as an NFS server. Thanks very much, S. From sanelson at gmail.com Mon Jan 12 07:35:09 2009 From: sanelson at gmail.com (Stephen Nelson-Smith) Date: Mon, 12 Jan 2009 12:35:09 +0000 Subject: New disks - Corrupt labels Message-ID: Hi, I've inserted 6 new disks - 146G SAS - into a 5220. I see messages like this in syslog: Jan 12 12:21:43 t5220a scsi: WARNING: /pci at 0/pci at 0/pci at 2/scsi at 0/sd at 2,0 (sd3): Jan 12 12:21:43 t5220a Corrupt label; wrong magic number Jan 12 12:21:43 t5220a scsi: WARNING: /pci at 0/pci at 0/pci at 2/scsi at 0/sd at 3,0 (sd4): Jan 12 12:21:43 t5220a Corrupt label; wrong magic number Jan 12 12:21:43 t5220a scsi: WARNING: /pci at 0/pci at 0/pci at 2/scsi at 0/sd at 4,0 (sd5): Jan 12 12:21:43 t5220a Corrupt label; wrong magic number Jan 12 12:21:43 t5220a scsi: WARNING: /pci at 0/pci at 0/pci at 2/scsi at 0/sd at 5,0 (sd6): Jan 12 12:21:43 t5220a Corrupt label; wrong magic number Jan 12 12:21:44 t5220a scsi: WARNING: /pci at 0/pci at 0/pci at 2/scsi at 0/sd at 6,0 (sd7): Jan 12 12:21:44 t5220a Corrupt label; wrong magic number Jan 12 12:21:44 t5220a scsi: WARNING: /pci at 0/pci at 0/pci at 2/scsi at 0/sd at 7,0 (sd8): Jan 12 12:21:44 t5220a Corrupt label; wrong magic number I've run devfsadm -c disk, and get the same messages. I want to be able to create 2 zpools using these disks - nor sure how to proceed. Help? S. From sanelson at gmail.com Mon Jan 12 08:05:04 2009 From: sanelson at gmail.com (Stephen Nelson-Smith) Date: Mon, 12 Jan 2009 13:05:04 +0000 Subject: Summary: New disks - Corrupt labels Message-ID: Hi, Thanks to Kevin Insco, Jim Musso and B Voight - I just needed to run format and label each disk. S. From sanelson at gmail.com Mon Jan 12 08:10:37 2009 From: sanelson at gmail.com (Stephen Nelson-Smith) Date: Mon, 12 Jan 2009 13:10:37 +0000 Subject: Identify disks Message-ID: I'm sure I used to do this with luxadm? I've looked through the archives, and google, but I can't seem to find an appropriate search term. I want to know which disk on the front of a 5220 corresponds to which disk on the system. Is there a way to make it flash to identify it? Or some other way? S. From sanelson at gmail.com Mon Jan 12 08:55:25 2009 From: sanelson at gmail.com (Stephen Nelson-Smith) Date: Mon, 12 Jan 2009 13:55:25 +0000 Subject: Summary: Identify Disks Message-ID: Hello, Thanks for a quick handful of replies - divided between people helping point me to the documentation, and suggesting ways to produce non-harmful IO. A work colleague of mine gets the prize though: "Erm, Stephen, isn't there a little diagram on the front of the server?" I verified it using Format->Disk->Analyze->Refresh Thanks very much. S. From te at tsemba.org Mon Jan 12 10:47:50 2009 From: te at tsemba.org (Tamer Embaby) Date: Mon, 12 Jan 2009 17:47:50 +0200 Subject: StorEdge Professional Storage Manager Message-ID: <496B6626.5090706@tsemba.org> Hi all, I have inherited 2 Sun Fire V490 and a StorEdge 3300 JBOD, I need to get the "StorEdge Professional Storage Manager" software to manage and monitor the JBOD array over in-band SCSI host connection, but I'm quite stuck on where to get this software, I've google'd and SunSolve'd with no good results. What I'm looking for are the following packages specifically: - SUNWscsu  Configuration Service Console - SUNWscsd  Configuration Service Agent - SUNWsccli  Configuration Service CLI Anyone can point me on where to get these packages for Solaris 10 - SPARC? Regards, Tamer From Matthew.Stier at us.fujitsu.com Mon Jan 12 12:31:02 2009 From: Matthew.Stier at us.fujitsu.com (Matthew Stier) Date: Mon, 12 Jan 2009 12:31:02 -0500 Subject: Running an NIS make on a recently patched Solaris 10 server causes system hang. Message-ID: <496B7E56.8020501@us.fujitsu.com> I recently used 'pca' to install all the current patches on my T5220 server, which I am planning to use as my replacement NIS master. (Currently being run on an Enterprise 450 running Solaris 8) During the first 'make' after installing the patches, the system hung. After troubleshooting I found that it was failing at the point it was building passwd.byuid. A Google search found a matching issue from September 2006, against OpenSolaris. Is anyone encountering this problem? Does anyone know the solution to the OpenSolaris problem? http://osdir.com/ml/solaris.opensolaris.help/2006-09/msg00043.html Note: Per the OpenSolaris message, it appears to be a UFS issue. Running 'make' in /var/yp (UFS) causes the problem. Running 'makedbm passwd.byuid' in /var/tmp (UFS) causes the problem. Running 'makedbm passwd.byuid' in my home directory (NFS) does not cause the problem. Running 'makedbm passwd.byuid' in /tmp (tmpfs) does not cause the problem. [demime 1.01b removed an attachment of type text/x-vcard which had a name of Matthew_Stier.vcf] From jesh.shetty at gmail.com Mon Jan 12 13:13:02 2009 From: jesh.shetty at gmail.com (Rajesh Shetty) Date: Mon, 12 Jan 2009 13:13:02 -0500 Subject: metadb information Message-ID: hi all:Because of disk failure, I had to replace the primary disk in a dual disk e2900. Three of the metadb replicas were on this disk. Prior to replacement metadb -i showed the following #metadb -i flags first blk block count a m luo 16 8192 /dev/dsk/c1t0d0s7 a luo 8208 8192 /dev/dsk/c1t0d0s7 a luo 16400 8192 /dev/dsk/c1t0d0s7 a p luo 16 8192 /dev/dsk/c1t1d0s7 a p luo 8208 8192 /dev/dsk/c1t1d0s7 a p luo 16400 8192 /dev/dsk/c1t1d0s7 After replacement, metadb -i shows #metadb -i flags first blk block count a u 16 8192 /dev/dsk/c1t0d0s7 a u 8208 8192 /dev/dsk/c1t0d0s7 a u 16400 8192 /dev/dsk/c1t0d0s7 a p luo 16 8192 /dev/dsk/c1t1d0s7 a p luo 8208 8192 /dev/dsk/c1t1d0s7 a p luo 16400 8192 /dev/dsk/c1t1d0s7 How do I make the metadb replicas on the c1t0 target to: 1) show the 'l' flag which is to be located and read successfully 2) to show the 'o' flag which is "metadb active prior to last mddb configuration change 3) AND assign the first replica on target c1t0 to be master. Flag 'm' Your help is appreciated. Jesh From te at tsemba.org Mon Jan 12 18:13:02 2009 From: te at tsemba.org (Tamer Embaby) Date: Tue, 13 Jan 2009 01:13:02 +0200 Subject: SUMMARY: StorEdge Professional Storage Manager In-Reply-To: <496B6626.5090706@tsemba.org> References: <496B6626.5090706@tsemba.org> Message-ID: <496BCE7E.8040803@tsemba.org> All, Thanks for Stephen Soetens, Chris Banal, and Jeff Marble. It's "StorageTek 3000 Family Storage Products--Related Software 2.4" at http://www.sun.com/download/index.jsp?tab=2 Regards, Tamer Tamer Embaby wrote: > Hi all, > > I have inherited 2 Sun Fire V490 and a StorEdge 3300 JBOD, I > need to get the "StorEdge Professional Storage Manager" software > to manage and monitor the JBOD array over in-band SCSI host > connection, but I'm quite stuck on where to get this software, > I've google'd and SunSolve'd with no good results. > > What I'm looking for are the following packages specifically: > - SUNWscsu  Configuration Service Console > - SUNWscsd  Configuration Service Agent > - SUNWsccli  Configuration Service CLI > > Anyone can point me on where to get these packages for > Solaris 10 - SPARC? > > Regards, > Tamer > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers From myasirkhan at gmail.com Mon Jan 12 23:45:39 2009 From: myasirkhan at gmail.com (Yasir Khan) Date: Tue, 13 Jan 2009 09:45:39 +0500 Subject: Problem with Rebooting SUN Netra 1405 Message-ID: <4844020901122045w33f6b8bah6f419a7f4c933622@mail.gmail.com> Hey, I have a dual SUN Netra 1405 in cluster mode. One of them is down and isnt rebooting. During reboot, it gves CPU-1 failure and stops reboot. There are 4 CPUs in total. Can there be a way to configure the server during reboot so that it skips CPU-1 analysis? In this way, would the other 3 CPUs continue working? Can the other option be to take out the faulty CPU and then reboot? Im woried if I take out the server cables and open it, the active server may go down due to lack of quorum votes. Services running on active node are very critical. Help would be much appreciated. -- Regards, Yasir. From sunhux at gmail.com Mon Jan 12 23:59:55 2009 From: sunhux at gmail.com (sunhux G) Date: Tue, 13 Jan 2009 12:59:55 +0800 Subject: Tcp/Udp port mapping (equivalent of firewall NAT) Message-ID: <60f08e700901122059j74e62043s2aeee61ade84b472@mail.gmail.com> Hi, We have almost 100 servers that were recently installed with a UPS software that makes use of Tcp 6003. Unfortunately for 3 of the servers, the application uses Tcp 6003 ie clashed. It's possible for the UPS client software to be configured to use another port, say Tcp 6007. However, the central UPS controlller that send signals (when there's AC power failure) to servers to shut down the servers can only work with one single port, ie it can't selectively work with 97 servers on Tcp 6003 while the remaining 3 via Tcp 6007. Is there anyway to work around this? Any equivalent of port mapping (for Network Addr Translation??). On a single NIC, we can define multiple addresses (alias) but can we have multiple applications listening on a common Tcp ports? Thanks U From Jonathan.K.Adams.ctr at nga.mil Tue Jan 13 07:20:23 2009 From: Jonathan.K.Adams.ctr at nga.mil (Adams Jonathan K NGA-EGMC USA CTR) Date: Tue, 13 Jan 2009 07:20:23 -0500 Subject: Single sign on ideas Message-ID: <3035A6E5AF845F48991917D6F0277C599E81F2@XCGWSH03.gold.rtgold.nima.mil> Hi All, I am currently running Sun One DS (5.1/5.2) and have an Active Directory Domain... Any advice on an open-source means of integrating the two into a single sign on environment. It is relatively small, so I do not need an enterprise solution. I am in the process of upgrading 5.1 to 5.2 and am currently using Samba to integrate the two but it's a piecemeal solution. Plz help --Jon From rgoud at yahoo.com Tue Jan 13 10:27:34 2009 From: rgoud at yahoo.com (Robert) Date: Tue, 13 Jan 2009 07:27:34 -0800 (PST) Subject: Oracle parameters in project Message-ID: <569156.69307.qm@web52402.mail.re2.yahoo.com> Hi list, I am trying to setup the following Oracle parameters in /etc/project in solaris 10 set shmsys:shminfo_shmmax=4294967295 set shmsys:shminfo_shmmin=1 set shmsys:shminfo_shmmni=100 set shmsys:shminfo_shmseg=10 set semsys:seminfo_semmns=800 set semsys:seminfo_semmni=200 set semsys:seminfo_semmsl=300 equivalant of shmmax is project.max-shm-memory, anyone know the equilanat parameters for the rest of them? Thanks in advance From slaufer at slis.sjsu.edu Tue Jan 13 14:41:26 2009 From: slaufer at slis.sjsu.edu (Stanley Laufer) Date: Tue, 13 Jan 2009 11:41:26 -0800 (PST) Subject: Tar archives larger than 8GB Message-ID: In Solaris 10, is the E flag still mandatory when creating tar archives over 8GB? Using Solaris tar, we created a 14GB tar archive without using the E flag for extended headers. However tar didn't complain, and even without the E flag, tar happily continued to create the archive even after it exceeded 8GB. We've untarred the 14GB archive and tested the files, and everything seems to be fine. So our question is: Is the E flag still mandatory when creating tar archives over 8GB? Many thanks in advance for any replies. I'll post a summary. Stanley E. Laufer Network Administrator School of Library and Information Science San Jose State University From veramontaro at gmail.com Tue Jan 13 15:05:48 2009 From: veramontaro at gmail.com (Vera Montaro) Date: Tue, 13 Jan 2009 12:05:48 -0800 Subject: SSH Daemon Help Message-ID: <72fbfb890901131205n5a69f24fmd2025c6c9adf478b@mail.gmail.com> I am having a issue with SSH daemons that won't release/remove from the system after ssh users logged off the system especially root user. Since all ssh daemons for users, root user and system daemons have the same daemon as /usr/lib/ssh/sshd, it is hard to identify which one I need to remove manually to prevent removing the ssh system daemon. Any helps will be appreciated. Running: Sun_SSH_1.1, SSH protocols 1.5/2.0 Solaris 10 v5 Thanks. Vera From dsfoster at qualcomm.com Tue Jan 13 15:11:58 2009 From: dsfoster at qualcomm.com (Foster, David) Date: Tue, 13 Jan 2009 12:11:58 -0800 Subject: Question about link-aggregation and IPMP Message-ID: <18B791085BDE5B4690CADEFFF4EE1C09BD7BB894@NASANEXMB10.na.qualcomm.com> We've used both link-aggregation to increase bandwidth to the same switch, and IPMP to provide fault tolerance at the switch level, in our environment. We are considering the possibility of having 2 pairs of network connections to two switches, aggregating each pair of those connections (dladm), and then configuring those aggregated interfaces in IPMP. Has anyone done this, any horror stories or gotchas to share? Also, has anyone configured IPMP in active/active mode? Any help on how to do that would be appreciated, I don't believe the IPMP chapter in the System Administration Guide : IP Services discusses how to set this up. Dave Foster From slaufer at slis.sjsu.edu Tue Jan 13 17:02:57 2009 From: slaufer at slis.sjsu.edu (Stanley Laufer) Date: Tue, 13 Jan 2009 14:02:57 -0800 (PST) Subject: SUMMARY: Tar archives larger than 8GB Message-ID: It was pointed out that the E flag applies to individual files being archived. So if you're archiving files that are larger than 8GB, then the E flag is required. There is no limit on the size of the archive itself. Sincerest apologies for the hassle. I should obviously have read the man page more carefully. And thanks to those who responded. ---------- Original message ---------- Date: Tue, 13 Jan 2009 11:41:26 -0800 (PST) From: Stanley Laufer To: sunmanagers at sunmanagers.org Subject: Tar archives larger than 8GB In Solaris 10, is the E flag still mandatory when creating tar archives over 8GB? Using Solaris tar, we created a 14GB tar archive without using the E flag for extended headers. However tar didn't complain, and even without the E flag, tar happily continued to create the archive even after it exceeded 8GB. We've untarred the 14GB archive and tested the files, and everything seems to be fine. So our question is: Is the E flag still mandatory when creating tar archives over 8GB? Many thanks in advance for any replies. I'll post a summary. Stanley E. Laufer Network Administrator School of Library and Information Science San Jose State University From rvandolson at esri.com Tue Jan 13 19:14:01 2009 From: rvandolson at esri.com (Ray Van Dolson) Date: Tue, 13 Jan 2009 16:14:01 -0800 Subject: BIND Message-ID: <20090114001401.GA23140@esri.com> Greetings fellow sysadmins! We're currently running the Sun provided version of BIND on our production name servers (ten or so servers). This makes updating the software fairly easy, and it's also nice to be able to manage the startup and security of the process with SMF. However, the 9.3.x series that Sun's BIND is based on is a little long in the tooth. We're missing out on nifty new features like being able to specify server {} blocks based on CIDR instead of one IP at a time (we'd really love to disable EDNS for all DNS servers[1]). So, I'm curious how the rest of you out there manage your medium to large sized BIND farms? Do you use Sun's BIND? Do you use the one from Sunfreeware? Source? Blastwave? Some other method? I did have a request in with Sun to update their BIND -- would love to see it bump up to 9.5 or so; but I'm guessing this isn't something that will happen within the Solaris 10 tree. They most likely want to stay at 9.3. Appreciate any feedback, Ray [1] https://lists.isc.org/pipermail/bind-users/2009-January/074548.html From shannon_adams68 at yahoo.com Tue Jan 13 20:15:29 2009 From: shannon_adams68 at yahoo.com (Shannon Adams) Date: Tue, 13 Jan 2009 17:15:29 -0800 (PST) Subject: Setting up new Dell printer on Solaris 9 using lexprt Message-ID: <343806.93968.qm@web52906.mail.re2.yahoo.com> We have been using lexprt for years (provided by Lexmark - Version 4.8.2) to setup our laser printers on Solaris 9. We have a mixture of several hundred Lexmark and Dell printers in our organization. Up until now, we have been able to setup all our Dell printers picking an older Lexmark model (since lexprt only lists Lexmark printers) and our Solaris text reports would come out fine. For example, we setup a Dell 5310 by using the following options in the queue: Current Printer < Optra T 6xx (610,612,614,616) Printers Printer Language Enhanced PCL (R) 5e emulation PCL emulation options Under PCL emulation options Resolution 600 dpi Symbol sets Roman-8 Font Courier Pitch 14 Orientation Landscape Text wrap On Auto carriage return On Lines per page 70 66 lines per page Off Top margin 3 Left margin 0 Page width 200 Paper size Letter Paper source Tray 1 Dell just came out with a new printer - model 5330dn. We have tried these same settings that work on all other Dell printers. However, the printed output seems to be using a slightly larger font and the page breaks are not correct. What would normally print on one page, is now carrying over to a few lines on a second page before the page break occurs. I would love to get away from lexprt, however it is not an easy option right now. We plan to goto to Solaris 10 this Summer and will start using CUPS. Any ideas on how I can get around this problem with these new Dell model printers? The printer did come with a Solaris driver for the printer (d5330ps.ppd), but I am not sure how to install it or enable lexprt to "see it". Thanks for any help. From aleks.feltin at sunsetwireless.fi Wed Jan 14 02:48:04 2009 From: aleks.feltin at sunsetwireless.fi (Aleks Feltin) Date: Wed, 14 Jan 2009 09:48:04 +0200 Subject: fcp:fcp_offline_delay Message-ID: <20090114074804.GA29006@dev.scms.fi> Hi Managers, I am on Solaris 10 connected to Symmetrix SAN. What happened recently was a SAN firmware upgrade, which caused small delay (5-10 seconds). As a result, qlc HBAs were offlined and all LUNs have been lost hence the mounts were gone. With forceLIP it succeeded to get them back without rebooting. My major concern is how to avoid such situations in future. How to force Solaris not to offline HBAs for let's say 20-30 seconds and keep filesystem mounted during short maintenances? Very first thing I came up to was fcp_offline_delay parameter. It is set to 20 seconds by default, but it is clear enough that downtime took significantly less time. I puzzled what should I tune to achieve my major objective. thanks in advance, -- A [demime 1.01b removed an attachment of type application/pgp-signature which had a name of signature.asc] From sunhux at gmail.com Wed Jan 14 06:05:48 2009 From: sunhux at gmail.com (sunhux G) Date: Wed, 14 Jan 2009 19:05:48 +0800 Subject: Summary: Tcp/Udp port mapping (equivalent of firewall NAT) Message-ID: <60f08e700901140305j156bf357xbc9e0ea6f32a6333@mail.gmail.com> Thanks to Ric, Hendrik, Peter, Nick, Francisco, Matthew & Crist. Extracted below a couple of selected replies : Though I don't know how to change our Oracle SSO & Oracle GC applications to bind to a different IP addr, I do know how to do this for the UPS software. My plan is to create an alias/secondary address on the existing NIC port & bind the UPS software to this address. ==================================================================== If you can force your applicatin and UPS software to listen only on a specific IP, then you can easily create/add the extra IP on the machine, and then make the two of then listen to the same TCP port number, but each one have it's own IP. BUT it needs to be configured on the application & UPS software to only listen to one IP, and not on all of them. ==================================================================== The "right" way is to have a way to tell your application or applications what address they should bind to. That is, if you have a system with multiple IP addresses, it is perfectly OK for one application to bind to 10.10.10.10:6003, another to 10.20.20.20:6003, while a third binds to IN_ADDR_ANY:6003 (that is, a "wildcard" of sorts). Anything trying to connect to the specific addresses gets the application listening on that address, and anything else gets sent to the one listening for any. Of course, your application has to know to do this. Many don't know how or do not give the user the means to control it; they just always bind to IN_ADDR_ANY. In that case, there are a few kludges available. Like you said, doing NAT is available. Solaris 10 has IPFilter, and it can be used to do this. Tell your backup application to listen on 6007. Give the interface additional address just for backup purposes. Then define a static NAT translation, rdr bge0 10.20.20.20/32 port 6003 -> 10.10.10.10/32 port 6007 tcp Where 10.20.20.20/32 is the "extra" address and the second IP is the "regular" address (although there is no reason the second IP couldn't be the extra address too). Another option with Solaris 10 is using zones. This could be a pretty clean way to do it as long as you have the backup program in the global zone. That would mean putting the other application into a non-global zone, which may or may not be acceptable. You could run the backup in the non-global zone, but it may be pretty kludgly to get it to be able to see the whole system and would definitely take some customizations to the zone. On Tue, Jan 13, 2009 at 12:59 PM, sunhux G wrote: > Hi, > > > We have almost 100 servers that were recently installed with > a UPS software that makes use of Tcp 6003. Unfortunately > for 3 of the servers, the application uses Tcp 6003 ie clashed. > > It's possible for the UPS client software to be configured to use > another port, say Tcp 6007. However, the central UPS controlller > that send signals (when there's AC power failure) to servers to > shut down the servers can only work with one single port, ie it > can't selectively work with 97 servers on Tcp 6003 while the > remaining 3 via Tcp 6007. > > Is there anyway to work around this? Any equivalent of port > mapping (for Network Addr Translation??). On a single NIC, > we can define multiple addresses (alias) but can we have > multiple applications listening on a common Tcp ports? > > > Thanks > U From sun.mail.list at oryx.cc Wed Jan 14 12:33:17 2009 From: sun.mail.list at oryx.cc (Jerry K) Date: Wed, 14 Jan 2009 11:33:17 -0600 Subject: nfs mount on boot issue with Solaris 10 Message-ID: <496E21DD.8050207@oryx.cc> I have an issue where I have ~200 Sun systems doing an NFS mount to an EMC NFS/NAS server. Regardless of my entry in the /etc/vfstab file, remote NFS mounts to not mount on a system reboot. They will mount fine once the system is up by either issuing an individual mount command or generically by issuing the command "mountall". NFS clients consist of V240's, V480/490's and T5120's and T5140's. NFS clients are running Solaris 10u3 through 10u5 and are relatively well patched. I have also reviewed non applied patches (using PCA), and there is nothing jumping out at me as a possible patchable bug. Initially, I thought that possibly DNS was not responding quickly enough during the boot process, and I made sure that my NFS server was in the /etc/inet/hosts file, this made no difference. And once remote mounts are in place (via mountall), everything operates correctly. TIA for any suggestions, I will summarize. Jerry From jfs at themis.com Wed Jan 14 14:12:25 2009 From: jfs at themis.com (jean-francois simon) Date: Wed, 14 Jan 2009 20:12:25 +0100 Subject: need to start X after keyboard is plugged Message-ID: <496E3919.4020206@themis.com> hi, we have that configuration of several ultrasparc systems with a kvm used to access them on a one by one fashion. if a particular system is booting solaris while the kvm is not "attached" to it, then the X server will not be started as solaris doesn't find a keyboard. next, if the kvm is attached to that system, solaris will detect that the keyboard/mouse are now attached. At that point i would like the X server to start automatically, so that the kvm can be used (as a kvm can only use graphics). for that purpose i have written a small script that runs in the background looking for the keyboard node to appear in /devices. when the node is seen, the script starts X. is there a better way to do this under solaris, like some hot plug event that could be used..so that i don't have to add the script? thx a lot -jfs From jesh.shetty at gmail.com Mon Jan 12 13:39:02 2009 From: jesh.shetty at gmail.com (Rajesh Shetty) Date: Mon, 12 Jan 2009 13:39:02 -0500 Subject: metadb information In-Reply-To: References: Message-ID: Forgot to mention that the OS is Solaris 10 On Mon, Jan 12, 2009 at 1:13 PM, Rajesh Shetty wrote: > hi all:Because of disk failure, I had to replace the primary disk in a > dual disk e2900. Three of the metadb replicas were on this disk. Prior to > replacement metadb -i showed the following > > #metadb -i > flags first blk block count > a m luo 16 8192 /dev/dsk/c1t0d0s7 > a luo 8208 8192 /dev/dsk/c1t0d0s7 > a luo 16400 8192 /dev/dsk/c1t0d0s7 > a p luo 16 8192 /dev/dsk/c1t1d0s7 > a p luo 8208 8192 /dev/dsk/c1t1d0s7 > a p luo 16400 8192 /dev/dsk/c1t1d0s7 > > > After replacement, metadb -i shows > > #metadb -i > flags first blk block count > a u 16 8192 /dev/dsk/c1t0d0s7 > a u 8208 8192 /dev/dsk/c1t0d0s7 > a u 16400 8192 /dev/dsk/c1t0d0s7 > a p luo 16 8192 /dev/dsk/c1t1d0s7 > a p luo 8208 8192 /dev/dsk/c1t1d0s7 > a p luo 16400 8192 /dev/dsk/c1t1d0s7 > > > How do I make the metadb replicas on the c1t0 target to: > 1) show the 'l' flag which is to be located and read successfully > 2) to show the 'o' flag which is "metadb active prior to last mddb > configuration change > 3) AND assign the first replica on target c1t0 to be master. Flag 'm' > > Your help is appreciated. > > > Jesh From rgoud at yahoo.com Tue Jan 13 10:31:15 2009 From: rgoud at yahoo.com (Robert) Date: Tue, 13 Jan 2009 07:31:15 -0800 (PST) Subject: Oracle parameters in project References: <569156.69307.qm@web52402.mail.re2.yahoo.com> Message-ID: <420816.88012.qm@web52403.mail.re2.yahoo.com> Please ignore this email, default values other than shared memory are higher than the Oracle recommendation. ________________________________ From: Robert To: Sun Sent: Tuesday, January 13, 2009 10:27:34 AM Subject: Oracle parameters in project Hi list, I am trying to setup the following Oracle parameters in /etc/project in solaris 10 set shmsys:shminfo_shmmax=4294967295 set shmsys:shminfo_shmmin=1 set shmsys:shminfo_shmmni=100 set shmsys:shminfo_shmseg=10 set semsys:seminfo_semmns=800 set semsys:seminfo_semmni=200 set semsys:seminfo_semmsl=300 equivalant of shmmax is project.max-shm-memory, anyone know the equilanat parameters for the rest of them? Thanks in advance _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From slaufer at slis.sjsu.edu Tue Jan 13 15:54:20 2009 From: slaufer at slis.sjsu.edu (Stanley Laufer) Date: Tue, 13 Jan 2009 12:54:20 -0800 (PST) Subject: SUMMARY Re: Tar archives larger than 8GB In-Reply-To: References: Message-ID: It was pointed out that the E flag applies to individual files being archived. So if you're archiving files that are larger than 8GB, then the E flag is required. There is no limit on the size of the archive itself. Sincerest apologies for the hassle. I should obviously have read the man page more carefully. And thanks to those who responded. Stanley E. Laufer Network Administrator School of Library and Information Science San Jose State University On Tue, 13 Jan 2009, Stanley Laufer wrote: > In Solaris 10, is the E flag still mandatory when creating > tar archives over 8GB? > > Using Solaris tar, we created a 14GB tar archive without using > the E flag for extended headers. > > However tar didn't complain, and even without the E flag, > tar happily continued to create the archive even after it > exceeded 8GB. > > We've untarred the 14GB archive and tested the files, and > everything seems to be fine. > > So our question is: > > Is the E flag still mandatory when creating tar archives over 8GB? > > > Many thanks in advance for any replies. I'll post a summary. > > > > Stanley E. Laufer > Network Administrator > School of Library and Information Science > San Jose State University > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers From mid.xinef at gmail.com Wed Jan 14 18:40:18 2009 From: mid.xinef at gmail.com (Midgard) Date: Wed, 14 Jan 2009 17:40:18 -0600 Subject: problems with svm - disk suit, and best way a zone backup Message-ID: <907c65c90901141540k6a92b6f3u42faed4a6303e2db@mail.gmail.com> ** I had a problem with a disk (primary disk of mirror) on t2000 system, this server are on oracle rac with other t2000 server. Well, when I changed the primary disk (c0t0d0) and I put the new disk, with format command I saw that the new disk was on c0t4d0, and in logs messages I saw something like this:device offline or reservation conflict After reboot I could see that my system had a new disk on a normal target c0t0d0, and I started the disk configuration (the same slices size) and then I did the metadevices, and in this point when I tried to use a command metas i have this error: # metadb -a -f -c 3 /dev/dsk/c0t0d0s7 metadb: Segmentation Fault Segmentation Fault (core dumped) # # metainit -f d14 1 1 c0t0d0s6 metainit: Segmentation Fault Segmentation Fault (core dumped) # anyone has any idea?? ** Another question, what is the best way to make a backup of a zone or container on ufs solaris 10? Thanks in advance! Mid From quan.dinh at oracle.com Wed Jan 14 20:21:15 2009 From: quan.dinh at oracle.com (Quan Dinh) Date: Wed, 14 Jan 2009 17:21:15 -0800 Subject: sudo ldap on Solaris 10 In-Reply-To: <20090114074804.GA29006@dev.scms.fi> References: <20090114074804.GA29006@dev.scms.fi> Message-ID: <496E8F8B.1000208@oracle.com> Hi managers, I built and install sudo LDAP based on openssl, cyrus sasl, and open LDAP on Solaris 10. After successful compiling with the compiled flags "--with-ldap --with-pam " I was able to make it work pam_ldap:simple but it failed with pam_ldap:tls:simple as below errors, sudo: ldap search '(|(sudoUser=foo )(sudoUser=%svrtech)(sudoUser=ALL))' sudo: found:cn=admin,ou=sudoers,dc=company,dc=com sudo: ldap sudoHost 'ALL' ... MATCH! sudo: ldap sudoCommand 'ALL' ... MATCH! sudo: Perfect Matched! sudo: user_matches=-1 sudo: host_matches=-1 sudo: sudo_ldap_check(0)=0x402 Password: Sorry, try again. Password: Sorry, try again. Password: Sorry, try again. sudo: 3 incorrect password attempts I searched the Internet and found someone facing a similar problem and followed instruction from this link http://unix.derkeiler.com/Mailing-Lists/SunManagers/2005-08/0066.html, but still have no luck. Any other trouble shoots that can help me? thanks, -Quan From hortenvaldes at gmail.com Wed Jan 14 23:23:26 2009 From: hortenvaldes at gmail.com (Horten) Date: Wed, 14 Jan 2009 22:23:26 -0600 Subject: yppasswdd won't restart....Please HELP!!! Message-ID: I can't restart yppasswdd ....I'm trying using svcadm -v enable /network/nis/passwd and it just goes into maintenance mode...svcs shows the following: # svcs -a |grep passwd maintenance 22:09:32 svc:/network/nis/passwd:default logs files show the following: Jan 14 22:09:32 hostnamex yppasswdd[9072]: [ID 188491 auth.error] yppasswdd: couldn't register yppasswdd Jan 14 23:09:32 hostnamex svc.startd[7]: [ID 748625 daemon.error] network/nis/passwd:default failed repeatedly: transitioned to maintenance (see 'svcs -xv' for details)svc:/network/nis/passwd:default (NIS (YP) password daemon) State: maintenance since January 14, 2009 10:09:32 PM CST Reason: Restarting too quickly. See: http://sun.com/msg/SMF-8000-L5 See: man -M /usr/share/man -s 1M rpc.yppasswdd See: /var/svc/log/network-nis-passwd:default.log Impact: This service is not running. It was working fine and today I created a new user and when trying to make the passwd file, it hung....I killed the make process and somehow yppasswdd also died and now I can't restart it Any help will be GREATLY appreciated!!....Thanks From AJ.Venter at intecbilling.com Thu Jan 15 05:47:30 2009 From: AJ.Venter at intecbilling.com (AJ Venter) Date: Thu, 15 Jan 2009 12:47:30 +0200 Subject: Can one recover the ZFS filesystem that used to be on a disk ? Message-ID: Hi everyone, Here's the situation I'm in, I inheritted a 150Gb ZFS filesystem from a previous admin at my company. Said filesystem was unmirrored and located on a single SAN disk, and in turn allocated to a zone. A request was made to add another 100Gb to the filesystem. Not being an expert on ZFS, I opted to go and RTFM, which I did a lot off, finally I went with what looked like the right answer, just create a SAN lun with a 100Gb available and add it to the zpool, did so - device was there, space didn't increase (which the manual said it should). Oh dear... I dug and dug but only found out later why it was happening (I was adding the toplevel device name instead of the backup slice. By then however I had been moving on to what would have been step two - create a lun eith 250Gb on it, add it to the zone using the replace command and thus get a mirror of the old one onto the new big one. Unfortunately I made my next big mistake here - I unbound the defunct 100Gb LUN on the SAN side at this point - and found out only after this that you cannot remove a disk from a zone without mirroring. Zone was corrupted. So I ran a zpool destroy on it, recreated the pool with the new 250Gb disk, didn't see any space went and dug and finally found out what I had been doing wrong all along. So now I have a pool with the right space... but none of the old data in it. The LUN which held the orriginal data is still there though, just not in a pool at the moment. I tried to do zpool import devicename on it - to no avail. I tried to do a zpool create but it shows as empty. I believe the data should still be on the disk, after all - it wasn't overwritten by anything, so I am wondering if there is a way to recover that zfs filesystem so I can move the data onto the new pool (or something similar). Just to add fuel to the fire, I went and looked at our backup system and it turns out the previous admin had done something very stupid... he excluded the zone filesystems from the backup system - which means I cannot restore from backups as there aren't any. So I am really hoping there is a way to recover the data from the old LUN. Any ZFS experts who can help me ? Ciao A.J. From beo.banks at googlemail.com Thu Jan 15 08:49:00 2009 From: beo.banks at googlemail.com (Beo Banks) Date: Thu, 15 Jan 2009 14:49:00 +0100 Subject: Log Permissions changes Message-ID: hi together, i have the problem that some script,program or a user change the permissions from /var/log to r-x-r-x-r-x, it4s possible to log permissions changes in solaris 9 for directories?? From oussama.babasaci at gmail.com Thu Jan 15 09:36:03 2009 From: oussama.babasaci at gmail.com (oussama baba saci) Date: Thu, 15 Jan 2009 15:36:03 +0100 Subject: SE3510 lun mapping Message-ID: Hi, I have Se3510 FC with dual redundant controller and only 5 disks, I configure one logical drive RAID5 using five disks (assigned to the primary controller) this logical drive is divided on two partitions. I I need to connect the array to two hosts. The current channels configuration is : Ch Type Media Speed Width PID / SID -------------------------------------------------------------------------------------- 0 Host FC(L) 2G Serial 40 / N/A 1 Host FC(L) N/A Serial N/A / 42 2 DRV+RCC FC(L) 2G Serial 14 / 15 3 DRV+RCC FC(L) 2G Serial 14 / 15 4 Host FC(L) 2G Serial 44 / N/A 5 Host FC(L) N/A Serial N/A / 46 6 Host LAN N/A Serial N/A / N/A I have connect the first host to channel FC0 on the upper and FC4 in the lower (multipathing). Now I need to connect the second host, the only remaining host ports are 1 and 5 that have ID on secondary controller and not on the primary, so there is no possibility to map the Luns to the ports in secondary controller since they are already mapped to primary. Is it correct to add new target IDs to these ports(1 and 5) on the primary controller? if yes, what impact it has on redundancy? Many thanks in advance. From ifetch at du.edu Thu Jan 15 10:30:28 2009 From: ifetch at du.edu (Ivan Fetch) Date: Thu, 15 Jan 2009 08:30:28 -0700 (MST) Subject: Summary: Preference for Apache, PHP, and Tomcat packages for Sol10? In-Reply-To: References: Message-ID: Hello Sun Managers, First, a thank you to these folks who responded: Alan Pae Hendrik Visage Kev Smith Gary Jenson William Enestvedt Joseph Kwan Gerard Henry Karl Vogel Since it's longish, my initial question is below this email. We believe we'll use packages from OpenCSW.org, and move to Sun's Web Stack (an officially supported replacement for Cool Stack, http://www.sun.com/software/webstack/) for boxes running Sol10 5/08 or higher. Thanks to Alan for mentioning Web Stack, and Joseph for bringing OpenCSW to my attention again (I'd forgotten about them). Steve at Sunfreeware was willing to compile the latest Apache and PHP5, but unfortunately they are linked against a later libresolv than we have on some of our Sol10 boxes. We will update these boxes, but would like to not _have_ to, for the sake of Apache and PHP. The libresolv issue didn't exist if we took LDAP out of the mix (use the Sunfreeware apache_noldap package, or PHP without LDAP) - but we need LDAP. OpenCSW has later versions of Apache and PHP, but not quite the latest (Apache 2.2.10 vs. 2.2.11, and PHP 5.2.6 vs. 5.2.8). I've emailed both package maintainers asking about updates, but haven't heard back yet. The libresolv issue doesn't exist, because OpenCSW compiles their packages on Sol8 boxes to keep backward compatibility. There is also a bit more granularity in packaging (separate packages for different Apache workers, and PHP extensions). Web Stack has slightly earlier versions of Apache and PHP (2.2.9 and 5.2.6 again). It's supportable via a forum (http://forums.sun.com/forum.jspa?forumID=980). I talked to Sun's phone support, and they don't show a group which supports Web Stack. The Web Stack forum page does say this though: "Sun Web Stack product features a comprehensive set of support offerings via subscriptions similar to MySQL and GlassFish. As such, Sun Web Stack is an officially supported replacement to the Cool Stack, part of the Cool Tools solutions." The above implies you can get additional support from Sun - I'm still tracking this down. I have played with OpenCSW packages and Web Stack (on a Sol10 10/08 box), and they are doing what we need so far. We'd like later versions of Apache and PHP, but (For now) would prefer not to build our own packages - we know that's the best way to get exactly what we want, though. :) Our end goal is upgraded Sol10, and Sun's Web Stack, with support. Thank you again for taking the time to reply, and share your experiences, Ivan. My initial question, on Wed, 7 Jan 2009,: > Hello, > > > I'm curious what folks tend to use for new production installations of > Apache, PHP, and Tomcat. > > There are packages available from Sun Freeware (www.sunfreeware.com), the > Sun Companion DVD (also now put together by Sun Freeware), the packages which > are installed along with Sol10 (SUNWapch* packages), Blastwave > (www.blastwave.org, seems particularly out of date), and Sun's Cool Stack > (cooltools.sunsource.net). There's also creating one's packages, which we've > still not wanted to do as an institution, and, perhaps other sources of > packages I'm not aware of. > > > I'm again evaluating these package maintainers' timeliness creating new > packages after security updates, and flexibility (E.G. we use PHP with LDAP > support, are PHP extensions available as add-on packages?). > > I'd very much appreciate hearing insight from others' experiences - what > do you tend to use for new installations, how have you found the upgrade / > patch process, have you recently switched from one set of packages to > another, and why? > > > Thank you as always, for your time! > > - Ivan From ifetch at du.edu Thu Jan 15 10:43:50 2009 From: ifetch at du.edu (Ivan Fetch) Date: Thu, 15 Jan 2009 08:43:50 -0700 (MST) Subject: Parcial Summary: Climbing CKSUM errors after zpool online In-Reply-To: References: Message-ID: Hello Sun Managers, We received additional info from Sun, which I'd like to pass along. When you offline (zpool offline poolName device) a device, ZFS still "tracks" that device. IN our case, the device disappeared then reappeared (we took the array down for maintenance), causing ZFS to have CKSUM errors once then device is onlined again in ZFS (zpool online). The recommended action for future work (where the array will be offlined), is to detach the legs of our ZFS mirrors, then offline the device in ZFS. I'm not sure if you can, or if there would be a point to, offlining since the device would be detached from the mirror. Detach with something like: zpool status # Take record of which devices mirrors or made of for later zpool detach poolName device # Offline the array, once it's back online: zpool attach poolName existingDevice device # This is why you need zpool status output We fixed the climbing CKSUM errors, by detaching then re-attaching those legs of our mirrors. I'd like to get more definitive info on when zpool offline / online is appropriate, and why the CSUM errors kept climbing after we onlined the devices. This is something we'll probably further experiment with, and keep asking Sun about. Thanks, Ivan. On Wed, 7 Jan 2009, Ivan Fetch wrote: > Hello Sun Managers, > > > We've been working on a weird ZFS issue, and not getting very far with > Sun. > > We needed to relocate a storage array, so "zpool offlined" the second half > of mirrors on multiple machines. Once the array was back online, and we > verified the LUNs were seen in the OS, we did "zpool online" for each of the > previously offlined LUNs. > > The first LUN took about 35 minutes to resilver, and the mirror was fine; > no errors in "zpool status." Subsequent mirrors reported resilver completed > in a matter of seconds, and we got quite a few CKSUM errors (in one case, a > few thousand in 12 hours), but no read or write errors. > > We're experiencing this idential issue on three boxes so far, a couple of > them are: > > 5.10 Generic_127127-11 sun4v sparc SUNW,SPARC-Enterprise-T2000 > > 5.10 Generic_127111-06 sun4v sparc SUNW,Sun-Fire-T200 > > > Sun's answer is to "Just upgrade the kernel, a lot of ZFS bugs have been > fixed, but only upgrade to 137137-06 as later kernels will introduce other > ZFS issues." > > We ended up detaching, then re-attaching the second leg of the mirrors, > and all of them resilvered and do not have CKSUM errors. We will probably end > up doing this on our remaining ZFS boxes but would like to match our symptoms > with a particular bug / resolution / patch, and have more complete answers. > > I've found a few simelar cases on the ZFS Discuss list, but no resolutions > there. > > > Has anyone else run into this issue? > > > Thanks, > > Ivan. > > > --- > Ivan Fetch > University of Denver > Computer Operations, University Technology Services > 303-871-3092 From vinnie.german at credit-suisse.com Thu Jan 15 12:51:36 2009 From: vinnie.german at credit-suisse.com (German, Vinnie) Date: Thu, 15 Jan 2009 12:51:36 -0500 Subject: How to read as an ascii file the contents of /var/adm/wtmpx without using the last command.. Message-ID: <7828A4FA77FB1441B15039D684A0828A09AFDCBD@EPRI17P32002A.csfb.cs-group.com> Hello Managers I'm running the "last" command to read the contents of users who had previously logged into the system. When I do so the output is as follow: bash-2.03# last wtmp begins Wed Dec 31 19:00 bash-2.03# As you can see, the output if empty, there is nothing being displayed, however, the size of the file is 605753552 bash-2.03# pwd /var/adm bash-2.03# ls -ls wtmpx 1183760 -rw-r--r-- 1 adm adm 605771780 Jan 15 12:44 wtmpx bash-2.03# I'm thinking that it's doing so maybe because of the size of file is too large. Here comes my question.. How can I read the content of /var/adm/wtmpx and have it display as it normally will be displayed using the "last" command.? As you know this is a binary data file. I've used "strings" and od but not getting desired output format. Thanks in advance, Vinnie German. ============================================================================= = Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html ============================================================================= = From toml at engr.orst.edu Thu Jan 15 23:02:59 2009 From: toml at engr.orst.edu (Tom Lieuallen) Date: Thu, 15 Jan 2009 20:02:59 -0800 Subject: zfs rootpool degraded and migration Message-ID: <497006F3.2030902@engr.orst.edu> I have a V120 running Solaris 10 U6. I decided to use a zfs root file system so that I could mirror without all the solstice pieces. I installed the OS, then attached the second drive after the OS was up (zpool attach...). It appears that the resilvering had problems. # zpool status pool: rootpool state: DEGRADED status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://www.sun.com/msg/ZFS-8000-8A scrub: resilver completed after 0h41m with 51926 errors on Wed Dec 31 13:05:02 2008 config: NAME STATE READ WRITE CKSUM rootpool DEGRADED 10 0 108K mirror DEGRADED 10 0 108K c0t0d0s0 FAULTED 20 0 0 too many errors c0t1d0s0 DEGRADED 0 1 216K too many errors errors: Permanent errors have been detected in the following files: /a1/solaris10/include/curl/curl.h /a1/solaris10/include/curl/curlver.h ... ... # zfs list NAME USED AVAIL REFER MOUNTPOINT rootpool 13.3G 19.9G 94K /rootpool rootpool/ROOT 4.25G 19.9G 18K legacy rootpool/ROOT/solaris10_6 4.25G 19.9G 4.17G / rootpool/ROOT/solaris10_6/var 83.3M 19.9G 83.3M /var rootpool/a1 2.75G 5.25G 2.75G /a1 rootpool/dump 2.00G 19.9G 2.00G - rootpool/private 341M 5.67G 341M /private rootpool/swap 4G 23.9G 16K - # iostat -e ---- errors --- device s/w h/w trn tot ramdisk1 0 0 0 0 sd0 0 129 487 616 sd3 0 256 877 1133 nfs1 0 0 0 0 The system logs report scsi bus resets and read and write errors for both disks. I assume one of the disks is causing problems for everything on the bus. The 'faulted' disk is the one with the original OS. The files it is reporting problems with are all on rootpool/a1. There's only ~50,000 of them. That's just a copy of our /usr/local, so there's nothing there I need. Should we just shut the machine down/off, reseat both disks, and hope for the best? I'm concerned it won't boot again. :-( Or, if we try to hot-plug one of the disks, it may panic too. I have another related question... I'd like to prepare another disk or two to slap into this host in case it's not repairable or in case something I do makes things worse. :-) What is the proper procedure for installing a machine with zfs root, then moving that disk to another host? I did this once before and it complained about the zpool being last used by a different host. I ended up booting off the net and forcing the import. To simplify matters, should I boot the temporary install host off the net and export the zpool? Or should I just be prepared to force the import? thank you Tom Lieuallen Oregon State University From speedyourmind at yahoo.com Fri Jan 16 08:58:13 2009 From: speedyourmind at yahoo.com (Kiran Sharma) Date: Fri, 16 Jan 2009 05:58:13 -0800 (PST) Subject: Daemon error - SF 880 Message-ID: <118311.20760.qm@web65601.mail.ac4.yahoo.com> Gurus, I got following alert and we had issue with one of the DIM on this box. I googled and found one of the guy had similar issue but there was no summary. Could someone suggest to take right action since it been going on for 3 days. Thanks -KS Jan 14 17:39:19 sunserv05 SUNW,UltraSPARC-III+: [ID 641775 kern.info] NOTICE: [AFT0] Corrected system bus ( CE) Event detected by CPU3 at TL=0, errID 0x0008a6a5.c02a0fac Jan 14 17:39:19 sunserv05 AFSR 0x00000002.000001d4 AFAR 0x000000a0.b748b2b0 Jan 14 17:39:19 sunserv05 Fault_PC 0x1002604c Esynd 0x01d4 Slot A: J3200 Jan 14 17:39:19 sunserv05 SUNW,UltraSPARC-III+: [ID 992315 kern.info] [AFT0] errID 0x0008a6a5.c02a0fac Corr ected Memory Error on Slot A: J3200 is Persistent Jan 14 17:39:19 sunserv05 SUNW,UltraSPARC-III+: [ID 258968 kern.info] [AFT0] errID 0x0008a6a5.c02a0fac Data Bit 75 was in error and corrected Jan 14 17:39:19 sunserv05 SUNW,UltraSPARC-III+: [ID 444236 kern.info] [AFT2] errID 0x0008a6a5.c02a0fac E$ta g PA=0x000000b0.ff88b280 does not match AFAR=0x000000a0.b748b280 Jan 14 17:39:19 sunserv05 SUNW,UltraSPARC-III+: [ID 135804 kern.info] [AFT2] errID 0x0008a6a5.c02a0fac PA=0 x000000b0.ff88b280 Jan 14 17:39:19 sunserv05 E$tag 0x000002c3.fe000001 E$state_2 Invalid Jan 14 17:39:19 sunserv05 SUNW,UltraSPARC-III+: [ID 895151 kern.info] [AFT2] E$Data (0x00) 0x21000008.a01c3 ff0 0xe0078010.80a42000 ECC 0x1cf Jan 14 17:39:19 sunserv05 SUNW,UltraSPARC-III+: [ID 895151 kern.info] [AFT2] E$Data (0x10) 0x048000eb.01000 000 0xe007a044.e0042008 ECC 0x128 Jan 14 17:39:19 sunserv05 SUNW,UltraSPARC-III+: [ID 895151 kern.info] [AFT2] E$Data (0x20) 0xe0042070.80a40 000 0x02800021.01000000 ECC 0x0b6 Jan 14 17:39:19 sunserv05 SUNW,UltraSPARC-III+: [ID 895151 kern.info] [AFT2] E$Data (0x30) 0x21000008.a01c3 fec 0xe0078010.a2042001 ECC 0x193 Jan 14 17:39:19 sunserv05 SUNW,UltraSPARC-III+: [ID 444236 kern.info] [AFT2] errID 0x0008a6a5.c02a0fac E$ta g PA=0x000000b0.5f48b280 does not match AFAR=0x000000a0.b748b280 Jan 14 17:39:19 sunserv05 SUNW,UltraSPARC-III+: [ID 135804 kern.info] [AFT2] errID 0x0008a6a5.c02a0fac PA=0 x000000b0.5f48b280 Jan 14 17:39:19 sunserv05 E$tag 0x000002c1.7d400000 E$state_2 Invalid Jan 14 17:39:19 sunserv05 SUNW,UltraSPARC-III+: [ID 895151 kern.info] [AFT2] E$Data (0x00) 0x04260000.00000 007 0x860000b0.e701c6b2 ECC 0x065 Jan 14 17:39:19 sunserv05 SUNW,UltraSPARC-III+: [ID 895151 kern.info] [AFT2] E$Data (0x10) 0x04260000.00000 007 0x870000b0.c381e6b2 ECC 0x061 Jan 14 17:39:19 sunserv05 SUNW,UltraSPARC-III+: [ID 895151 kern.info] [AFT2] E$Data (0x20) 0x04260000.00000 007 0x840000b0.9a8186b2 ECC 0x0ea Jan 14 17:39:19 sunserv05 SUNW,UltraSPARC-III+: [ID 895151 kern.info] [AFT2] E$Data (0x30) 0x04260000.00000 007 0x850000b0.9081a6b2 ECC 0x0a7 Jan 14 17:39:19 sunserv05 SUNW,UltraSPARC-III+: [ID 929717 kern.info] [AFT2] D$ data not available Jan 14 17:39:19 sunserv05 SUNW,UltraSPARC-III+: [ID 335345 kern.info] [AFT2] I$ data not available Jan 14 23:20:00 sunserv05 adm: [ID 702911 daemon.error] Jan 14 23:20:00 sunserv05 last message repeated 4 times Jan 14 23:20:00 sunserv05 adm: [ID 702911 daemon.error] ********** SYSTEM ACCOUNTING STARTED Wed Jan 14 23 :20:00 EST 2009 ********** Jan 14 23:20:00 sunserv05 adm: [ID 702911 daemon.error] Jan 14 23:20:01 sunserv05 last message repeated 6 times Jan 14 23:20:01 sunserv05 adm: [ID 702911 daemon.error] ************ ACCT ERRORS : see /var/adm/acct/nite/ active0114******** Jan 14 23:20:01 sunserv05 adm: [ID 702911 daemon.error] Jan 14 23:20:01 sunserv05 last message repeated 1 time Jan 14 23:20:08 sunserv05 adm: [ID 702911 daemon.error] ********** SYSTEM ACCOUNTING COMPLETED Wed Jan 14 2 3:20:08 EST 2009 ********** Jan 15 23:20:00 sunserv05 adm: [ID 702911 daemon.error] Jan 15 23:20:00 sunserv05 last message repeated 4 times Jan 15 23:20:00 sunserv05 adm: [ID 702911 daemon.error] ********** SYSTEM ACCOUNTING STARTED Thu Jan 15 23 :20:00 EST 2009 ********** Jan 15 23:20:00 sunserv05 adm: [ID 702911 daemon.error] Jan 15 23:20:01 sunserv05 last message repeated 6 times Jan 15 23:20:01 sunserv05 adm: [ID 702911 daemon.error] ************ ACCT ERRORS : see /var/adm/acct/nite/ active0115******** Jan 15 23:20:01 sunserv05 adm: [ID 702911 daemon.error] Jan 15 23:20:01 sunserv05 last message repeated 1 time Jan 15 23:20:09 sunserv05 adm: [ID 702911 daemon.error] ********** SYSTEM ACCOUNTING COMPLETED Thu Jan 15 2 3:20:09 EST 2009 ********** From ketan.patel at nomura.com Fri Jan 16 11:37:50 2009 From: ketan.patel at nomura.com (ketan.patel at nomura.com) Date: Fri, 16 Jan 2009 16:37:50 -0000 Subject: e1000g0 - Unknown primitive Message-ID: <381CB45169CB1E4AA063F9A40859BF3405A537F3@LONEV3102.EUROPE.NOM> Gurus, I've a Sol 10 5/08 build server running on T5120. /var/adm/messages file is full of errors about e1000g0 and unknown primitive: Jan 16 15:17:56 us1815 ip: [ID 385918 kern.error] e1000g0: failed: DL_UNSUPPORTED These errors appear every 5 minutes (probably in line with some sort of monitoring). This server is part of a cluster and the other node is identical in terms of build/hardware and it doesn't report any sort of errors. These messages had been appearing since the time the server was built. Following is the output of ifconfig -a. e1000g0: flags=1000843 mtu 1500 index 2 inet 147.201.208.106 netmask ffff0000 broadcast 147.201.255.255 ether 0:21:28:16:7c:9a e1000g0:1: flags=1000843 mtu 1500 index 2 inet 147.201.208.102 netmask fffffe00 broadcast 147.201.209.255 e1000g0:2: flags=1000843 mtu 1500 index 2 inet 147.201.208.103 netmask fffffe00 broadcast 147.201.209.255 e1000g0:3: flags=1000843 mtu 1500 index 2 inet 147.201.208.104 netmask fffffe00 broadcast 147.201.209.255 e1000g0:4: flags=1000843 mtu 1500 index 2 inet 147.201.208.105 netmask fffffe00 broadcast 147.201.209.255 Has any of you ever came across such messages? Please let me know if you require additional information. Thanks, Ketan This e-mail (including any attachments) is confidential, may contain proprietary or privileged information and is intended for the named recipient(s) only. Unintended recipients are prohibited from taking action on the basis of information in this e-mail and must delete all copies. Nomura will not accept responsibility or liability for the accuracy or completeness of, or the presence of any virus or disabling code in, this e-mail. If verification is sought please request a hard copy. Any reference to the terms of executed transactions should be treated as preliminary only and subject to formal written confirmation by Nomura. Nomura reserves the right to monitor e-mail communications through its networks (in accordance with applicable laws). No confidentiality or privilege is waived or lost by Nomura by any mistransmission of this e-mail. Any reference to "Nomura" is a reference to any entity in the Nomura Holdings, Inc. group. Please read our Electronic Communications Legal Notice which forms part of this e-mail: http://www.Nomura.com/email_disclaimer.htm From rgoud at yahoo.com Fri Jan 16 11:58:24 2009 From: rgoud at yahoo.com (Robert) Date: Fri, 16 Jan 2009 08:58:24 -0800 (PST) Subject: LUN limitations on Solaris 10 Message-ID: <716365.89256.qm@web52410.mail.re2.yahoo.com> We have EMC guy created about 12 LUNS but solaris 10 host is only seeing 9 LUNS, is there any limitation on number of LUNS on solaris? Do we need to modify sd.conf file? please let me know. thanks in advance From veramontaro at gmail.com Fri Jan 16 22:39:06 2009 From: veramontaro at gmail.com (Vera Montaro) Date: Fri, 16 Jan 2009 19:39:06 -0800 Subject: Solaris Printing Software Message-ID: <72fbfb890901161939q59129ab4v9c00187f1d9dd0b5@mail.gmail.com> We just migrated all production servers from HP-UX to SUN Solaris 10v5. Things are good except production printing. We have about 125 network printers in eight location within the city. To accommodate the complicated printing environment we decided to go with CUPS printing to resolve some of the -o options printing that migrated from hp-ux. The problem is some of our laser printers either too old or ppd drivers don't work at all. I have searched and found the correct ppd drivers for the printer models but most of ppd drivers don't work even the correct model ppd files. I am tired of managing CUPS that none of us has any expertise. My boss is willing to spend money to have a commercial print management software for solaris with full support. Do you know of any? Please share with me. Thanks. Vera From jdd at cs.toronto.edu Sat Jan 17 00:30:02 2009 From: jdd at cs.toronto.edu (John DiMarco) Date: Sat, 17 Jan 2009 00:30:02 -0500 (EST) Subject: Sun Managers Frequently Asked Questions (FAQ) Message-ID: <20090117053002.16B9D59C00E@apps0.cs.toronto.edu> Archive-name: sunmanagers-faq $Id: faq.html,v 1.29 2007/05/25 20:41:16 jdd Exp $ SunManagers Frequently Asked Questions This is collection of common questions posted to the sunmanagers mailing list twice a month. It is intended to benefit Sun System Managers and reduce traffic to the list by providing quick answers to common problems. Keeping with the style of a similar FAQ for comp.windows.x, questions marked with a '+' indicate questions new to this issue; those with significant changes of content since the last issue are marked by '*' The Information Files maintainer is John DiMarco . All corrections, submissions and FAQ administration-related messages should go to . Do not send questions, subscription or unsubscription requests, or sunmanagers postings to this address; they will be quietly ignored. The List Server maintainer is Bill Bradford . Any problems with the mailing list server should be directed to Bill. _________________________________________________________________ Questions 1. The Sun-Manager's Mailing list 1.1) How do I read, join, post to, or remove myself from the sunmanagers mailing list? 1.2) What is the Sun-Manager's Charter? What are the rules? 1.3) Are there any public archives for the sunmanagers list? 1.4) What should I keep in mind when posting to sunmanagers? 1.5) What other forums are there for Suns? 1.6) Where are the answers to questions about old Suns and old versions of Solaris? 1.7) What fields can I use to filter Sun Managers email? 2. Getting Help Over the Net 2.1) How do I find out what patches are available from Sun? 2.2) * How do I get help migrating to Solaris? 2.3) How do I access Sun's documentation over the net? 2.4) To which web sites can I go for help? 3. Network Directory and File Services 3.1) How do I use DNS for hostname resolution? 3.2) How do I change NIS+ credentials for the root master server? 3.3) When I compile something, errors occur saying _dlopen and other _dl routines can't be found. Why? 4. Window Systems 4.1) + What Window system GUIs are supported by Sun? 5. Disks, Tapes and SCSI 5.1) * What sector/head/cylinders parameters should be used for a hard disk? 5.2) * Can I replace an internal drive in a Sun with a higher capacity model? 5.3) Is it okay to disconnect or connect SCSI devices while powered on? 5.4) How do I configure my sun to use Exabyte 4mm DAT tape drives? 5.5) Why is tagged queueing a problem on my third-party disk? 5.6) Why don't third-party CD-ROMS work on my sun? 5.7) What size and density parameters should I use for ufsdump with a high-capacity tape drive? 5.8) My floppy/cdrom device says "device busy". What do I do? 5.9) What software is available for CD-R/CD-RW? 5.10) Where is my disk space? The "du" and "df" commands disagree. 6. Resource Management and Performance Tuning 6.1) How do I tell what caused my machine to crash? 6.2) What can I do if my machine slows to a crawl or just hangs? 6.3) How do I find out how much physical memory a machine has? 6.4) How do I find out what my machine's memory is being used for? How can I tell if I need more memory? 6.5) Why do some files take up more disk space after being copied? Why are the sizes reported by ls -l and du different? 7. HTTP and Anonymous FTP 7.1) * How do I set up anonymous ftp on my machine? 7.2) + Where can I get a Web server for Solaris? 8. Consoles, Keyboards and Key Remapping 8.1) How do I make the numeric keypad on a sun keyboard work with xterm? 8.2) How do I swap the CAPS LOCK and CONTROL keys on a sun keyboard? 8.3) How do I use a Windows PC for a Sun serial console? 9. Sun models and OS Versions 9.1) * Which Sun models run which version of SunOS? 9.2) How can my program tell what model Sun it is running on? 9.3) How do I find out a Sun's boot prom revision? 9.4) * Which hardware/software is capable of 64-bit? Which is only 64-bit? How can I tell which is running? 10. Miscellaneous Software 10.1) My remote ufsdump is failing with a "Protocol botched" message. What do I do? 10.2) * Where can I get a C compiler for Solaris? 10.3) How do I read Microsoft Word documents on my Sun? 10.4) How do I restore to a different location the contents of a tarfile created with absolute pathnames? 11. Miscellaneous Hardware 11.1) * How come my mouse occasionally doesn't work? 11.2) How can I turn my old sun into an X-Terminal? 11.3) * How can I use an SVGA monitor on my Sun? 11.4) Where can I find alternate pointing devices for my Sun? 12. Networking 12.1) Why do both my net interfaces have the same ethernet address? 12.2) How can I know the hardware vendor from an ethernet address? 12.3) * How do I set my ethernet interface to e.g. 100Mb full duplex? 12.4) How do I find out what process is using a particular port? 12.5) I have a lot of ports in WAIT states. Why? 13. Electronic Mail 13.1) * Where can I get a POP or IMAP server for my sun? 14. Printing 14.1) + How do I get started with LP-style printing in Solaris? 14.2) How do I configure a non-postscript printer for postscript? 15. Misc System Administration 15.1) I've forgotten the root password; how can I recover? 15.2) How do I disable/remap STOP-A/L1-A? 15.3) How do I manage services in Solaris 10 and later? Do I still make links in /etc/rc*.d? Answers _________________________________________________________________ 1. The Sun-Manager's Mailing list _________________________________________________________________ 1.1) How do I read, join, post to, or remove myself from the sunmanagers mailing list? Point your web browser to http://www.sunmanagers.org Persons without web access should send a mail message to "sunmanagers-request at sunmanagers.org" containing the single word "help". Messages can be posted to the list by mailing them to the address "sunmanagers at sunmanagers.org". Do not do this until you have read the charter/policy (question 1.2) and the "how to post" document at http://www.sunmanagers.org. The policy and the "how to post" document is sent to the entire list twice a month. It is also sent out to every new subscriber and is available at http://www.sunmanagers.org. The latest version of the FAQ (this file) is available at http://www.sunmanagers.org _________________________________________________________________ 1.2) What is the Sun-Manager's Charter? What are the rules? 1: This list is NOT moderated! Every message that is sent to the list will be passed on to every member of the list. 2: Requests to have addresses added or removed from the list should NOT be sent to the entire list. Instead, addresses should be added or removed via the web page at http://www.sunmanagers.org Similarly, test messages of any sort should not be sent to the list. 3: This list is intended to be a quick-turnaround trouble shooting aid for those who administer and manage Sun systems. Its primary purpose is to provide the Sun manager with a quick source of information for system management problems that are of a time-critical nature. 4: All responses are to be mailed back to the questioner and are NOT to be sent to the entire list. Any response to a list message sent to the list, rather than to the person asking the question, will be deleted without notice. The person who originally asked the question has the responsibility of summarizing the answers and sending the entire summary back to the list. When a summary is sent back to the list, the word "SUMMARY" should be the first word of the "Subject" line. 5: Discussions on ANY topic are not allowed and will not be tolerated. If you want to discuss something, take it to the appropriate Sun newsgroup. 6: If it is not specifically related to Sun system management, then it does NOT belong on this list. Requests for vendor recommendations are tolerated, provided that the hardware in question is something that system managers normally purchase. 7: Commercial Advertising of any sort on the list is strictly prohibited. 8: Postings about employment, either employment sought or offered, are not permitted on this list. Please use a more appropriate forum, e.g. one of the newsgroups in the misc.jobs USENET hierarchy. 9: Requests for software (free or otherwise) should be limited to software that is directly related to Sun SYSTEM MANAGEMENT ONLY. 10: Read the appropriate manuals BEFORE posting, including the "Read This First" documents. Oftentimes the manuals contain answers for common problems. 11: When including a traceback from a system panic, make sure that it is a symbolic traceback. Numeric tracebacks (the ones included as part of the panic message) are not helpful; don't bother sending them to the list. 12: A posting to sunmanagers is not a general invitation to email the poster -- if you wish to send email to a sunmanagers poster, the email you send should be related to the posting, else it will be unsolicited email and may be treated like any other unsolicited email (e.g. spam). Sunmanagers is not to be used to collect email addresses of people who manage Sun systems. Those who do this not only violate the list's policy, but risk seriously offending the very people they are attempting to reach. 13: PLEASE PLEASE PLEASE...Think before you send a message! Ask yourself "is this really appropriate?" There are enough other newsgroups and mailing lists around to cover the marginal topics. Perhaps there is another forum that is more appropriate? Check the list of Sun specific newsgroups included in the FAQ. Perhaps your message would be more appropriate there? Remember that Sunmanagers is very public: we have thousands of subscribers, all postings are archived for posterity on various archive sites, and these sites are in turn searchable via various web engines. Submitting a posting is irreversible -- once it goes out, it cannot be taken back! Failure to adhere to these guidelines may result in severe chastisement by the list participants. Not only will you succeed in looking like a careless fool, and in making Sun Systems Managers all over the world annoyed at your incompetence, you may end up damaging your professional reputation. _________________________________________________________________ 1.3) Are there any public archives for the sunmanagers list? Sunmanagers' official archive is accessible at http://www.sunmanagers.org All postings are automatically archived. It is our policy not to accommodate requests to modify the archives, so if you are uncomfortable with your submissions in their entirety being public, do not submit them. Also, various members also keep their own archives on their own initiative. Some of these are public. Here are some we know about: http://aa11.cjb.net/sun_managers/index.htm Hank Leininger maintains a searchable archive site of messages (both questions and summaries) in Florida. It can be accessed at: http://marc.theaimsgroup.com/?l=sun-managers Dataman Benelux in the Netherlands hosts a "fuzzy" full-text index of the Sun Managers mailing list at: http://www.dataman.nl/cgi-bin/sunmanagers Manfred Liebchen maintains an archive site in Germany. It can be accessed at: http://www.uni-koeln.de/RRZK/Abt-Systeme/sun/infos/SUN-MANAGERS/sunman .html Older summaries (up to mid-1999) are available at http://www.latech.edu/sunman.html _________________________________________________________________ 1.4) What should I keep in mind when posting to sunmanagers? * VERY IMPORTANT! Before you post, read the sunmanager's list policy, which is available at http://www.sunmanagers.org * Sun Managers is a huge unmoderated mailing list. Every message you send will be passed on to every member of the list. This means you have access to a much larger audience when you need help, but it also means you can embarrass yourself in front of a huge number of people, most of them professionals in your field, including colleagues, peers, and possible future employers. Further, your posting will be archived in various places, some public, some private -- we have no way of knowing all the archive locations. Some of these archives, including the official one at http://www.sunmanagers.org, are web-searchable. It is our policy not to accommodate requests to remove or modify postings as archived on http://www.sunmanagers.org. Once you submit your message, it will be irretrievably accessible to a large number of people. There is no "taking it back". * Sun Managers is completely voluntary. Nobody is required to help you. We are all cooperating by sharing our knowledge. Accept with grace whatever responses you get, and don't hound people if they are helpful or they won't be the next time. * Sun Managers is not the list to use when you run out of other places to post. Job postings, PC questions, X questions all have their own lists and newsgroups. Use only the appropriate list or newsgroup for such things, not Sun Managers. Inappropriate postings will only make people annoyed at you. * The more information you give about a problem, the easier it is for others to help you. This doesn't mean you should uuencode the kernel and post it, but you should include your OS version, your hardware, and all relevant symptoms of your problem. Unless the request is of a general nature, the output of "uname -a" is almost certainly helpful. * When making a summary, please summarize as much as possible all the answers you received, even the ones you didn't decide to follow: if you receive several different suggestions, and decided on one, remember that somebody else reading the summary may not find the suggestion you followed to be the best one in his or her situation, and may benefit from one of the suggestions you didn't choose. * Be generous. If you have the information requested (especially if it is obscure) then please respond. You may be the person requesting help next time. _________________________________________________________________ 1.5) What other forums are there for Suns? Other forums that relate to Suns: USENET Newsgroups (accessible via "rn", "readnews", "nn", netscape, etc.): There is an entire USENET hierarchy devoted to Sun equipment. Some of these groups include: * comp.sys.sun.admin - Sun system administration * comp.sys.sun.announce - Announcements pertaining to Sun equipment * comp.sys.sun.apps - Applications that run on Suns * comp.sys.sun.hardware - Sun hardware (and clones too, I think) * comp.sys.sun.misc - Miscellaneous * comp.sys.sun.wanted - Sun stuff to buy or sell Other newsgroups that may also be of interest: * comp.unix.solaris - Solaris on all platforms * alt.sys.sun - may not be available everywhere * comp.sys.sun - newsgroup equivalent of sun-spots * comp.sources.sun - Sun-specific sources (not very active) Mailing lists: Sun Flash (Sun Product Announcements/news releases) sunflash-request at sunvice.East.Sun.COM - add/remove requests SunHelp (Discussion/help/chat about Sun machines and Software) http://www.sunhelp.org/mailman/listinfo/sunhelp Rescue (Rescuing old Sun equipment from the dump) http://www.sunhelp.org/mailman/listinfo/rescue Sunergy (Sun Commercial Newsletter) sunergy_information at Sun.COM - add/remove requests Suns-at-home (Home use of Sun Workstations) Suns-at-Home-Request at net-kitchen.com - add/remove requests Suns-at-Home at net-kitchen.com - submissions Suns-at-Home-Archives at net-kitchen.com - archive requests ssa-managers (Sun RAID software and hardware products) majordomo at eng.auburn.edu - add/remove requests (e.g. send "subscribe ssa-managers" in message body) veritas-users (Veritas products) http://mailman.eng.auburn.edu/mailman/listinfo CIAC notes (US. DOE Computer Incident Advisory Capability) ciac-listproc at llnl.gov - add/remove requests listmanager at cheetah.llnl.gov - human list manager CERT Advisory mailing list (security notifications for Suns and others) cert-advisory-request at cert.org - add/remove requests Solaris on Intel-based (x86) machines http://groups.yahoo.com/group/solarisx86/ Old list archives at: http://www.egroups.com/list/solarisonintel/ Auspex: managers of Auspex NFS file servers auspex-request at princeton.edu - add/remove requests auspex at princeton.edu - submissions Solbourne: managers of Solbourne SPARC systems "info-solbourne" list majordomo at acsu.buffalo.edu - add/remove requests info-solbourne at acsu.buffalo.edu - submissions ftp://ftp.acsu.buffalo.edu/pub/misc/info-solbourne.tar.z archives disksuite-l: for users who use Sun's Solstice Disksuite software majordomo at lists.veritel.com.br - add/remove requests sysadm at veritel.com.br - list owner Linuxmanagers: for users of Linux, including Sun Linux. http://www.linuxmanagers.org NOTE: if you wish to be added to one of the above mailing lists, send mail to the REQUEST address! Do not send add requests to the main address! For Web pages, see the answer to question 2.4. _________________________________________________________________ 1.6) Where are the answers to questions about old Suns and old versions of Solaris? Those questions and answers used to be in this FAQ, but since they're no longer frequently asked, they've been moved elsewhere. The FAQ as of late 2005 contained information about pre-UltraSPARC suns and versions of Solaris before Solaris 8, and is available at ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq-2005. The FAQ as of late 2000 contained information about pre-SPARC suns, early SPARCstations, and SunOS 4.x, and is available at ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq-2000. _________________________________________________________________ 1.7) What fields can I use to filter Sun Managers email? The following headers will exist in any mail to the list: To: sunmanagers at sunmanagers.org List-Help: List-Post: List-Subscribe: , List-Id: The Sun Managers Mailing List List-Unsubscribe: , List-Archive: _________________________________________________________________ 2. Getting Help Over the Net _________________________________________________________________ 2.1) How do I find out what patches are available from Sun? If you have a software service agreement with Sun, you can use Sun's "SunSolve ONLINE" service to obtain patches. Check your service agreement for details. Many anonymous ftp sites have partial collections of patches. WARNING: if you ftp patches from an ftp site, you are trusting whomever put them there. To be absolutely safe, get your patches from a trusted source. Rik Harris maintains a WAIS archive (sun-fixes.src) of most available patch READMEs. The Sun User Group (SUG) CD ROM also has a collection of Sun patches. _________________________________________________________________ 2.2) * How do I get help migrating to Solaris? Start by reading the Solaris FAQ, maintained and posted periodically to comp.unix.solaris by Casper Dik . It can be obtained at http://www.science.uva.nl/pub/solaris/solaris2 Then go to the Solaris Security FAQ, maintained by John Pancharian and hosted by IT World at http://www.itworld.com/Comp/2377/security-faq/ Sun has a programme for developers/companies to migrate to Solaris. It's documented at http://advantage.sun.com/partners/10moves/. _________________________________________________________________ 2.3) How do I access Sun's documentation over the net? Sun has a web site devoted to documentation, at http://docs.sun.com _________________________________________________________________ 2.4) To which web sites can I go for help? This is not a complete list, but: First, see the answer to question 2.2. Sun's documentation is available at http://docs.sun.com You can search the Sun newsgroups at http://www.dejanews.com Sun-Managers Archives are described in the answer to question 1.3 above. Some sites suggested by Jeffrey Meltzer are: * SolarisGuide - http://www.solarisguide.com * SunHelp - http://www.sunhelp.org * SolarisCentral - http://www.solariscentral.org * SunGuru - http://www.sunguru.com * SunFreeware - http://www.sunfreeware.com TechTarget has a search engine at http://searchenterpriselinux.techtarget.com that also covers Solaris. Eric De Mund suggests the BigAdmin site run by Sun, at http://www.sun.com/bigadmin Alan Pae suggests Sun Country, at http://www.ilkda.com _________________________________________________________________ 3. Network Directory and Files Services _________________________________________________________________ 3.1) How do I use DNS for hostname resolution? In Solaris 2.x, this is easy: simply edit /etc/nsswitch.conf and put "dns" before (or instead of) nis or nisplus on the line that begins with "hosts:". For example, to look up hostnames first in the host file and then in the DNS, use "hosts: files dns" _________________________________________________________________ 3.2) How do I change NIS+ credentials for the root master server? If an NIS+ system is functioning correctly and only the root password and root private keys for the system need to be changed, follow these steps: 1) Login as root for the system and change the root password in the /etc/shadow file: {root}3% passwd passwd: Changing password for root New password: Re-enter new password: {root}4% 2) Change the system's private key in the cred table: {root}4% chkey -p Updating nisplus publickey database. Reencrypting key for 'unix.ramayan at bharat.i n'. Please enter the Secure-RPC password for root: Please enter the login password for root: {root}5% 3) If running replica server(s) then wait until the changes to the credential object table has been propagated to its replicas. This could be up to 2 minutes. 4) Change the system's /etc/.rootkey: {root}5% keylogin -r Password: Wrote secret key into /etc/.rootkey {root}6% The procedure above will work for any system -- root server, root replica, non-root servers, and all clients. The steps above change only the system's root password and private keys, not the public keys for the system. Thanks to Ronald W. Henderson . However, if you want to change all the root credentials, including the public key, follow these steps: Use the passwd command on the root master server to change the root password. But DO NOT follow this with a chkey -p to update the credentials for the root master server, because this will disable the entire NIS+ domain. The only way to recover from this is to rebuild the domain from scratch! It is possible to change the credentials of the root master server, but it is not easy. The procedure follows: To change the keys for the root master server do as follows: 1. use these commands in this order: nisupdkeys -CH master.server.name. groups_dir.domain.name. nisupdkeys -CH master.server.name. org_dir.domain.name. nisupdkeys -CH master.server.name. domain.name. (This CLEARS the public key for the HOST "master.server.name" in this directory.) 2. Kill rpc.nisd and restart it at security level O then run this command: nistbladm -R cname=master.server.name. cred.org_dir.domain.name. nisaddcred des 3. Shutdown and restart any replicas of org_dir.domain.name. at run level O nisping org_dir.domain.name. nisdupdkeys domain.name. nisupddkeys org_dir.domain.name. nisupdkeys groups_dir.domain.name. 4. Kill and restart all rpc.nisd servers at level O to security level 2. Note that changing a server's key affects all directory objects containing the key. Thanks to Rogerio Rocha and Sun INFODOC ID 2213 for this information. _________________________________________________________________ 3.3) When I compile something, errors occur saying _dlopen and other _dl routines can't be found. Why? You are probably trying to compile something statically. You must either include stub routines for the _dl routines, or you must link the C library (or -ldl) dynamically. The source code below provides do-nothing stubs for the routines in question. /* libdl stubs -- John DiMarco */ char *dgettext(domainname, msgid) char *domainname; char *msgid; { return(msgid); } void *dlopen(pathname, mode) char *pathname; int mode; { return((void *)NULL); } void *dlsym(handle, name) void *handle; char *name; { return((void *)NULL); } char *dlerror() { return(NULL); } int dlclose(handle) void *handle; { return(0); } _________________________________________________________________ 4. Window Systems _________________________________________________________________ 4.1) + What Window system GUIs are supported by Sun? Sun's default window system for Solaris is CDE; Gnome is also supported. Sun's Java Desktop System and the Sunray software for Linux uses Gnome. _________________________________________________________________ 5. Disks, Tapes and SCSI _________________________________________________________________ 5.1) * What sector/head/cylinders parameters should be used for a hard disk? The format program can almost always figure this out on its own by querying the drive, but if you wish, you can specify your own in /etc/format.dat. A format.dat file containing entries submitted by various people is available for anonymous ftp at ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/format.dat It is currently maintained by John DiMarco (jdd at cs.toronto.edu). New entries are welcome; mail them to sunmanagers-format at sunmanagers.org For SCSI disks on modern suns, a format.dat entry can be auto-generated using John DiMarco's scsiinfo program, available at ftp://ftp.cs.toronto.edu/pub/jdd/scsiinfo/. It will query the disk directly, and has an option to generate an appropriate format.dat entry. Finally, you can compute your own entry. For SCSI disks, any combination of cylinders, heads, and sectors that does not add up to more than the rated formatted capacity of the drive will normally work. A grossly different geometry may result in some slight performance degradation, but it should still work. The SCSI protocol hides most of the drive details from the host, and hence the host need not know much about the drive to format or use it. _________________________________________________________________ 5.2) * Can I replace an internal drive in a Sun with a higher capacity model? Yes, usually. If you purchase it from someone other than Sun, it is wisest to make sure that it is either a model of drive that is supported by Sun for that machine, or that it at least does not dissipate more heat than the hottest of the drives supported by Sun. The Sun Systems Handbook lists various drives supported on various models; you can query it on the web for modern Suns at http://sunsolve.sun.com/handbook_pub/Systems. For systems which are not maximally configured (e.g. there are empty internal drive bays), it might be safe to exceed this limit a bit, but caveat emptor. Disk drive heat dissipation/power figures are available on the drive's datasheet, available on the drive vendor's web site. The most relevant figure is the wattage indicated for "Read/Write" or "Seek". Unfortunately, different vendors report this in different ways; read the vendor's documentation to see what this figure indicates. This figure is sometimes indicated in amps at 5V and 12V; convert to watts by multiplying the voltage by the amperage in each case, and adding the two together. _________________________________________________________________ 5.3) Is it okay to disconnect or connect SCSI devices while powered on? On older machines (without onboard SCSI controllers), it is never a good idea to do this. You risk blowing a fuse on the CPU board, or part of the SCSI hardware. On newer machines (sparcstations and later), many people have done this regularly without problems. Halt the machine (sync;L1-A), remove or add the device, then continue. However, it is possible to blow the SCSI termination power fuse on the motherboard. If your machine hangs immediately on powerup unless the SCSI bus is externally terminated, this fuse may need to be replaced. Caveat Emptor. _________________________________________________________________ 5.4) How do I configure my sun to use Exabyte 4mm DAT tape drives? Add the following to /kernel/drv/st.conf: tape-config-list = "EXABYTE EXB-4200", "Exabyte 4mm EXB-4200", "EXBT-4200", "EXABYTE EXB-4200c", "Exabyte 4mm EXB-4200c", "EXBT-4200c" EXBT-4200 = 1,0x34,1024,0x0029,4,0x63,0,0,0,3; EXBT-4200c = 1,0x34,1024,0x0029,4,0x63,0,0x13,0,3; Exabyte also recommends that their 4mm tape drives have firmware revision levels of at least the following when used on suns: * EXB-4200 No restriction, but revision 148 or higher is recommended * EXB-4200c Level 149 minimum (mode select for compression) Thanks to Dave Hightower . _________________________________________________________________ 5.5) Why is tagged queueing a problem on my third-party disk? Tagged Command Queueing (TCQ) is an optional part of the SCSI-2 specification. It permits a drive to accept multiple I/O requests for execution later. These requests are "tagged" by a reusable id so that the drive and the OS can keep track of them. The drive can reorder these requests to optimize seeks. For more details, see the SCSI-2 specifications. A draft version is available at ftp://ftp.cs.toronto.edu/pub/jdd/scsi-doc/scsi2.10b.gz SunOS 4.x and earlier never uses tagged queueing. However, Solaris 2.x will make use of tagged queuing if the drive claims to support it. Unfortunately, some drive manufacturers have found it hard to design their drives to do tagged queueing properly, and this particular area has been a common source of bugs in drive firmware. If it is not possible to turn off tagged queueing in the drive that is causing the problem, Solaris 2.x can be told not to use tagged queueing at all, by putting the following line in /etc/system: set scsi_options & ~0x80 The "scsi_options" kernel variable contains a number of bit flags which are defined in /usr/include/sys/scsi/conf/autoconf.h. 0x80 corresponds to tagged queueing. However, this turns off tagged queueing for the entire machine, not just the problematic drive. Because tagged queueing can provide a significant performance enhancement for busy drives, this may not always be desirable. In Solaris 2.4 and later, it is possible to disable tagged queueing and set or clear other scsi options on a per-controller or per-drive basis. The appropriate technique is described in the esp(7) and isp(7) man pages. _________________________________________________________________ 5.6) Why don't third-party CD-ROMS work on my sun? When Sun first decided to add CD-ROM support, there were already a great number of systems in the field, all of which contained boot proms that expected to boot from disks with 512 byte sectors. Sun had to decide between replacing a whole lot of boot proms or finding a way to make a CDROM act like a disk with 512 byte sectors in order to support it as a boot device. They chose the latter approach. Many third party CD-ROM drives use 1024 or 2048-byte sectors, which causes the SCSI driver to see a "data overrun". When the driver asks for N "blocks" (which it thinks are 512 bytes each ) it gets more data back than it expected. Some CD-ROM drives can be told to use 512 byte sectors by setting a jumper, cutting a trace, or using a software command (mode select). Details vary widely, but if you are seeing a data overrun on a third party CD-ROM, then it is most likely doing 1K or 2K transfers and will need some work to be a boot device for a Sun. Thanks to Kevin Sheehan For more information about third-party CD-ROMS on Suns, consult the CD-ROM FAQ, maintained by Mike Frisch and Martin Hargreaves . It can be found on the World Wide Web at ""http://saturn.tlug.org/suncdfaq". A UK mirror is available at ""http://www.datamodl.demon.co.uk/suncd/". _________________________________________________________________ 5.7) What size and density parameters should I use for ufsdump with a high-capacity tape drive? The only purpose of the ufsdump size and density parameters is to let dump calculate the capacity of each tape and then decide for itself when it needs a new tape. If the filesystem you are dumping is larger than the tape, you will need to use more than one tape. But ufsdump can detect the end of media for all modern tape drives, and will automatically prompt for new tapes when needed, so as long as the size and density parameters indicate a tape as long as or longer than the one you're using, ufsdump will behave properly. Thanks to Niall O Broin _________________________________________________________________ 5.8) My floppy/cdrom device says "device busy". What do I do? The Volume Manager (vold) is probably holding the device open. You can access a floppy through the volume manager by typing "volcheck" and looking in /floppy/*. CD-ROMs don't require volcheck; just insert one and the volume manager should automatically notice, and mount it under /cdrom/*. Unmount by typing "eject floppy" or "eject cdrom", respectively. The Volume Manager can be configured by editing /etc/vold.conf. If you need to access a floppy or CD-ROM special device, however, you may need to turn off the volume manager. As root, type "/etc/init.d/volmgt stop". To turn it back on, type "/etc/init.d/volmgt start". _________________________________________________________________ 5.9) What software is available for CD-R/CD-RW? Commercial Software: GEAR by Elektoson - http://www.elektroson.com/ Young Minds - http://www.ymi.com/ - High-end integrated hardware/software solution Creative Digital Research - http://www.cdr1.com/ Joerg Schilling has developed an excellent cd recording package called cdrecord. This package should meet most needs. See http://www.fokus.gmd.de/research/cc/glone /employees/joerg.schilling/private/cdrecord.html for much more information, including supported hardware. Andy McFadden has an excellent CD-Recordable FAQ at: http://www.cdrfaq.org Thanks to Mark Belanger _________________________________________________________________ 5.10) Where is my disk space? The "du" and "df" commands disagree. If a process is holding open a file, and that file is removed, the space belonging to the file is not freed until the process either exits or closes the file. This space is counted by "df" but not by "du". This often happens in /var/log or /var/adm when a long-running process (e.g. syslog) is holding open a file. In the case of syslog, send it a HUP (e.g. kill -HUP ). You can use LSOF (ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof) to find which processes are holding open a particular file. Thanks to Stefan Voss and Michael R. Zika Under Solaris 2.6 and later, files which have been unlinked can still be accessed through the /proc interface. If a process is holding open such a file for writing, but it's inconvenient or impractical to kill the process or get it to close the file, you can free up the disk space by truncating (not removing) the file from under /proc; e.g., # cd /proc/1234/fd # ls -l c--------- 1 root 24, 12 Jan 1 11:33 0 c--------- 1 root 24, 12 Jan 1 11:33 1 c--------- 1 root 24, 12 Jan 1 11:33 2 --w------- 1 root 314159265 Jan 1 11:37 3 # : > 3 # ls -l c--------- 1 root 24, 12 Jan 1 11:33 0 c--------- 1 root 24, 12 Jan 1 11:33 1 c--------- 1 root 24, 12 Jan 1 11:33 2 --w------- 1 root 0 Jan 1 11:38 3 Thanks to Dan Astoorian Brian Poole writes: Another possible cause of df & du disagreeing is if the files are being 'hidden' under a mount. I ran into this recently where I had a large number of files in /tmp (from adding patches in single user mode) that were on the root partition. Thus when I was looking for them in multiuser mode, I couldn't find them because of the tmpfs overlay. I exported the root partition via NFS and upon mounting it found the hidden files and deleted them. _________________________________________________________________ 6. Resource Management and Performance Tuning _________________________________________________________________ 6.1) How do I tell what caused my machine to crash? The crash messages will usually be displayed on the console, and are usually logged to /var/adm/messages via syslog as well after a warm reboot. In older versions of Solaris, the "dmesg" command may also show crash messages. If your system repeatedly crashes with similar looking errors, try searching through the patch list on the Sun patch database for a description that matches your machine. In versions of Solaris 2 up to and including Solaris 2.6, uncomment the "savecore" line in the file /etc/init.d/sysetup to enable crash dumps. As of Solaris 7 and later, crash dumps are enabled by default; see the manual page for dumpadm(1M) for information on how to customize system dump configuration. To report a crash dump, you need a symbolic traceback for it to be useful to the person looking at it. Type the following: cd /var/crash/`hostname` echo '$c' | adb -k unix.0 vmcore.0 The "crash" utility can be useful for analyzing crash dumps for Solaris up to and including Solaris 8. "Crash" has been superseded by "mdb" (modular debugger) as of Solaris 8. Thanks to Dan Astoorian _________________________________________________________________ 6.2) What can I do if my machine slows to a crawl or just hangs? Try running "ps" to look for large numbers of the duplicate programs or processes with a huge size field. Some system daemons occasionally can get into a state where they fork repeatedly and eventually swamp the system. Killing off the child processes doesn't do any good, so you have to find the "master" process. It will usually have the lowest pid. Another useful approach is to run vmstat to pin down what resource(s) your machine is running out of. You can tell vmstat to give ongoing reports by specifying a report interval as its first argument. The programs "top" and "sps" are good for finding processes that are loading your system. "Top" will give you the processes that are consuming the most cpu time. "Sps" is a better version of "ps" that runs much faster and displays processes in an intuitive manner. Top is available at ftp://ftp.groupsys.com/pub/top/. Sps is available at ftp://ftp.csv.warwick.ac.uk/pub/solaris2/sps-sol2.tar.gz. Doug Hughes has written a small, quick PS workalike called "qps", available from his web page at http://www.eng.auburn.edu/users/doug/second.html Sometimes you run out of memory and you won't be able to run enough commands to even find out what is wrong. You will get messages of the type "out of memory" or "no more processes". Note that "out of memory" refers to virtual memory, not physical memory. On a Solaris system, virtual memory is generally equal to the sum of the swap space and the amount of physical memory (less a roughly constant amount for the kernel) on the machine. The command "swap -s" will tell you how much virtual memory is available. You can sync the disks to minimize filesystem corruption if you have to crash the system: Use the L1-A sequence to crash the system. If you are on an older system, type "g0" and you will get the message "panic: ... syncing file systems". When you see the word "done", hit L1-A again and reboot. On systems with the "new" prom, type "n" to get into the new command mode and type "sync". _________________________________________________________________ 6.3) How do I find out how much physical memory a machine has? Use /usr/sbin/prtconf if the machine is running Solaris. If it's a sun4u running Solaris 8 or previous, /usr/platform/sun4u/sbin/prtdiag is very helpful. It's /usr/sbin/prtdiag in Solaris 9 and later. On high-end machines, /usr/sbin/cfgadm -al can also provide memory information. The banner message on reboot (or type "banner" in the monitor on machines with Openboot proms) will usually report the amount of physical memory. Alternatively, you can open up the case and count SIMMS and/or memory boards. A perl script "memconf" is also available that identifies the sizes and locations of SIMM/DIMM memory modules installed in a Sun system. It also works on several SPARC clones and with Sun Explorer data. It is maintained by Tom Schmidt . Download memconf from http://www.4schmidts.com/unix.html _________________________________________________________________ 6.4) How do I find out what my machine's memory is being used for? How can I tell if I need more memory? To discover how much virtual memory (i.e. swap) is free, run "swap -s" or "vmstat". If you're using tmpfs for /tmp, "df /tmp" will also work. Discovering how physical memory is being used can be more difficult, however. Memory pages that are not being used by processes are used as a sort of extended cache, storing pages of memory-mapped files for possible later use. The kernel keeps only a small set of pages free for short-term use, and frees up more on demand. Hence the free memory reported by vmstat is not an accurate reflection, for example, of the amount of memory available for user processes. An easy way to determine whether or not your machine needs more memory is to run vmstat and examine the po (page out) column and the sr (scan rate) column. If these columns consistently show large numbers, this suggests that your machine does not have enough memory to support its current workload, and frequently needs to write pages belonging to active processes to disk in order to free up enough memory to run the current job. _________________________________________________________________ 6.5) Why do some files take up more disk space after being copied? Why are the sizes reported by ls -l and du different? Some files -- core files being one common example -- contain "holes", areas which were seeked over without being written. These files are called "sparse". When read back, these areas appear to contain zeros; however they do not occupy disk space. The "length" of such a file (as reported by "ls -l") will exceed its "size" (as reported by "ls -s" and reflected in the results of du or df). cp, cpio, and tar do not detect holes; they read and copy the zeros, and the resulting files will contain all-zero blocks (which occupy space) where the input files contained holes (which do not). dump will detect holes in the dumped files, and restore will reproduce them. Thanks to Perry Hutchison GNU tar has an "-S" option which preserves holes, and Joerg Schilling's "star" has "-sparse" and "-force_hole" options which can be used to preserve and re-insert holes, respectively. star is available for download at ftp://ftp.fokus.gmd.de/pub/unix/star _________________________________________________________________ 7. HTTP and Anonymous FTP _________________________________________________________________ 7.1) * How do I set up anonymous ftp on my machine? See the ftpd man page, and follow its instructions. You will also need to set up nsswitch.conf in etc. However, you should consider using a different ftpd, such as http://www.wu-ftpd.org. Solaris "pkg" versions of proftpd and wuftpd are available at: http://metalab.unc.edu/pub/packages/solaris/sparc/ ftp://ftp.adelaide.edu.au/pub/4.3/ftpd-sirius.tar.Z The stock Sun ftpd will log some information if you add the "-l" flag in /etc/inetd.conf: ftp stream tcp nowait root /usr/etc/in.ftpd in.ftpd -l Warning: it will log passwords of ordinary users. Also enable syslogd by adding: daemon.info /var/adm/syslog to "/etc/syslog.conf". _________________________________________________________________ 7.2) + Where can I get a Web server for Solaris? The open-source Apache web server and related tools are available on the Solaris Software Companion CD, which is part of the media kit for the Solaris distribution. The contents of this CD are also available for free download at http://www.sun.com/software/solaris/freeware. Apache binaries can also be retrieved from the following sites and many others: * http://www.sun.com/software/solaris/freeware * ftp://metalab.unc.edu/pub/packages/solaris/sparc/ * http://www.gnu.org/order/ftp.html * http://sunfreeware.com The Sun Java System Web server is available for download from Sun at http://www.sun.com/software/products/web_srvr/home_web_srvr.xml; the Sun Java System Application Server is available for purchase from Sun at http://www.sun.com/software/products/appsrvr. _________________________________________________________________ 8. Consoles, Keyboards and Key Remapping _________________________________________________________________ 8.1) How do I make the numeric keypad on a sun keyboard work with xterm? You need to patch the /usr/lib/X11/app-defaults/XTerm and $OPENWINHOME/lib/app-defaults/XTerm files as described in sun patch 100713-01 or later. Thanks to Margarita Suarez _________________________________________________________________ 8.2) How do I swap the CAPS LOCK and CONTROL keys on a sun keyboard? There are two ways to do it, one with xmodmap (for X11 only), and the other using keytables. Margarita Suarez suggests editing $OPENWINHOME/etc/keytables/US5.kt. There are two places where keys 119 (CapsLock) and 76 (Control) should be swapped: the MODMAP section and the KEYSYMMAP section. The latter is most important, because that's where the "Pseudo-Lock" function (which controls the locking behaviour of the key) is defined. Doug Hughes suggests using xmodmap with the following: remove Lock = Caps_Lock remove Control = Control_L keysym Control_L = Caps_Lock keysym Caps_Lock = Control_L add Lock = Caps_Lock add Control = Control_L In X11, you can change your keyboard layout as you please using the xkeycaps application, which allows you to edit and remap your keyboard on the fly, as well as save configurations to be sourced by xmodmap. xkeycaps is available from http://www.jwz.org/xkeycaps/ and in the contrib section of your friendly X11 source archive. Thanks to Dan Pritts for the info on xkeycaps. _________________________________________________________________ 8.3) How do I use a Windows PC for a Sun serial console? Wire up a serial cable from the Sun's serial cable to one of the PC serial ports. PC serial ports are usually (but not always) DB9 (9-pin), while Sun serial console ports are usually (but not always) 25-pin (DB25). You generally need to connect them through a "null modem adapter". For more information on serial ports, see Sunhelp's UNIX serial port resources page, at http://www.sunhelp.org/unix-serial-port-resources The next problem is that the version of Hyperterminal which comes with some versions of Windows cannot generate a BREAK signal. You can obtain a new version of Hyperterminal from http://www.hilgraeve.com/htpe/index.html There are many free alternative terminal programs. Special mention should be made of TeraTerm: http://hp.vector.co.jp/authors/VA002416/teraterm.html which has been updated with SSH support as Teraterm Pro, which is available from http://www.ayera.com/teraterm For newer suns which support ALOM, a serial or telnet connection to the ALOM is generally preferable. A pinout of the serial RJ-45 ALOM connector can be found in Sun's "Sun Advanced Lights Out Manager (ALOM) 1.6 Administration Guide". Thanks to Harvey Wamboldt _________________________________________________________________ 9. Sun models and OS Versions _________________________________________________________________ 9.1) * Which Sun models run which versions of SunOS? SunOS 5.x = Solaris 2.x Sun dropped the "2." when Solaris (2.)7 came out. i.e. Solaris 7 = "Solaris 2.7" = SunOS 5.7, Solaris 8 = "Solaris 2.8" = SunOS 5.8 and so on. In the following list, the specified OS is the earliest supported on the specified hardware. Some CPU modules may require later OS versions than listed. * Ultra 1 model 140, 170: Solaris 2.5 * Ultra 1 model 140E, 170E, 200E: Solaris 2.5.1 * Ultra 2: Solaris 2.5.1 * Ultra 5,10,30,60,250,450: Solaris 2.5.1HW1297 or Solaris 2.6HW0398 * Ultra Enterprise: Solaris 2.5.1 * SunBlade 100, SunBlade 1000: Solaris 8HW1000 * SunBlade 150: Solaris 8 5/03; Solaris 9 4/03 * 3800, 4800, 4810, 6800: Solaris 8HW0401 * B100s: Solaris 8 12/02, Solaris 9 4/03 * V100: Solaris 8 2/02 * V120: Solaris 8 10/01 * V210, V240: Solaris 8 12/02, Solaris 9 4/04 * V250: Solaris 8 7/03, Solaris 9 8/03 * 280R: Solaris 8 2/02, Solaris 9 12/02 * V440: Solaris 8 7/03, Solaris 9 12/03 * V490,V890: Solaris 8 2/04, Solaris 9 4/04, Solaris 10 3/05 * V880: Solaris 8 10/01, Solaris 9 4/03 * E2900,E4900,E6900: Solaris 8 2/04, Solaris 9 4/04, Solaris 10 3/05 * B200x, v20z, v40z: Solaris 9 x86 4/04 * v20z,v40z single-core: Solaris 10 x86, Solaris 9 HW 4/05 x86 * v20z,v40z dual-core: Solaris 10 x86, Solaris 9 HW 9/05 x86 * X2100: Solaris 10 x86 * X4100,4200: Solaris 10 x86 3/05HW1 * T1000: Solaris 10 1/06 * T2000: Solaris 10 3/05HW2 9.2) How can my program tell what model Sun it is running on? On older suns, the model type is encoded in the hostid, and /usr/sbin/prtconf will reveal the model type. "Suntype", written by John DiMarco (jdd at cs.toronto.edu) is a shell script which does the appropriate thing on all suns. It is available for anonymous ftp at ftp://ftp.cs.toronto.edu/pub/jdd/suntype Alternatively, grab Michael Cooper's "sysinfo" program, which provides all sorts of information about a given system, including the machine type. sysinfo is available on the web at http://www.magnicomp.com/, although it is now a commercial product that is free only for educational and non-profit organizations. _________________________________________________________________ 9.3) How do I find out a Sun's boot prom revision? Type "banner" at the prom, or type "/usr/sbin/prtconf -V" to determine the prom revision of a particular machine. Alternatively, grab Michael Cooper's "sysinfo" program, which provides all sorts of information about a given system, including the prom revision. sysinfo is available on the web at http://www.magnicomp.com, although it is now a commercial product that is free only for educational and non-profit organizations. _________________________________________________________________ 9.4) * Which hardware/software is capable of 64-bit? Which is only 64-bit? How can I tell which is running? All UltraSPARC and SPARC64 (Primepower) hardware is capable of running in 64-bit mode; earlier SPARCs (HyperSPARC, SuperSPARC, etc.) are 32-bit only. Only some UltraSPARC-I, UltraSPARC-II, and UltraSPARC-II-i systems are capable of both 32-bit and 64-bit operation; later UltraSPARC systems are 64-bit only. Early UltraSPARC-I hardware (up to 200MHz) suffers from a bug where, in 64-bit mode, a certain code sequence can cause the processor to stall, and thus UltraSPARC-I machines run in 32-bit mode by default. To allow a 64-bit kernel on such a machine, edit/create /platform//boot.conf and add the line: ALLOW_64BIT_KERNEL_ON_UltraSPARC_1_CPU=true All Sun Opteron hardware is capable of both 64-bit and 32-bit operation, but Solaris x86 on some Opteron models (X2100, X4100, X4200) runs in 64-bit mode only. Sun Xeon and Pentium-III hardware are capable only of 32-bit operation. "isainfo -kv" or "isainfo -b" will indicate whether a system is running in 32-bit or 64-bit mode. _________________________________________________________________ 10. Miscellaneous Software _________________________________________________________________ 10.1) My remote ufsdump is failing with a "Protocol botched" message. What do I do? The problem produces output like the following: ... DUMP: Dumping /dev/rsd0a (/) to /dev/nrst8 on host foo DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 8232 blocks (4.02MB) on 0.00 tape(s). DUMP: Protocol to remote tape server botched (in rmtgets). rdump: Lost connection to remote host. DUMP: Bad return code from dump: 1 This occurs when something in .cshrc (or .profile) on the remote machine prints something to stdout or stderr (eg. stty, echo). The remote ufsdump command doesn't expect this, and chokes. Other commands which use the rsh protocol (eg. rdist, rtar) may also be affected. The way to get around this is to add the following line near the beginning of .cshrc, before any command that might send something to stdout or stderr: if ( ! $?prompt ) exit This causes .cshrc to exit when prompt isn't set, which distinguishes between remote commands (eg. rdump, rsh) where these variables are not set, and interactive sessions (eg. rlogin) where they are. _________________________________________________________________ 10.2) * Where can I get a C compiler for Solaris? Sun's "Studio" compiler suite can be obtained at http://www.sun.com/software/products/studio. Various third-party commercial SPARC compilers are also available, including: * http://www.ghs.com * http://www.apogee.com * http://www.windriver.com * http://www.pgroup.com * http://www.intel.com (Solaris x86 only) The open-source GCC compiler and related tools are available on the Solaris Software Companion CD, which is part of the media kit for the Solaris distribution. The contents of this CD are also available for free download at http://www.sun.com/software/solaris/freeware Thanks to Eric Boutilier GCC binaries can be retrieved from the following sites and many others: * http://www.sun.com/software/solaris/freeware * ftp://metalab.unc.edu/pub/packages/solaris/sparc/ * http://www.gnu.org/order/ftp.html * http://sunfreeware.com More information on this topic is available at http://www.kevininscoe.com/geek/sun/compilesun/ Thanks to Kevin Inscoe _________________________________________________________________ 10.3) How do I read Microsoft Word documents on my Sun? You can obtain some of the raw content of the document by using the "strings" command. Note that Word documents (and documents produced by other Microsoft Office programs, like Excel) can sometimes contain hidden information that is not normally accessible from Word, but is visible using "strings" (this can be a good reason not to distribute documents in MS Office formats). It is possible to run some versions of Microsoft Word on your Sun, using Bochs, WABI, SoftWindows, WinCenter, WinDD, SunPC, or some other Windows integration product. You can use a word-processor that can import the various MS Word formats. For example, Word Perfect from Corel Corporation is capable of reading and saving in various MS Word formats. Word Perfect is available for several versions of UNIX, including SPARC/Solaris 2.x. Sun's StarOffice is available for various operating systems, including Solaris/SPARC, from http://www.sun.com/staroffice. OpenOffice is also freely available for Solaris x86 and SPARC from http://www.openoffice.org. From a PC/Mac, you can print postscript output to a file, and view the postscript on the Sun using docviewer or ghostscript/ghostview. Thomas Anders points out that LAOLA (a Perl4 package that can read Word6 and Word7 format is available on the web at http://user.cs.tu-berlin.de/~schwartz/pmh/. Another option (suggested by Thomas ) is a GPL-licensed command-line utility called "antiword". His mutt mailcap file is setup as follows: application/msword; antiword %s; copiousoutput; description="Microsoft Word Tex t"; nametemplate=%s.doc Antiword is available from http://www.winfield.demon.nl. _________________________________________________________________ 10.4) How do I restore to a different location the contents of a tarfile created with absolute pathnames? Tarfiles should not normally be created with absolute pathnames, only with relative pathnames. Do not type "tar c /path/name" to create a tar archive, type "(cd /path; tar c name)" instead. Note: if you do "(cd /path/name; tar c .)", you will indeed avoid absolute pathnames, but beware that the tarfile created may silently overwrite the permissions of the current directory when unpacked. That's OK if you unpack it via: "mkdir name; cd name; tar xf /my/tarfile.tar That's not OK if you unpack it via: "cd /tmp; tar xf /my/tarfile.tar" It's not OK because you will change the permissions of /tmp. If you do have an archive created with absolute pathnames, you can unpack it in a different location by using GNU's version of tar, which will strip off the leading /. Alternatively, you can use pax to strip off the leading /, as follows: pax -r -s '/^\///' and Stephen Kives _________________________________________________________________ 11. Miscellaneous Hardware _________________________________________________________________ 11.1) * How come my mouse occasionally doesn't work? If it is a mechanical mouse, it may need cleaning. Open up the bottom panel by rotating it, and remove the mouse ball. Clean the mouse ball. With a Q-tip, clean off any grime on the rotors inside the mouse. _________________________________________________________________ 11.2) How can I turn my old sun into an X-Terminal? You can simply replace the ttymon entry for the console in /etc/inittab with a command that starts up an X server. _________________________________________________________________ 11.3) * How can I use an SVGA monitor on my Sun? Some older suns use a 13W3 video connector, which looks something like this: ----------------- \ O O ::::: O / ------------- A simple adapter will connect a Sun to a SVGA multi-sync monitor, providing the monitor (like most better monitors these days) will accept composite sync and operate in 1152x900 66 Hz (or whatever output your sun produces) mode. (Check the manufacturer's data sheets, usually on the Web.) Similarly, adapters are available to connect Sun 13W3 monitors to PCs or newer Suns with SVGA connectors. Adapters are available from many vendors: search for 13W3 on Google. This and many other interesting facts about Sun video are answered in the Framebuffer FAQ, at one of: * http://www.uark.edu/sunfaq/FrameBuffer.html * http://bul.eecs.umich.edu/~crowej/sunfaq/FrameBuffer.html A related FAQ by the same person is the Colormap FAQ at one of: * http://www.uark.edu/sunfaq/ColormapFAQ.html * http://bul.eecs.umich.edu/~crowej/sunfaq/ColormapFAQ.html _________________________________________________________________ 11.4) Where can I find alternate pointing devices for my Sun? Bert N. Sure claims that Mousetrak makes an excellent line of pointing devices. The url is "">http://www.mousetrak.com". SunExpress (http://sunexpress.usec.sun.com) and Qualix (http://www.qualix.com) distribute them. Bert uses the top-of-the-line "Evolution" trackball, which has six user-definable buttons and a large ball which is manufactured by a billiard ball company in Belgium. For 3-D input, SunExpress (http://sunexpress.usec.sun.com) sells the SpaceBall 3003, in addition to the standard Sun "SunDials" product. Dan Pritts indicates that one can buy a box from sun called the sun interface converter for $75 that allows you to use a ps/2-style keyboard or pointing device, or both, and still use your sun keyboard or mouse. In particular, the sun interface converter supports the Microsoft "natural keyboard". _________________________________________________________________ 12. Networking _________________________________________________________________ 12.1) Why do both my net interfaces have the same ethernet address? The Ethernet version 2.0 specification (November 1982) states: The physical address of each station is set by network management to a unique value associated with the station, and distinct from the address of any other station on any Ethernet. The setting of the station's physical address by network management allows multiple multiple data link controllers connected to a single station to respond to the same physical address. This doesn't normally constitute a problem because each interface will typically be on a different subnet. If, for some reason, different ethernet addresses are required on different interfaces (for example, to attach two interfaces to the same subnet), a new one may be assigned using the ifconfig command. Alternatively, for all modern Sun hardware, you can set the "local-mac-address?" eeprom variable to "true", which will cause each NIC to use a unique MAC address. This is needed for many failover and trunking configurations. _________________________________________________________________ 12.2) How can I know the hardware vendor from an ethernet address? The first three octets of a six-octet ethernet address typically uniquely identifies the hardware vendor of the particular network interface card. This is called the "Organizationally Unique Identifier" (OUI). OUI information, including the most recent list of public OUIs can be found at http://standards.ieee.org/regauth/oui Note that it is possible that an unidentified OUI could be used, since vendors are not required to make their OUIs public, and many network interfaces, including Suns, can be configured to use a custom ethernet address, so there is no guarantee that the OUI will correctly identify the vendor. _________________________________________________________________ 12.3) * How do I set my ethernet interface to e.g. 100Mb full duplex? The answer to this question assumes you have an hme ethernet interface; similar techniques should work for other ethernet interfaces; consult the man page for the ethernet driver (e.g. if you have an eri driver, "man eri") for more details. If you are not sure which ethernet driver is in use, "ifconfig -a" will tell you. For example, if ifconfig -a shows e.g. "hme0", you have an hme ethernet interface. All of Sun's ethernet network interfaces faster than 10Mbits are capable of negotiating with a network switch; if this is working, the ethernet interface will automatically choose the fastest supported setting. However, this may not necessarily work with some networking gear, or there may be some other reason to choose a slower setting, e.g. cat3 wiring. If the two ends have different ideas about what mode the link is, you may see "late collision" messages, dropped packets, or complete failure. To force a particular mode, e.g. 100Mb FD, you can use ndd as follows: # turn off autonegotiation ndd -set /dev/hme adv_autoneg_cap 0 # turn on 100Mb full-duplex capability ndd -set /dev/hme adv_100fdx_cap 1 # turn off 100Mb half-duplex capability ndd -set /dev/hme adv_100hdx_cap 0 # turn off 10Mb full-duplex capability ndd -set /dev/hme adv_10fdx_cap 0 # turn off 10Mb half-duplex capability ndd -set /dev/hme adv_10hdx_cap 0 You may have to force the other end (e.g. switch) to use the same mode. Consult the manual for your switch. NB: Fast ethernet hubs are always 100Mb half-duplex, and ethernet hubs are always 10Mb half-duplex. If you have more than one hme card in your system, before issuing the above ndd commands, you need to first select the specific hme card you want to set. For example, to select hme2, type: ndd -set /dev/hme instance 2 Subsequent ndd commands to /dev/hme will only apply to hme2. If you want to force all the hme cards on your system to a specific mode at machine boot, you can set hme driver variables in /etc/system. For example, to force all hme cards on the system to use 100Mbit FD, put the following in /etc/system: set hme:hme_adv_autoneg_cap=0 set hme:hme_adv_100fdx_cap=1 set hme:hme_adv_100hdx_cap=0 set hme:hme_adv_10hdx_cap=0 set hme:hme_adv_10fdx_cap=0 _________________________________________________________________ 12.4) How do I find out what process is using a particular port? Ports are held open in the same way as files are, by file handles within the process. In most states, a port will also have a handle into another process on the other side of that connection. If you need to find out which process is holding open a particular port, run lsof (ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof) and grep for the port number. Thanks to Stuart Whitby _________________________________________________________________ 12.5) I have a lot of ports in WAIT states. Why? The state of sockets can be seen with the "netstat -a" command. When a process attempts to close an ESTABLISHED connection, the transition will show a number of WAIT states, depending on which stage of the shutdown the port is at. When the initial FIN is sent from side a) of the connection, side a) will change to FIN_WAIT_1, side b) will change to CLOSE_WAIT, and acknowledge the FIN packet. The acknowledgement causes side a) to change to FIN_WAIT_2. A socket will rarely be in FIN_WAIT_1 for more than a couple of seconds unless there is a problem with communications. In this state, data may still be sent from side b) to side a), but not vice versa. When side b) receives a close from the associated application, or the FIN_WAIT_2_FLUSH_INTERVAL is reached without data being sent, it will send a FIN and change to LAST_ACK. Side a) moves to TIME_WAIT upon receiving this FIN and acknowledges the packet, causing any references to this connection on side b) to disappear. The socket in TIME_WAIT will remain for twice the maximum segment lifetime (normally a total of four minutes) before dropping, in case dropped data packets are resent and misinterpreted by a new application on this port. Thanks to Stuart Whitby _________________________________________________________________ 13. Electronic Mail _________________________________________________________________ 13.1) * Where can I get a POP or IMAP server for my sun? The PINE email package comes with both a POP and an IMAP server. PINE can be found at http://www.washington.edu/imap. An old, unmaintained Berkeley popd can be found at ftp://ftp.cc.berkeley.edu/pub/pop (not recommended), and Casper Dik's enhanced version of this for Solaris is found at ftp://ftp.fwi.uva.nl/pub/solaris/. A POP server can also be found as part of the Eudora ftp repository, at ftp://ftp.qualcomm.com/quest/unix/servers. A faster alternative is the CMU Cyrus IMAP server, which changes the mailbox format to something that is more efficient. It can be found at ftp://ftp.andrew.cmu.edu/pub/cyrus-mail. The Courier IMAP daemon also takes a similar approach; it's available at http://www.courier-mta.org/imap. Finally, Dovecot takes an intermediate approach by using the standard mailbox format but adding some autogenerated index files; Dovecot is available at http://dovecot.org. If a commercial package is desired, there are many, including Sun's Internet Mail Server. See http://www.sun.com _________________________________________________________________ 14. Printing _________________________________________________________________ 14.1) + How do I get started with LP-style printing in Solaris? Printing is configured using the "lpadmin" interface, which is extensively documented. For a general overview, however, start with the basic principles of Solaris printing, documented at http://developers.sun.com/solaris/articles/basicprinting.html, and the Solaris printing FAQ, at http://www.freelab.net/unix/sun/solarisfaq/printfaq.html. More information about printing in Solaris is available at http://www.opensolaris.org/os/community/printing/history. _________________________________________________________________ 14.2) How do I configure a non-postscript printer for postscript? Use the Printer Compatibility Database at http://www.linuxprinting.org (http://www.linuxprinting.org/database.html) to find out if a ghostscript driver is available for your non-PS printer. Then you can use ghostscript to translate postscript to something the printer can understand. There are various "any2ps" scripts and packages around (apsfilter, cups, foomatic, magicfilter). Ghostscript and foomatic are bundled in Solaris 10. Apsfilter in particular is one of the most flexible filters available: the most recent version can be found at http://www.apsfilter.org. For Solaris 2.x or later, you will need to add a BSD-style printing package such as LPRng (http://www.lprng/org): the system-V-style "lp" printing package that comes with Solaris will not easily work with apsfilter. Thanks to Andreas Klemm for this information. A much older version of APSfilter was posted to comp.sources.misc as part of volume 42, and is available from a comp.sources.misc archive site (eg. ftp://ftp.uu.net/usenet/comp.sources.misc/volume42/apsfilter). If you are using Solaris, follow Alexander V. Panasyuk's instructions in http://cfauvcs5.harvard.edu/SetGSprinter4Solaris.html _________________________________________________________________ 15. Misc System Administration _________________________________________________________________ 15.1) I've forgotten the root password; how can I recover? You need to have access to the machine's console. 1. Note the root partition (e.g. /dev/sd0a or /dev/dsk/c0t3d0s0) 2. Hit STOP-A or L1-A (or, on an ASCII terminal or emulator, send a ) to halt the operating system, if it's running. 3. Boot single-user from CD-ROM (boot cdrom -s) or network install/jumpstart server (boot net -s) (NB: if it asks you for a prom password, see below.) 4. Mount the root partition (e.g. /dev/dsk/c0t3d0s0) on "/a". "/a" is an empty mount point that exists at this stage of the installation procedure. (mount /dev/dsk/c0t3d0s0 /a) 5. Set your terminal type so you can use a full-screen editor, e.g. vi. (you can skip this step if you know how to use "ex" or "vi" from open mode). If you're on a sun console, type "TERM=sun; export TERM"; if you're using an ascii terminal (or terminal emulator on a PC) for your console, set TERM to the terminal type (e.g. TERM=vt100; export TERM). 6. Edit the passwd file (/a/etc/passwd for SunOS 4.x, /a/etc/passwd.adjunct for SunOS 4.x with shadow passwords/C2 security), /a/etc/shadow for Solaris 2.x and remove the encrypted password entry for root 7. cd to /; Type "umount /a" 8. reboot as normal in single-user mode ("boot -s"). The root account will not have a password. Give it a new one using the passwd command. Thanks to Stefan Voss PROM passwords: Naturally, you may not want anyone with physical access to the machine to be able to do the above to erase the root password. Suns have a security password mechanism in the PROM which can be set (this is turned off by default). The man page for the eeprom command describes this feature. If security-mode is set to "command", the machine only be booted without the prom password from the default device (i.e. booting from CD-ROM or install server will require the prom password). Changing the root password in this case requires moving the default device (e.g. the boot disk) to a different SCSI target (or equivalent), and replacing it with a similarly bootable device for which the root password is known. If security-mode is set to full, the machine cannot be booted without the prom password, even from the default device; defeating this requires replacing the NVRAM on the motherboard. "Full" security has its drawbacks -- if, during normal operations, the machine is power-cycled (e.g. by a power outage) or halted (e.g. by STOP-A), it cannot reboot without the intervention of someone who knows the prom password. _________________________________________________________________ 15.2) How do I disable/remap STOP-A/L1-A? First, be sure you want to do this. If the problem is that users are halting and rebooting the machine, note that disabling STOP-A will merely prompt them to powercycle the machine (or remove and re-insert the keyboard plug) instead. This is actually worse. But if you're sure you want to do this, compile and run this little program. /* Enable or disable abort sequence. John DiMarco */ #include #include #include #include #ifdef FILENAME_MAX #include #include #else /* !FILENAME_MAX */ #include #include #endif /* !FILENAME_MAX */ #define ERR -1 #define DISABLE 0 #define ENABLE 1 #define KEYBOARD "/dev/kbd" main(argc,argv) int argc; char *argv[]; { static struct kiockey k; int fd, mode=ERR; if(2==argc){ switch(*(argv[1])){ case 'e': mode=ENABLE; break; case 'd': mode=DISABLE; break; } } if(ERR==mode){ printf("Usage: %s [enable|disable]\n", argv[0]); exit(1); } if(0>(fd=open(KEYBOARD, O_RDWR))){ perror(KEYBOARD); exit(1); } k.kio_tablemask = KIOCABORT1; k.kio_station=mode; (void)ioctl(fd, KIOCSETKEY, &k); printf("Abort sequence is now %s.\n", mode?"enabled":"disabled"); } Stefan Voss points out that in Solaris 2.6 or later, you can type "kbd -a enable|disable" or put "KEYBOARD_ABORT=enable|disable" in /etc/default/kbd. As of Solaris 2.6 with patch 105924-10 installed, Solaris 7 with patch 107589-02 installed, or Solaris 8, you can also set the abort sequence to the Alternate Break character sequence (" ~ ", with at least half a second between characters, and at most 5 seconds for the whole string) with the command "kbd -a alternate", or by putting "KEYBOARD_ABORT=alternate" into /etc/default/kbd. Alternatively, you can disable all break signals by putting the line: set abort_enable=0 into /etc/system, and rebooting. Thanks to Dan Astoorian _________________________________________________________________ 15.3) How do I manage services in Solaris 10 and later? Do I still make links in /etc/rc*.d? In Solaris 10 build s10_64 and later, Sun introduced the service management facility (smf) which makes /etc/init.d and /etc/rc?.d scripts "legacy". Management of the services is now done through svc* commands. The legacy init.d scripts are now specified as running in run-level "milestone". From the man pages: * /etc/rcS.d (milestone/single-user:default) * /etc/rc2.d (milestone/multi-user:default) * /etc/rc3.d (milestone/multi-user-server:default) Each service name is now named with a Fault Management Resource Identifier (FMRI) with the scheme "svc:". For example, the sendmail service would have be "svc:/network/smtp:sendmail". You can also abbreviate the FMRI by using the instance name (e.g. sendmail) or using the last parts of the service name like: * sendmail * :sendmail * smtp:sendmail To check all services in the machine, run "svcs -a". From the list, you can enable and disable services through "svcadm". To disable, use "svcadm disable [options] ". For example: svcadm disable svc:/network/smtp:sendmail or svcadm disable sendmail One useful option is "-t", to temporarily disable the service until reboot. To enable, use "svcadm enable [options] ". For example: svcadm enable svc:/network/smtp:sendmail Useful options are "-r" to enable the service including all dependencies, and "-t" to temporarily disable the service until reboot. Dependencies and other information on the service can be invoked via "svcs -l " As an alternative to using "ps" to check service processes, you can now use "svcs -p " to list the processes associated with the service. For further information, check the man pages on smf, svcs, svcadm and svcfg. Thanks to Neil Quiogue From asiye.yigit at gantek.com Sat Jan 17 06:50:33 2009 From: asiye.yigit at gantek.com (Asiye Yigit) Date: Sat, 17 Jan 2009 13:50:33 +0200 Subject: NFS entry in vfstab Message-ID: Hello, Could you please tell me if the following line is in vfstab; is there any risk if diamondvip.test.com.tr is not reachable to start any services in this node? It is mounting an area from other system. during boot-up process, if share resource is not available, is there a risk in boot process no to continue and not to start remaining services? To prevent this, I have added bg in option filed. Is there anything I miss? # It is there because we would like to mount diamond_data01 from the node of diamond diamondvip.test.com.tr:/export/diamond_data01 - /diamond_data01 nfs - yes bg,hard regards, From bigadmin at unixplanet.biz Sat Jan 17 11:47:19 2009 From: bigadmin at unixplanet.biz (Bigadmin) Date: Sat, 17 Jan 2009 10:47:19 -0600 Subject: Summary ithr in mpstat increasing In-Reply-To: <000001c96575$d8675740$893605c0$@biz> References: <000001c96575$d8675740$893605c0$@biz> Message-ID: <000301c978c3$432df150$c989d3f0$@biz> Hello Sun Managers, Thanks everyone for quick answer, really appreciate your help. And I was lucky to talk to someone very knowledgeable at SUN Kernel support. In most cases having abnormal number of interrupts or CPU usage Indicates an offensive process, however our case was related to high network traffic usage. We are doing some heavy work on network and network interface send its interrupts to one specific CPU which causes the number of interrupts on one CPU goes higher than others. This wont cause any problem unless CPU power is less than Network speed. In this case high number of interrupts pins out other processes that are running on that CPU. I found following website very useful: http://blogs.sun.com/sunay/entry/the_solaris_networking_the_magic and SUN support mentioned about increasing number of FIFO on network interface. I am going to copy all answers the I received from SUN Managers. Once again thanks every one. **************************************************************************** ****** You can do this in a multi step process. 1. First select the process you think is causing the high ithr - it will be a process using pthreads, or java, or some lib that allows it to thread (or it might be a custom thread lib, hence the bad behavior) 2. Select a group of 2 or more processors and create a processor group using 'pset' - this processor group will be used to isolate execution. If you have several processors (T1 or T2 archs) you should create one process group for each suspect process to save time. Having a smaller number of processors helps increase the frequency of interrupts and context switches. 3. Also using the pset command, bind your suspect processes to a process group. Only one process group per process so you can easily see which one is causing the problem. 4. Run mpstat using the -a option to monitor by processor set. Hope this helps. JayJay Florendo **************************************************************************** ****** Hello, It looks like a thread contention on CPU 2. I think prstat has the possibility to sort PID based on CPU. Just look the PID with the max number of threads that use CPU 2. It should be your guilty PID. Kind regards, Eric Deblon **************************************************************************** ******** Hi, hopefully this is a Sol10 box.. in that case dtrace might help you find the process producing these interrupts... http://prefetch.net/articles/dtracecookbook.html You can get the dtrace toolkit from http://www.brendangregg.com/dtrace.html#DTraceToolkit Cheers Thom -----Original Message----- From: Bigadmin [mailto:bigadmin at unixplanet.biz] Sent: Tuesday, December 23, 2008 9:15 PM To: sunmanagers at sunmanagers.org Cc: bigadmin at unixplanet.biz Subject: ithr in mpstat increasing Hi mpstat output shows Number of intr and ithr are increasing and it Reaches to the point that System disable the CPU. I don't think it is a hard ware problem and looking for a way to find the exact Process that cause this problem and then find the application. CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 0 101 2 255 1003 645 5575 345 520 575 0 6214 11 24 0 64 1 61 1 149 609 73 5768 483 555 553 0 4569 10 24 0 66 2 55 2 1259 14530 14485 1253 86 185 2141 0 3063 6 39 0 56 3 77 1 197 833 259 5634 469 544 554 0 5050 11 25 0 65 Thanks From egold at fsa.com Sat Jan 17 14:00:49 2009 From: egold at fsa.com (Gold, Evan) Date: Sat, 17 Jan 2009 14:00:49 -0500 Subject: jumpstart on NFS issue Message-ID: Hi everyone, I have a jumpstart that I have been using for a long time on local disks. I recently moved my entire /jumpstart folder to an nfs mount from a NAS device. I changed my sysidcfg, profile, etc to use that share instead of my old local share. But now it seems I cannot run add_install_client, I keep getting this error. Can you please tell me how to fix this? It is a plain jumpstart setup, nothing fancy, just solaris 9 jumpstart and all the files have been moved to a remote nfs mount that is able to be mounted by all my servers. My solaris server is named "solaris9" and my NAS devce which shares /jumpstart is named "NASSERVER". MY ERROR: ./add_install_client -c NASSERVER:/vol/jumpstart -p NASSERVER:/vol/jumpstart/Sysidcfg/Solaris9 clientmachine sun4u add_install_client: "NASSERVER:/vol/jumpstart" is not a local mount of /jumpstart/OS/Solaris_9_2005-09/Solaris_9/Tools/Boot cannot export "NASSERVER:/vol/jumpstart" for install clients I also tried this command but got the same error: ./add_install_client -s NASSERVER:/vol/jumpstart clientmachine sun4u Evan Gold Financial Security Assurance 31 West 52nd Street New York, New York 10019 212.893.2762 ___________________________________________________________ This e-mail message is for the sole use of the intended recipient(s) and may contain proprietary, confidential and/or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient (or an employee or agent responsible to deliver it to the intended recipient), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply e-mail. FSA From bigadmin at unixplanet.biz Sat Jan 17 15:59:30 2009 From: bigadmin at unixplanet.biz (Bigadmin) Date: Sat, 17 Jan 2009 14:59:30 -0600 Subject: SUN Branded Qlogic or Qlogic HBA Message-ID: <000d01c978e6$7e334430$7a99cc90$@biz> Hi How can I determine fiber channel HBA brand on Solaris 10. I need to know if our server has Qlogic or SUN Branded Qlogic ? Thanks From egold at fsa.com Sun Jan 18 08:14:14 2009 From: egold at fsa.com (Gold, Evan) Date: Sun, 18 Jan 2009 08:14:14 -0500 Subject: SUMMARY: jumpstart on NFS issue In-Reply-To: References: Message-ID: I would like to that everyone that helped me. This list is great and I was amazed at the fast responses to my issue. I got a few suggestions. - One was to modify /etc/bootparams by hand to relect my NAS share. - The other was to modify the add_install_client script to not exit/fail upon checking for a NFS mount from my NAS. I just commented out the lines in the script. - Upgrade to the latest version of solaris 10 for a jumpstart server, that might support NFS mounts for the /jumpstart share. I chose to modify add_install_client and that worked great. I liked that better since it created all the /tftpboot items automatically for me. Thanks again! From: Gold, Evan Sent: Saturday, January 17, 2009 2:01 PM To: 'sunmanagers at sunmanagers.org' Subject: jumpstart on NFS issue Hi everyone, I have a jumpstart that I have been using for a long time on local disks. I recently moved my entire /jumpstart folder to an nfs mount from a NAS device. I changed my sysidcfg, profile, etc to use that share instead of my old local share. But now it seems I cannot run add_install_client, I keep getting this error. Can you please tell me how to fix this? It is a plain jumpstart setup, nothing fancy, just solaris 9 jumpstart and all the files have been moved to a remote nfs mount that is able to be mounted by all my servers. My solaris server is named "solaris9" and my NAS devce which shares /jumpstart is named "NASSERVER". MY ERROR: ./add_install_client -c NASSERVER:/vol/jumpstart -p NASSERVER:/vol/jumpstart/Sysidcfg/Solaris9 clientmachine sun4u add_install_client: "NASSERVER:/vol/jumpstart" is not a local mount of /jumpstart/OS/Solaris_9_2005-09/Solaris_9/Tools/Boot cannot export "NASSERVER:/vol/jumpstart" for install clients I also tried this command but got the same error: ./add_install_client -s NASSERVER:/vol/jumpstart clientmachine sun4u Evan Gold Financial Security Assurance 31 West 52nd Street New York, New York 10019 212.893.2762 _________________________________________________________ This e-mail message is for the sole use of the intended recipient(s) and may contain proprietary, confidential and/or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient (or an employee or agent responsible to deliver it to the intended recipient), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply e-mail. FSA- From bigadmin at unixplanet.biz Sun Jan 18 12:05:27 2009 From: bigadmin at unixplanet.biz (Bigadmin) Date: Sun, 18 Jan 2009 11:05:27 -0600 Subject: SMF and services startup dependency Message-ID: <003401c9798e$f6043e80$e20cbb80$@biz> Hi Our application is depend on database and any time we reboot the server Or restart the data base, application won't start properly because database Is not fully started. this cause database corrupted at the server startup or we need to restart the application after database is fully started. Is there any way to add a delay to service startup in SMF and Solaris 10 ? So application starts 5 minutes after database started and not right a way After data base startup? Thanks From cqlin at yahoo.cn Sun Jan 18 22:43:35 2009 From: cqlin at yahoo.cn (Linchq) Date: Mon, 19 Jan 2009 11:43:35 +0800 (CST) Subject: about kernel Message-ID: <996018.71675.qm@web92204.mail.cnh.yahoo.com> Hi,all B # mdb -k Loading modules: [ unix krtld genunix specfs dtrace ufs sd mpt px ldc ip hook neti sctp arp usba fcp fctl emlxs nca md ssd lofs zfs random logindmux ptm cpc sppp crypto fcip nfs ipc ] > ::memstat -d Usage: memstat > ::memstat Page Summary B B B B B B B B Pages B B B B B B B B MB B %Tot ------------ B B ---------------- B ---------------- B ---- Kernel B B B B B B B B B B 246066 B B B B B B B 1922 B 12% Anon B B B B B B B B B B B 1175441 B B B B B B B 9183 B 57% Exec and libs B B B B B B B 27106 B B B B B B B 211 B B 1% Page cache B B B B B B B B 185379 B B B B B B B 1448 B B 9% Free (cachelist) B B B B B 341181 B B B B B B B 2665 B 16% Free (freelist) B B B B B B 101282 B B B B B B B 791 B B 5% Total B B B B B B B B B B 2076455 B B B B B B 16222 Physical B B B B B B B B B 2011504 B B B B B B 15714 > $q # pwd /opt/DTraceToolkit-0.99/Mem # ls Readme B B B B B minfbyproc.d B B swapinfo.d B B B vmstat.d anonpgpid.d B B pgpginbypid.d B vmbypid.d B B B xvmstat minfbypid.d B B pgpginbyproc.d B vmstat-p.d # ./swapinfo.d RAM B _______Total 16256 MB RAM B B B Unusable B B 33 MB RAM B B B B Kernel 10499 MB RAM B B B B Locked B B 2 MB RAM B B B B B Used B 2769 MB RAM B B B B B Free B 2950 MB Disk _______Total 16384 MB Disk B B B B Resv B 1553 MB Disk B B B B Avail 14831 MB Swap _______Total 20076 MB Swap B B B B Resv B 1553 MB Swap B B B B Avail 18523 MB Swap B B (Minfree) B 2027 MB Why twoB kernel value difference ? ___________________________________________________________ e%=g)h4:e !g- d= eo< i.g.1h4:e !e(f0d8 g:?o< http://card.mail.cn.yahoo.com/ From cqlin at yahoo.cn Sun Jan 18 23:30:22 2009 From: cqlin at yahoo.cn (Linchq) Date: Mon, 19 Jan 2009 12:30:22 +0800 (CST) Subject: about kernel In-Reply-To: <996018.71675.qm@web92204.mail.cnh.yahoo.com> Message-ID: <529367.41078.qm@web92207.mail.cnh.yahoo.com> # mdb -k Loading modules: [ unix krtld genunix specfs dtrace ufs sd mpt px ldc ip hook neti sctp arp usba fcp fctl emlxs nca md ssd lofs zfs random logindmux ptm cpc sppp crypto fcip nfs ipc ] > ::memstat -d Usage: memstat > ::memstat Page Summary B B B B B B B B Pages B B B B B B B B MB B %Tot ------------ B B ---------------- B ---------------- B ---- Kernel B B B B B B B B B B 246066 B B B B B B B 1922 B 12% Anon B B B B B B B B B B B 1175441 B B B B B B B 9183 B 57% Exec and libs B B B B B B B 27106 B B B B B B B 211 B B 1% Page cache B B B B B B B B 185379 B B B B B B B 1448 B B 9% Free (cachelist) B B B B B 341181 B B B B B B B 2665 B 16% Free (freelist) B B B B B B 101282 B B B B B B B 791 B B 5% Total B B B B B B B B B B 2076455 B B B B B B 16222 Physical B B B B B B B B B 2011504 B B B B B B 15714 > $q ========================================================= # pwd /opt/DTraceToolkit-0.99/Mem # ls Readme B B B B B minfbyproc.d B B swapinfo.d B B B vmstat.d anonpgpid.d B B pgpginbypid.d B vmbypid.d B B B xvmstat minfbypid.d B B pgpginbyproc.d B vmstat-p.d # ./swapinfo.d RAM B _______Total 16256 MB RAM B B B Unusable B B 33 MB RAM B B B B Kernel 10499 MB RAM B B B B Locked B B 2 MB RAM B B B B B Used B 2769 MB RAM B B B B B Free B 2950 MB Disk _______Total 16384 MB Disk B B B B Resv B 1553 MB Disk B B B B Avail 14831 MB Swap _______Total 20076 MB Swap B B B B Resv B 1553 MB Swap B B B B Avail 18523 MB Swap B B (Minfree) B 2027 MB Why the kernel value difference ? Thanks! ___________________________________________________________ e%=g)h4:e !g- d= eo< i.g.1h4:e !e(f0d8 g:?o< http://card.mail.cn.yahoo.com/ From lolade14 at yahoo.com Mon Jan 19 05:31:42 2009 From: lolade14 at yahoo.com (lolade banjo) Date: Mon, 19 Jan 2009 02:31:42 -0800 (PST) Subject: suspecting my ports Message-ID: <717134.86249.qm@web54602.mail.re2.yahoo.com> Thanks for the asistance of last year please i need support on this issue, the blackboard application am administrating suddenly will not do collaboration with systems connection from outside the network, am suspecting that one of the ports alowing this might be closed can you tell me what i need to type to know which port is active and which is not. I apprectiate your help. Thanks Lolade Banjo 08023036876,018776427 O__ ---- Systems Administrator c/ /'_ --- Bb LMS (*) \(*) -- He gives me strenght to do all things.... who Jesus From ifot at forthnet.gr Mon Jan 19 08:15:56 2009 From: ifot at forthnet.gr (Giannis Fotopoulos) Date: Mon, 19 Jan 2009 15:15:56 +0200 Subject: devfsadm problem Message-ID: <13C09D825FB24FB3A22A72098E789408@in.forthnet.gr> Hi everyone, I am having the exact same problem when running devfsadm. We have many T2000, but on one of them, that is connected to our SAN, devfsadm reports no new disks. If a configuration reboot is done, the system reports the new disk. But only with a reboot. We have Solaris10 installed and Veritas VxVM and emulex LPe11000-M4 (all T2000 we use have the same emulex cards and same firmware revision). We have also checked /kernel/drv/sd.conf and it is exactly the same as on all other working T2000s that use the same cX and targets and LUNs. The output of cfgadm -al -o show_FCP_dev retrurns: cfgadm: Configuration administration not supported #cfgadm -al Ap_Id Type Receptacle Occupant Condition c0 scsi-bus connected configured unknown c0::dsk/c0t0d0 disk connected configured unknown c1 scsi-bus connected configured unknown c1::dsk/c1t0d0 CD-ROM connected configured unknown usb0/1 unknown empty unconfigured ok usb0/2 unknown empty unconfigured ok usb1/1.1 unknown empty unconfigured ok usb1/1.2 unknown empty unconfigured ok usb1/1.3 unknown empty unconfigured ok usb1/1.4 unknown empty unconfigured ok usb1/2 unknown empty unconfigured ok Which does not show the other controllers c4,c5 Here is the device path of two SAN disks on this system: /devices/pci at 7c0/pci at 0/pci at 8/fibre-channel at 0/sd at 4,0 and /devices/pci at 7c0/pci at 0/pci at 9/fibre-channel at 0/sd at 4,0 One other thing I would like to point out, is that we are having the exact same problem on a Sun-Fire-V245 with Solaris9. The only thing that these two servers have in common, as of our system configuration, is that the local system disks are mirrored with hardware RAID. When given the "format" command, this disk is shown as follows: AVAILABLE DISK SELECTIONS: 0. c0t0d0 /pci at 780/pci at 0/pci at 9/scsi at 0/sd at 0,0 Don't know if that has anything to do with this, but I thought I should mention it. Some general information on the system: #cat /etc/release Solaris 10 11/06 s10s_u3wos_10 SPARC Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 14 November 2006 #uname -a SunOS "hostname" 5.10 Generic_127127-11 sun4v sparc SUNW,Sun-Fire-T200 Any help would be appreciated. From asiye.yigit at gantek.com Mon Jan 19 14:20:14 2009 From: asiye.yigit at gantek.com (Asiye Yigit) Date: Mon, 19 Jan 2009 21:20:14 +0200 Subject: OS upgrade in sun cluster 3.1 Update 4 Message-ID: Hello All, We need to upgrade OS release from solaris 8 to solaris 10. Do you suggest any guide for this purpose? Do you also recommend to upgrade sun cluster 3.1 to sun cluster 3.2? Regards, From AJ.Venter at intecbilling.com Fri Jan 16 02:33:31 2009 From: AJ.Venter at intecbilling.com (AJ Venter) Date: Fri, 16 Jan 2009 09:33:31 +0200 Subject: Can one recover the ZFS filesystem that used to be on a disk ? Message-ID: Hi all, Thanks for the advice so far, it got me a bit further. The downside is - because of the erronous attempt to recreate a pool on the same device, indeed I found that zpool import -D could only get back said empty pool. However, this got me thinking, while I don't have backups of the data on the pool, I DO have a full backup of the server itself, including /dev etc. Though these are SAN drives, is there a chance that if I could restore the device file from backup BEFORE any of this, I could reimport it with the old header ? I did do a restore of the /dev/dsk directory (to a different location) but I think I'm misreading the manpage (or the idea doesn't work) because when I ran zpool import on the new location it found no pools whatsoever there (regardless of -D there or not). I tried to do a full path to the device, but it says no such pool available. So the question is - can I use a device file directly and import it ? At least if I could I could see if it would work this way. If I cannot, is there something else I could do ? Some other part of the OS I could restore to recover the filesystem header information so I could import the correct version of the zpool ? Thanks for the help so far, and hopefully this will help further. I should mention that I ordered software support from SUN as well to try and recover it but I don't yet know when I'll see an engineer, and of course everything I learn along the way here is less time before they can give me answer. Ciao A.J. > _____________________________________________ > From: AJ Venter > Sent: 15 January 2009 12:48 PM > To: 'sunmanagers at sunmanagers.org' > Subject: Can one recover the ZFS filesystem that used to be on a > disk ? > > Hi everyone, > Here's the situation I'm in, I inheritted a 150Gb ZFS filesystem from > a previous admin at my company. Said filesystem was unmirrored and > located on a single SAN disk, and in turn allocated to a zone. > > A request was made to add another 100Gb to the filesystem. > > Not being an expert on ZFS, I opted to go and RTFM, which I did a lot > off, finally I went with what looked like the right answer, just > create a SAN lun with a 100Gb available and add it to the zpool, did > so - device was there, space didn't increase (which the manual said it > should). > > Oh dear... > > I dug and dug but only found out later why it was happening (I was > adding the toplevel device name instead of the backup slice. > > By then however I had been moving on to what would have been step two > - create a lun eith 250Gb on it, add it to the zone using the replace > command and thus get a mirror of the old one onto the new big one. > Unfortunately I made my next big mistake here - I unbound the defunct > 100Gb LUN on the SAN side at this point - and found out only after > this that you cannot remove a disk from a zone without mirroring. > Zone was corrupted. So I ran a zpool destroy on it, recreated the pool > with the new 250Gb disk, didn't see any space went and dug and finally > found out what I had been doing wrong all along. > > So now I have a pool with the right space... but none of the old data > in it. The LUN which held the orriginal data is still there though, > just not in a pool at the moment. > I tried to do zpool import devicename on it - to no avail. I tried to > do a zpool create but it shows as empty. > > I believe the data should still be on the disk, after all - it wasn't > overwritten by anything, so I am wondering if there is a way to > recover that zfs filesystem so I can move the data onto the new pool > (or something similar). > Just to add fuel to the fire, I went and looked at our backup system > and it turns out the previous admin had done something very stupid... > he excluded the zone filesystems from the backup system - which means > I cannot restore from backups as there aren't any. > > So I am really hoping there is a way to recover the data from the old > LUN. Any ZFS experts who can help me ? > > Ciao > A.J. From veramontaro at gmail.com Mon Jan 19 19:32:09 2009 From: veramontaro at gmail.com (Vera Montaro) Date: Mon, 19 Jan 2009 16:32:09 -0800 Subject: SUMMARY: Solaris Printing Software Message-ID: <72fbfb890901191632t7e2df39cg40f2054c90c076dd@mail.gmail.com> Thanks for your help on this issue. I did not have any recommendations for the commercial product. Most of you recommended not to drop CUPS. Some of you suggested the following packages to work with HP printers: SOL1034.pkg SOLe118.PKG SOLd621.PKG HP discontinued these packages but you can use them anyway. I found this link to download these packages: http://www.filesearching.com/cgi-bin/s?d=&l=en&m=999&o=d&p=&p2=&q=pkg&s1=&s2=&submit=Go&t=x I am wondering what are the differences between these three packages? ( I guess I have to google more about these packages). I am not sure if these packages work with CUPS. If anyone knows how to setup these packages with CUPS, please help me. I will try on my test machine and post a follow-up summary later. Thanks. Vera > > On Fri, Jan 16, 2009 at 10:39 PM, Vera Montaro wrote: > >> We just migrated all production servers from HP-UX to SUN Solaris 10v5. >> Things are good except production printing. We have about 125 network >> printers in eight location within the city. To accommodate the complicated >> printing environment we decided to go with CUPS printing to resolve some >> of >> the -o options printing that migrated from hp-ux. The problem is some of >> our >> laser printers either too old or ppd drivers don't work at all. I have >> searched and found the correct ppd drivers for the printer models but most >> of ppd drivers don't work even the correct model ppd files. >> >> I am tired of managing CUPS that none of us has any expertise. My boss is >> willing to spend money to have a commercial print management software for >> solaris with full support. Do you know of any? Please share with me. >> Thanks. >> >> Vera >> _______________________________________________ >> sunmanagers mailing list >> sunmanagers at sunmanagers.org >> http://www.sunmanagers.org/mailman/listinfo/sunmanagers From tanvirscna at yahoo.com Tue Jan 20 10:00:19 2009 From: tanvirscna at yahoo.com (Mohammed 10vir) Date: Tue, 20 Jan 2009 07:00:19 -0800 (PST) Subject: Not able to see devices - D240 Message-ID: <815694.32482.qm@web37006.mail.mud.yahoo.com> Dear, I have new Sun Netra T2000 and Storage D240, I install the Solaris 10 5/8, everything looking okay then I connect new Storage D240 but I am not able to see the devices on solaris, also I tried with OK prompt with show-disks, probe-scsi-all but showing nothing. Any suggestion or producer to follow .. ? Thanks Mohammed Tanvir From mid.xinef at gmail.com Wed Jan 21 19:14:17 2009 From: mid.xinef at gmail.com (Midgard) Date: Wed, 21 Jan 2009 18:14:17 -0600 Subject: core issue in /var/fm/fmd/ Message-ID: <907c65c90901211614t4ca8f4bmfd19a56a76c30258@mail.gmail.com> Hi Admins I have a m5000 and I see that there is a core file that is heavy, the path is: /var/fm/fmd/ So, I see that under this path are log files and a core file: -bash-3.00$ du -sh * 0K ckpt 1.7G core.fmd.695 8.3M errlog 13M errlog.0 13M errlog.1 13M errlog.2 13M errlog.3 13M errlog.4 13M errlog.5 17M errlog.6 13M errlog.7 13M errlog.8 13M errlog.9 1K fltlog 0K rsrc 0K xprt -bash-3.00$ ls -l total 3940616 drwx------ 3 root sys 512 Jun 1 2008 ckpt -rw------- 1 root root 1863680000 Dec 5 22:20 core.fmd.695 -rw-r--r-- 1 root root 8731718 Jan 21 18:02 errlog -rw-r--r-- 1 root root 14086318 Jan 21 03:09 errlog.0 -rw-r--r-- 1 root root 14081398 Jan 20 03:09 errlog.1 -rw-r--r-- 1 root root 14079758 Jan 19 03:09 errlog.2 -rw-r--r-- 1 root root 14083038 Jan 18 03:09 errlog.3 -rw-r--r-- 1 root root 14084678 Jan 17 03:09 errlog.4 -rw-r--r-- 1 root root 14089598 Jan 16 03:09 errlog.5 -rw-r--r-- 1 root root 17364678 Jan 15 03:09 errlog.6 -rw-r--r-- 1 root root 14069918 Dec 5 03:09 errlog.7 -rw-r--r-- 1 root root 14089598 Dec 4 03:09 errlog.8 -rw-r--r-- 1 root root 14089598 Dec 3 03:09 errlog.9 -rw-r--r-- 1 root root 361 Nov 8 2007 fltlog drwx------ 2 root sys 512 Dec 5 22:20 rsrc drwx------ 2 root sys 512 Nov 8 2007 xprt I see search for some documentation about SFM (System Fault Management), but I can't find something that help me, There are some information about my system and my services: SunOS my-hostname 5.10 Generic_127111-11 sun4u sparc SUNW,SPARC-Enterprise -bash-3.00$ svcs -d svc:/system/fmd:default STATE STIME FMRI online Apr_23 svc:/system/filesystem/minimal:default online Apr_23 svc:/system/sysevent:default online Apr_23 svc:/network/rpc/bind:default online Apr_23 svc:/system/dumpadm:default maintenance Apr_23 svc:/platform/sun4u/dscp:default -bash-3.00$ svcs -l svc:/system/fmd:default fmri svc:/system/fmd:default name Solaris Fault Manager enabled true state online next_state none state_time Fri Dec 05 22:20:45 2008 logfile /var/svc/log/system-fmd:default.log restarter svc:/system/svc/restarter:default contract_id 13661 dependency optional_all/none svc:/platform/sun4u/dscp (maintenance) dependency require_all/none file://localhost/usr/lib/fm/fmd/fmd (online) dependency require_all/none svc:/system/sysevent (online) svc:/system/filesystem/minimal (online) svc:/system/dumpadm (online) dependency optional_all/none svc:/network/rpc/bind (online) -bash-3.00$ -bash-3.00$ tail -f /var/svc/log/system-fmd:default.log fmd: failed to register rpc service on ticots [ Apr 14 10:01:04 Method "start" exited with status 0 ] [ Apr 23 15:02:59 Stopping because service disabled. ] [ Apr 23 15:03:00 Executing stop method (:kill) ] [ Apr 23 16:04:39 Executing start method ("/usr/lib/fm/fmd/fmd") ] [ Apr 23 16:04:40 Method "start" exited with status 0 ] [ Dec 5 22:20:42 Stopping because process dumped core. ] [ Dec 5 22:20:42 Executing stop method (:kill) ] [ Dec 5 22:20:44 Executing start method ("/usr/lib/fm/fmd/fmd") ] [ Dec 5 22:20:45 Method "start" exited with status 0 ] -bash-3.00$ svcs svc:/platform/sun4u/dscp STATE STIME FMRI maintenance Apr_23 svc:/platform/sun4u/dscp:default -bash-3.00$ svcs -l svc:/platform/sun4u/dscp fmri svc:/platform/sun4u/dscp:default name DSCP Service enabled true state maintenance next_state none state_time Wed Apr 23 16:04:39 2008 logfile /var/svc/log/platform-sun4u-dscp:default.log restarter svc:/system/svc/restarter:default contract_id dependency require_any/error svc:/milestone/network (online) dependency require_all/none svc:/system/filesystem/local (online) dependency optional_all/none svc:/platform/sun4u/sckmd:default (online) -bash-3.00$ tail -f /var/svc/log/platform-sun4u-dscp:default.log [ Apr 14 10:01:03 Method "start" failed due to signal KILL ] [ Apr 23 16:01:37 Executing start method ("/lib/svc/method/svc-dscp start") ] [ Apr 23 16:02:38 Method or service exit timed out. Killing contract 51 ] [ Apr 23 16:02:38 Method "start" failed due to signal KILL ] [ Apr 23 16:02:38 Executing start method ("/lib/svc/method/svc-dscp start") ] [ Apr 23 16:03:38 Method or service exit timed out. Killing contract 81 ] [ Apr 23 16:03:38 Method "start" failed due to signal KILL ] [ Apr 23 16:03:38 Executing start method ("/lib/svc/method/svc-dscp start") ] [ Apr 23 16:04:39 Method or service exit timed out. Killing contract 82 ] [ Apr 23 16:04:39 Method "start" failed due to signal KILL ] Can I delete the core file and log files with out problems?, and why did it appears?, is it critical situation this issue? an extra information, I applied patches on April 23. Thanks in advance! Mid From tanvirscna at yahoo.com Thu Jan 22 21:21:20 2009 From: tanvirscna at yahoo.com (Mohammed 10vir) Date: Thu, 22 Jan 2009 18:21:20 -0800 (PST) Subject: Need packages of Oracle 10g RAC for Solaris 10 Message-ID: <365441.54346.qm@web37002.mail.mud.yahoo.com> Hi, Can you please give the links for following packages have to download ... SUNWudlmr SUNWudlm SUNWscucm ORCLudlm Thanks Mohammed Tanvir From kynaston at gmail.com Fri Jan 23 09:35:59 2009 From: kynaston at gmail.com (Roger Kynaston) Date: Fri, 23 Jan 2009 14:35:59 +0000 Subject: configuring cpu pools in zones Message-ID: Greetings Managers I have a problem here and would welcome any input on it. We have an application that requires that it's daemon should be able to bind to a specific cpu resource. On our setup we use a very dynamic resource management model which is causing this daemon to crash when the cpu resource it is bound to is allocated elsewhere. I am proposing to set up a static pool with cpu.pinned to allow for this. My question is whether I can do this while leaving the other cpu resources dynamically allocated for the other zones running on this server. Apologies if this is overly simple but I have not had any luck with finding out about this from google or docs.sun.com. The hardware is a T5220 and we are on solaris 8/07 Thanks in advance. Roger Kynaston From GT4NE1 at gmail.com Fri Jan 23 10:49:39 2009 From: GT4NE1 at gmail.com (GT4NE1) Date: Fri, 23 Jan 2009 07:49:39 -0800 Subject: Complete Audit of SunOS 5.6 Message-ID: Hi all, I'm in charge of trying to replace a legacy SunOS 5.6 Enterprise 3000 server that has been around since the beginning of time. I would like to perform a full audit of services, users, connections, etc... that are being used on this box. I could script all of this out, but I don't want to re-invent the wheel. Anyone know if there are any existing scripts/app out there that will do this? Thanks, -GT From jdd at cs.toronto.edu Sat Jan 24 00:30:02 2009 From: jdd at cs.toronto.edu (John DiMarco) Date: Sat, 24 Jan 2009 00:30:02 -0500 (EST) Subject: IMPORTANT: Read this before posting to Sun-Managers Message-ID: <20090124053002.2111B6E0003@apps0.cs.toronto.edu> Archive-name: sunmanagers-before-posting Last Updated: $Id: before.posting,v 1.21 2005/12/28 21:05:10 jdd Exp $ NOTE: This message is posted periodically to sunmanagers on behalf of all members of the Sunmanager's mailing list. Please read it carefully before posting. This document can be retrieved from: ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/before.posting Dear prospective sunmanagers poster, Before posting, please stop for a minute and consider whether or not your posting is suitable for Sunmanagers. The list is not intended for just any possible question related to managing Sun equipment or software. The only appropriate questions for Sun Managers are time-critical questions about Sun system management problems that are not answered in the manuals or system documentation, or in the Sunmanager's FAQ. In particular, the following kinds of postings are not appropriate: - Subscribe and unsubscribe messages. Point your web browser to http://www.sunmanagers.org instead. - Test messages of any sort. - Discussions about anything, including discussions about the list itself, or followups to any posting, with the exception of a single summary to one's own question summarizing the email responses. Use instead one of the Sun newsgroups, eg. comp.sys.sun.admin, comp.sys.sun.hardware or comp.unix.solaris. - Replies to any SunManagers posting, even if the reply is a separate question. Please send a separate message instead. - Postings not related to Sun equipment or software. Use the appropriate newsgroup or mailing list instead. For example, if your question concerns "sendmail", please consult the comp.mail.sendmail newsgroup or the www.sendmail.org website. - General UNIX or network questions. Use the appropriate newsgroup, eg. comp.unix.questions instead. - Postings that are not time-critical. Use one of the Sun newsgroups, eg. comp.sys.sun.admin, comp.sys.sun.hardware or comp.unix.solaris. - Questions answered in the FAQ. Read the FAQ instead. If you're not sure if the question is in the FAQ, please check before asking. You can find the FAQ at: ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq.html ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq - Questions that are answered in the manuals, http://docs.sun.com or system documentation. Read the manuals instead. If you're not sure if the question is answered in the manuals, please check first! - Job postings, requests for jobs, sales pitches, etc. Use the appropriate newsgroup instead. - Please, no postings in HTML, rich-text-format, Microsoft Word, Word Perfect, or any format that some people on the list would not easily be able to read. Also, please post in English only; most of our readers are not able to read other languages. - Please do not BCC (blind carbon copy) the list. Many of our list members depend on the list address appearing on incoming mail messages, so that they can automatically distinguish list traffic from other traffic. Please note that we are not saying these postings are necessarily "bad" or "stupid". They are not. They are merely inappropriate for this list. There are many other lists and newsgroups for which the question may be completely appropriate, and we encourage you to submit the posting there. Note also that your question may have been already answered in the past. Please spend a minute or two checking one of the Sunmanager's archives, for example, at http://www.sunmanagers.org, or one of the archive sites mentioned in the FAQ. Here's an example of an appropriate question: I have a SPARCserver 99 running Solaris 9.8.7 with the fizbozz patch and the jumbo kernel patch version 158. After I installed Futzbarworks version 3.2, the machine locks up every couple of hours. When it locks up, the following message appears on the console: zz0: out of futzbufs. Barworks table is full. I need to get this machine working as soon as possible. Please help! Send email and I will summarize to the list. To submit a question, email it to sunmanagers at sunmanagers.org. When you do this, please indicate all relevant information, including machine type, OS version and patches. Collect email replies, and then summarize them to the list. If your question was posted with a subject of "foobar", for example, then please post your summary with a subject of "SUMMARY: foobar". Why are we asking that only certain types of postings be submitted to the list? Very simply, the reason is this: we want the list to have a very short turnaround time, and the only reasonable way to do this is to keep it unmoderated. But this means that every message sent to the list ends up in the mailboxes of all the list members. To keep all the members of the list from being deluged by inappropriate messages, we need everyone's co-operation in ensuring that only appropriate messages are sent to the list. Please remember, Sunmanagers is a public forum: we have thousands of subscribers, all posts are archived on numerous archive sites, and these are searchable via various web engines. A great number of people will read your message. Keep in mind that the person reading your message may be your boss, your future boss, your customer, your seminar instructor, your colleague, or someone else that you work with today or may find yourself working with tomorrow. We do not want you to embarrass yourself by sending an inappropriate or poorly thought-out posting. Regards, John -- John DiMarco Sunmanagers Information Files Maintainer http://www.cs.toronto.edu/~jdd From Lawrence.Y.Koo at seagate.com Sat Jan 24 01:18:36 2009 From: Lawrence.Y.Koo at seagate.com (Lawrence.Y.Koo at seagate.com) Date: Sat, 24 Jan 2009 14:18:36 +0800 Subject: Lawrence Y Koo/Seagate is out of the office. Message-ID: I will be out of the office starting 01/22/2009 and will not return until 01/29/2009. Any issues, please email to sga.notes at seagate.com. I will respond to your email when I'm back, if required. Thanks & Have A Nice Day! From aleks.feltin at sunsetwireless.fi Mon Jan 26 02:37:35 2009 From: aleks.feltin at sunsetwireless.fi (Aleks Feltin) Date: Mon, 26 Jan 2009 09:37:35 +0200 Subject: SUMMARY: fcp:fcp_offline_delay In-Reply-To: <20090114074804.GA29006@dev.scms.fi> References: <20090114074804.GA29006@dev.scms.fi> Message-ID: <20090126073735.GA24535@dev.scms.fi> Thanks to everyone who found time to answer Nelyubin Anatoly hike Antony Pavlenko Sengor We use MPxIO and the best /etc/system settings (recommended by EMC support matrix) for us are: forceload: drv/ssd set ssd:ssd_max_throttle=20 set ssd:ssd_io_time=0x78 set maxphys=1048576 set fcp:fcp_offline_delay = 20 regards, Aleks F. On 14/01/09 09:48 +0200, Aleks Feltin wrote: >Hi Managers, > >I am on Solaris 10 connected to Symmetrix SAN. >What happened recently was a SAN firmware upgrade, which caused small delay >(5-10 seconds). >As a result, qlc HBAs were offlined and all LUNs have been lost hence the >mounts were gone. >With forceLIP it succeeded to get them back without rebooting. > >My major concern is how to avoid such situations in future. >How to force Solaris not to offline HBAs for let's say 20-30 seconds and keep >filesystem mounted during short maintenances? > >Very first thing I came up to was fcp_offline_delay parameter. It is set to 20 >seconds by default, but it is clear enough that downtime took significantly >less time. I puzzled what should I tune to achieve my major objective. > >thanks in advance, > >-- >A > >[demime 1.01b removed an attachment of type application/pgp-signature which had a name of signature.asc] >_______________________________________________ >sunmanagers mailing list >sunmanagers at sunmanagers.org >http://www.sunmanagers.org/mailman/listinfo/sunmanagers -- A [demime 1.01b removed an attachment of type application/pgp-signature which had a name of signature.asc] From kynaston at gmail.com Mon Jan 26 16:51:57 2009 From: kynaston at gmail.com (Roger Kynaston) Date: Mon, 26 Jan 2009 21:51:57 +0000 Subject: SUMMARY: configuring pools in solaris zones Message-ID: <497E307D.7090203@gmail.com> Greetings Managers Thanks to JayJay for response. The solution is (fortunately) quite simple. We allocated cpus to a static pool and used the cpu.pinned directive to ensure that we get a definite cpu. The rest of the zones can still use dynamic resource pools. Now we just have to hope that this fixes our problem with this application! Regards Roger -- Roger Kynaston email: kynaston at gmail.com web: http://www.rkynaston.co.uk *************************************** Live slowly, Sail fast From rachid.boukhari at gmail.com Tue Jan 27 13:57:12 2009 From: rachid.boukhari at gmail.com (Rachid BOUKHARI) Date: Tue, 27 Jan 2009 18:57:12 +0000 Subject: JVM monitoring Message-ID: <85ec26a30901271057j419aac97xd77b071dc87e28b6@mail.gmail.com> Hi Gurus, Any tools to monitor JVM heap size . Regards, From gouthamlabs at gmail.com Wed Jan 28 11:00:58 2009 From: gouthamlabs at gmail.com (Goutham N) Date: Wed, 28 Jan 2009 21:30:58 +0530 Subject: Dynamic Domain Testing on M5000 Server Message-ID: <488e2be40901280800t5ea27626o5b97c93c69a96999@mail.gmail.com> Dear Sun Managers, Have any one tested/utilized Dynamic Domain feature available in M5000 series servers. If so, can you please share (or) point me to the appropriate documentations available on it for our understanding. Thanks a Ton! Regards, N. Gowthaman. From toml at engr.orst.edu Wed Jan 28 11:08:47 2009 From: toml at engr.orst.edu (Tom Lieuallen) Date: Wed, 28 Jan 2009 08:08:47 -0800 Subject: SUMMARY: zfs rootpool degraded and migration In-Reply-To: <497006F3.2030902@engr.orst.edu> References: <497006F3.2030902@engr.orst.edu> Message-ID: <4980830F.5000405@engr.orst.edu> I didn't get a single hit from this mail. :-( The zfs root file system finally reached a point of no return. I didn't have a chance to try reseating the drives or anything. The machine crashed and wouldn't boot again, so we just replaced both disks. For the migration issue... I had installed the OS on machine2, then we popped it (a single disk at this point) into machine1. As before, it failed to boot, saying that the zfs pool 'rootpool' was last mounted on a different machine (machine2). So, I booted off the network into single user. Then ran 'zpool import -f rootpool'. Then I rebooted off the disk and all was fine. There may be a better procedure, but this does work. FYI Tom Lieuallen Oregon State University Tom Lieuallen wrote: > I have a V120 running Solaris 10 U6. I decided to use a zfs root file > system so that I could mirror without all the solstice pieces. I > installed the OS, then attached the second drive after the OS was up > (zpool attach...). It appears that the resilvering had problems. > > # zpool status > pool: rootpool > state: DEGRADED > status: One or more devices has experienced an error resulting in data > corruption. Applications may be affected. > action: Restore the file in question if possible. Otherwise restore the > entire pool from backup. > see: http://www.sun.com/msg/ZFS-8000-8A > scrub: resilver completed after 0h41m with 51926 errors on Wed Dec 31 > 13:05:02 > 2008 > config: > > NAME STATE READ WRITE CKSUM > rootpool DEGRADED 10 0 108K > mirror DEGRADED 10 0 108K > c0t0d0s0 FAULTED 20 0 0 too many errors > c0t1d0s0 DEGRADED 0 1 216K too many errors > > errors: Permanent errors have been detected in the following files: > > /a1/solaris10/include/curl/curl.h > /a1/solaris10/include/curl/curlver.h > ... > > ... > > # zfs list > NAME USED AVAIL REFER MOUNTPOINT > rootpool 13.3G 19.9G 94K /rootpool > rootpool/ROOT 4.25G 19.9G 18K legacy > rootpool/ROOT/solaris10_6 4.25G 19.9G 4.17G / > rootpool/ROOT/solaris10_6/var 83.3M 19.9G 83.3M /var > rootpool/a1 2.75G 5.25G 2.75G /a1 > rootpool/dump 2.00G 19.9G 2.00G - > rootpool/private 341M 5.67G 341M /private > rootpool/swap 4G 23.9G 16K - > > # iostat -e > ---- errors --- > device s/w h/w trn tot > ramdisk1 0 0 0 0 > sd0 0 129 487 616 > sd3 0 256 877 1133 > nfs1 0 0 0 0 > > The system logs report scsi bus resets and read and write errors for > both disks. I assume one of the disks is causing problems for > everything on the bus. > > The 'faulted' disk is the one with the original OS. The files it is > reporting problems with are all on rootpool/a1. There's only ~50,000 of > them. That's just a copy of our /usr/local, so there's nothing there I > need. > > Should we just shut the machine down/off, reseat both disks, and hope > for the best? I'm concerned it won't boot again. :-( Or, if we try to > hot-plug one of the disks, it may panic too. > > I have another related question... > > I'd like to prepare another disk or two to slap into this host in case > it's not repairable or in case something I do makes things worse. :-) > What is the proper procedure for installing a machine with zfs root, > then moving that disk to another host? I did this once before and it > complained about the zpool being last used by a different host. I ended > up booting off the net and forcing the import. To simplify matters, > should I boot the temporary install host off the net and export the > zpool? Or should I just be prepared to force the import? > > thank you > > Tom Lieuallen > Oregon State University > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers From stan at temple.edu Wed Jan 28 11:33:10 2009 From: stan at temple.edu (Stan Horwitz) Date: Wed, 28 Jan 2009 11:33:10 -0500 Subject: Problem with wrong autonegation on a T1000 Message-ID: Greetings Sun Managers; I have a Sun T2000 with Solaris 10 on it. This server has been in production since 11/2007 and its been running great since. As you can see from ... # ndd -get /dev/e1000g0 1000hdx_cap 1 # ndd -get /dev/e1000g1 1000hdx_cap 1 both ports are set for auto-negotiation. The ports on our switch to which this T2000's NICs are connected are set to 1GB auto-negotiation. The connections should both be running at 1000 full duplex. This T2000 is used for NetWorker backups. It was rebooted this past Sunday morning and it came up fine, but since then, its throughput has been much too slow. I am very green behind the ears with Solaris systems management, so I am at a loss as to why this problem has occurred. I looked through the FAQ file for this list and I found out about the ndd utility, but I don't see how to use it to fix this problem or if some other tool would be appropriate. Googling has just given me a bunch of information that's cryptic to me. What I need to know is how to set the ports to 1GB again, preferably without any service interruptions. I also need to know why the auto-negotiation is incorrect and how to prevent this issue from occurring again. If anyone has any thoughts on this matter, please let me know. From Raymond.Lee at qwest.com Wed Jan 28 12:54:57 2009 From: Raymond.Lee at qwest.com (Lee, Raymond) Date: Wed, 28 Jan 2009 11:54:57 -0600 Subject: Multiple read errors on StorEdge 3910 Message-ID: <6EC7953652E1704A8CF85C0C0CC80407052E94C5@itomae2km09.AD.QINTRA.COM> Hi Managers, I've got 2 SunFire V1280s running Sun Cluster 3.1. They're connected to a StorEdge 3910 array that is spitting out read errors when it does a vol verify. Here are some of the errors: (these keep repeating on the same 3 disks) Jan 28 01:30:41 locus ISR1[2]: W: u2d09 SCSI error occurred: Medium Error (sense key = 0x3). Read Retries Exhausted. Jan 27 14:45:06 locus ISR1[2]: W: u2d03 SCSI error occurred: Medium Error (sense key = 0x3). Read Retries Exhausted. Jan 27 14:45:06 locus ISR1[2]: W: u2d01 SCSI error occurred: Medium Error (sense key = 0x3). Read Retries Exhausted. (these keep repeating for the same 2 stripes) Jan 27 14:45:08 locus SX11[2]: N: u2ctr Vol verify found multiple read-disk errors on stripe 4365949 of volume (Raid set) vol2. Skipping stripe. Jan 27 14:43:01 locus SX11[2]: N: u2ctr Vol verify found multiple read-disk errors on stripe 4360575 of volume (Raid set) vol2. Skipping stripe. I logged into the T3 in question, and 'fru stat', 'fru list', 'vol stat' all look fine. I recently had a failed u2d01 which was replaced and reconstructed successfully from the spare. I opened a case with Sun about this, and this is what they had to say: "Problem is that there are multiple drive media errors across stripe units. Normally a reconstruct of the stripe will yield the data needed for the host and the errors will be marked on the drive. Next writes to that LBA will reallocate the errors (drive function) but only if there is a single drive reporting the error for that stripe unit. Since there are multiple drives in that stripe unit reporting errors you have a multiple drive error that is reported back to the host as a failed read io operation. The only thing you can do is backup the affected volumes and re-initialize (re-create) and restore the data. He then stated the following as your only 2 choices from this point out: 1. Customer can use his DB or FS utilities to find out what file or files are affected by read operations and re-write those files. You should then get corresponding data reallocations on the array and then monitor the array. 2. Backup data, blow away volumes on tray 2, recreate volumes, initialize volumes, recreate slices, restore data." Does anyone have any other suggestions to fix the read errors? If I have to choose between the two options Sun gave, I'd rather go with option 1, but how would I go about doing that? It seems like trying to find a needle in a haystack. Sun wasn't very helpful with that...just gave me a man page of the 'find' command. I want to avoid option 2 if at all possible because it'll be too time and resource-consuming. Thanks, Ray This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. From David at Schoolloop.com Wed Jan 28 13:17:04 2009 From: David at Schoolloop.com (David L Kensiski) Date: Wed, 28 Jan 2009 10:17:04 -0800 Subject: Solaris cannot see all drives on Areca RAID controller Message-ID: I am running Solaris 10 x86 u6 (10/2008) on a SuperMicro PDSME+ with an Areca ARC-1280ML 24-channel RAID controller. The RAID controller is configured in JBOD mode with drives in channels 1 - 8 and 24. Solaris can only see the drives on channels 1 through 8. The RAID BIOS says the drive on channel 24 is at SCSI Ch/Id/Lun : 0/23/0. I have modified /kernel/drv/sd.conf to include entries through target 23: name="sd" class="scsi" target=0 lun=0; ... name="sd" class="scsi" target=23 lun=0; I tried running devfsadm as well as a reconfigure reboot, but still cannot see the device at target 23. How can I expose this drive to Solaris? Thanks, --Dave From Alex_GALEA at engin.com.au Wed Jan 28 16:50:29 2009 From: Alex_GALEA at engin.com.au (Galea, Alex) Date: Thu, 29 Jan 2009 08:50:29 +1100 Subject: 300GB disk in Sun v440 Message-ID: <396D6203BB059B419E8FDC27997C4AD701BF2B86@ffex1.engin.com.au> Managers, I have a SUN fire V440 or two that I would like to chock full of disk. Currently each have 4 x 72GB internal disks. I would like to replace these with SUN 300GB disk but can not find any supporting information. I have been told that it should work. Has anyone configured V440's in this way? and the big question will SUN support it? Thanks, Alex From sathish.sundaravel at in.ibm.com Wed Jan 28 15:24:18 2009 From: sathish.sundaravel at in.ibm.com (Sathish Sundaravel) Date: Thu, 29 Jan 2009 01:54:18 +0530 Subject: sunmanagers Digest, Vol 22, Issue 11 In-Reply-To: Message-ID: Hi Friends, I am getting the below error on the server very frequently. Could you please help out what i need to do to fix the issue. Error Message " [ID 517869 kern.warning] WARNING: 3050854=>fp(0)::PLOGI to 4c1900 failed. state=e reason=5. " I have checked the connectivity of HBA's and seems to be fine. /devices/pci at 19c,600000/SUNW,qlc at 1/fp at 0,0:devctl CONNECTED /devices/pci at 19d,700000/SUNW,qlc at 1/fp at 0,0:devctl CONNECTED /devices/pci at 1bc,600000/SUNW,qlc at 1/fp at 0,0:devctl CONNECTED /devices/pci at 1bd,700000/SUNW,qlc at 1/fp at 0,0:devctl CONNECTED /devices/pci at 21c,600000/SUNW,qlc at 1/fp at 0,0:devctl CONNECTED /devices/pci at 21d,700000/SUNW,qlc at 1/fp at 0,0:devctl CONNECTED /devices/pci at 23c,600000/SUNW,qlc at 1/fp at 0,0:devctl CONNECTED /devices/pci at 23d,700000/SUNW,qlc at 1/fp at 0,0:devctl CONNECTED Please assist me. regards Sathish Sundaravel Sathish Sundaravel | System Admin | SSO b Midrange UNIX |B - ITD b Global Delivery , India sunmanagers-reque st at sunmanagers.or g To Sent by: sunmanagers at sunmanagers.org sunmanagers-bounc cc es at sunmanagers.or g Subject sunmanagers Digest, Vol 22, Issue 11 24/01/2009 11:01 Please respond to sunmanagers at sunma nagers.org Send sunmanagers mailing list submissions to sunmanagers at sunmanagers.org To subscribe or unsubscribe via the World Wide Web, visit http://www.sunmanagers.org/mailman/listinfo/sunmanagers or, via email, send a message with subject or body 'help' to sunmanagers-request at sunmanagers.org You can reach the person managing the list at sunmanagers-owner at sunmanagers.org When replying, please edit your Subject line so it is more specific than "Re: Contents of sunmanagers digest..." Today's Topics: 1. OS upgrade in sun cluster 3.1 Update 4 (Asiye Yigit) 2. RE: Can one recover the ZFS filesystem that used to be on a disk ? (AJ Venter) 3. SUMMARY: Solaris Printing Software (Vera Montaro) 4. Not able to see devices - D240 (Mohammed 10vir) 5. core issue in /var/fm/fmd/ (Midgard) 6. Need packages of Oracle 10g RAC for Solaris 10 (Mohammed 10vir) 7. configuring cpu pools in zones (Roger Kynaston) 8. Complete Audit of SunOS 5.6 (GT4NE1) 9. IMPORTANT: Read this before posting to Sun-Managers (John DiMarco) ---------------------------------------------------------------------- Message: 1 Date: Mon, 19 Jan 2009 21:20:14 +0200 From: "Asiye Yigit" Subject: OS upgrade in sun cluster 3.1 Update 4 To: Message-ID: Content-Type: text/plain; charset="us-ascii" Hello All, We need to upgrade OS release from solaris 8 to solaris 10. Do you suggest any guide for this purpose? Do you also recommend to upgrade sun cluster 3.1 to sun cluster 3.2? Regards, ------------------------------ Message: 2 Date: Fri, 16 Jan 2009 09:33:31 +0200 From: "AJ Venter" Subject: RE: Can one recover the ZFS filesystem that used to be on a disk ? To: Message-ID: Content-Type: text/plain; charset="us-ascii" Hi all, Thanks for the advice so far, it got me a bit further. The downside is - because of the erronous attempt to recreate a pool on the same device, indeed I found that zpool import -D could only get back said empty pool. However, this got me thinking, while I don't have backups of the data on the pool, I DO have a full backup of the server itself, including /dev etc. Though these are SAN drives, is there a chance that if I could restore the device file from backup BEFORE any of this, I could reimport it with the old header ? I did do a restore of the /dev/dsk directory (to a different location) but I think I'm misreading the manpage (or the idea doesn't work) because when I ran zpool import on the new location it found no pools whatsoever there (regardless of -D there or not). I tried to do a full path to the device, but it says no such pool available. So the question is - can I use a device file directly and import it ? At least if I could I could see if it would work this way. If I cannot, is there something else I could do ? Some other part of the OS I could restore to recover the filesystem header information so I could import the correct version of the zpool ? Thanks for the help so far, and hopefully this will help further. I should mention that I ordered software support from SUN as well to try and recover it but I don't yet know when I'll see an engineer, and of course everything I learn along the way here is less time before they can give me answer. Ciao A.J. > _____________________________________________ > From: AJ Venter > Sent: 15 January 2009 12:48 PM > To: 'sunmanagers at sunmanagers.org' > Subject: Can one recover the ZFS filesystem that used to be on a > disk ? > > Hi everyone, > Here's the situation I'm in, I inheritted a 150Gb ZFS filesystem from > a previous admin at my company. Said filesystem was unmirrored and > located on a single SAN disk, and in turn allocated to a zone. > > A request was made to add another 100Gb to the filesystem. > > Not being an expert on ZFS, I opted to go and RTFM, which I did a lot > off, finally I went with what looked like the right answer, just > create a SAN lun with a 100Gb available and add it to the zpool, did > so - device was there, space didn't increase (which the manual said it > should). > > Oh dear... > > I dug and dug but only found out later why it was happening (I was > adding the toplevel device name instead of the backup slice. > > By then however I had been moving on to what would have been step two > - create a lun eith 250Gb on it, add it to the zone using the replace > command and thus get a mirror of the old one onto the new big one. > Unfortunately I made my next big mistake here - I unbound the defunct > 100Gb LUN on the SAN side at this point - and found out only after > this that you cannot remove a disk from a zone without mirroring. > Zone was corrupted. So I ran a zpool destroy on it, recreated the pool > with the new 250Gb disk, didn't see any space went and dug and finally > found out what I had been doing wrong all along. > > So now I have a pool with the right space... but none of the old data > in it. The LUN which held the orriginal data is still there though, > just not in a pool at the moment. > I tried to do zpool import devicename on it - to no avail. I tried to > do a zpool create but it shows as empty. > > I believe the data should still be on the disk, after all - it wasn't > overwritten by anything, so I am wondering if there is a way to > recover that zfs filesystem so I can move the data onto the new pool > (or something similar). > Just to add fuel to the fire, I went and looked at our backup system > and it turns out the previous admin had done something very stupid... > he excluded the zone filesystems from the backup system - which means > I cannot restore from backups as there aren't any. > > So I am really hoping there is a way to recover the data from the old > LUN. Any ZFS experts who can help me ? > > Ciao > A.J. ------------------------------ Message: 3 Date: Mon, 19 Jan 2009 16:32:09 -0800 From: "Vera Montaro" Subject: SUMMARY: Solaris Printing Software To: "Sun User Group" Message-ID: <72fbfb890901191632t7e2df39cg40f2054c90c076dd at mail.gmail.com> Content-Type: text/plain; charset="us-ascii" Thanks for your help on this issue. I did not have any recommendations for the commercial product. Most of you recommended not to drop CUPS. Some of you suggested the following packages to work with HP printers: SOL1034.pkg SOLe118.PKG SOLd621.PKG HP discontinued these packages but you can use them anyway. I found this link to download these packages: http://www.filesearching.com/cgi-bin/s?d=&l=en&m=999&o=d&p=&p2=&q=pkg&s1=&s2=&submit=Go&t=x I am wondering what are the differences between these three packages? ( I guess I have to google more about these packages). I am not sure if these packages work with CUPS. If anyone knows how to setup these packages with CUPS, please help me. I will try on my test machine and post a follow-up summary later. Thanks. Vera > > On Fri, Jan 16, 2009 at 10:39 PM, Vera Montaro wrote: > >> We just migrated all production servers from HP-UX to SUN Solaris 10v5. >> Things are good except production printing. We have about 125 network >> printers in eight location within the city. To accommodate the complicated >> printing environment we decided to go with CUPS printing to resolve some >> of >> the -o options printing that migrated from hp-ux. The problem is some of >> our >> laser printers either too old or ppd drivers don't work at all. I have >> searched and found the correct ppd drivers for the printer models but most >> of ppd drivers don't work even the correct model ppd files. >> >> I am tired of managing CUPS that none of us has any expertise. My boss is >> willing to spend money to have a commercial print management software for >> solaris with full support. Do you know of any? Please share with me. >> Thanks. >> >> Vera >> _______________________________________________ >> sunmanagers mailing list >> sunmanagers at sunmanagers.org >> http://www.sunmanagers.org/mailman/listinfo/sunmanagers ------------------------------ Message: 4 Date: Tue, 20 Jan 2009 07:00:19 -0800 (PST) From: Mohammed 10vir Subject: Not able to see devices - D240 To: sunmanagers at sunmanagers.org Message-ID: <815694.32482.qm at web37006.mail.mud.yahoo.com> Content-Type: text/plain; charset=us-ascii Dear, I have new Sun Netra T2000 and Storage D240, I install the Solaris 10 5/8, everything looking okay then I connect new Storage D240 but I am not able to see the devices on solaris, also I tried with OK prompt with show-disks, probe-scsi-all but showing nothing. Any suggestion or producer to follow .. ? Thanks Mohammed Tanvir ------------------------------ Message: 5 Date: Wed, 21 Jan 2009 18:14:17 -0600 From: Midgard Subject: core issue in /var/fm/fmd/ To: sunmanagers Message-ID: <907c65c90901211614t4ca8f4bmfd19a56a76c30258 at mail.gmail.com> Content-Type: text/plain; charset="us-ascii" Hi Admins I have a m5000 and I see that there is a core file that is heavy, the path is: /var/fm/fmd/ So, I see that under this path are log files and a core file: -bash-3.00$ du -sh * 0K ckpt 1.7G core.fmd.695 8.3M errlog 13M errlog.0 13M errlog.1 13M errlog.2 13M errlog.3 13M errlog.4 13M errlog.5 17M errlog.6 13M errlog.7 13M errlog.8 13M errlog.9 1K fltlog 0K rsrc 0K xprt -bash-3.00$ ls -l total 3940616 drwx------ 3 root sys 512 Jun 1 2008 ckpt -rw------- 1 root root 1863680000 Dec 5 22:20 core.fmd.695 -rw-r--r-- 1 root root 8731718 Jan 21 18:02 errlog -rw-r--r-- 1 root root 14086318 Jan 21 03:09 errlog.0 -rw-r--r-- 1 root root 14081398 Jan 20 03:09 errlog.1 -rw-r--r-- 1 root root 14079758 Jan 19 03:09 errlog.2 -rw-r--r-- 1 root root 14083038 Jan 18 03:09 errlog.3 -rw-r--r-- 1 root root 14084678 Jan 17 03:09 errlog.4 -rw-r--r-- 1 root root 14089598 Jan 16 03:09 errlog.5 -rw-r--r-- 1 root root 17364678 Jan 15 03:09 errlog.6 -rw-r--r-- 1 root root 14069918 Dec 5 03:09 errlog.7 -rw-r--r-- 1 root root 14089598 Dec 4 03:09 errlog.8 -rw-r--r-- 1 root root 14089598 Dec 3 03:09 errlog.9 -rw-r--r-- 1 root root 361 Nov 8 2007 fltlog drwx------ 2 root sys 512 Dec 5 22:20 rsrc drwx------ 2 root sys 512 Nov 8 2007 xprt I see search for some documentation about SFM (System Fault Management), but I can't find something that help me, There are some information about my system and my services: SunOS my-hostname 5.10 Generic_127111-11 sun4u sparc SUNW,SPARC-Enterprise -bash-3.00$ svcs -d svc:/system/fmd:default STATE STIME FMRI online Apr_23 svc:/system/filesystem/minimal:default online Apr_23 svc:/system/sysevent:default online Apr_23 svc:/network/rpc/bind:default online Apr_23 svc:/system/dumpadm:default maintenance Apr_23 svc:/platform/sun4u/dscp:default -bash-3.00$ svcs -l svc:/system/fmd:default fmri svc:/system/fmd:default name Solaris Fault Manager enabled true state online next_state none state_time Fri Dec 05 22:20:45 2008 logfile /var/svc/log/system-fmd:default.log restarter svc:/system/svc/restarter:default contract_id 13661 dependency optional_all/none svc:/platform/sun4u/dscp (maintenance) dependency require_all/none file://localhost/usr/lib/fm/fmd/fmd (online) dependency require_all/none svc:/system/sysevent (online) svc:/system/filesystem/minimal (online) svc:/system/dumpadm (online) dependency optional_all/none svc:/network/rpc/bind (online) -bash-3.00$ -bash-3.00$ tail -f /var/svc/log/system-fmd:default.log fmd: failed to register rpc service on ticots [ Apr 14 10:01:04 Method "start" exited with status 0 ] [ Apr 23 15:02:59 Stopping because service disabled. ] [ Apr 23 15:03:00 Executing stop method (:kill) ] [ Apr 23 16:04:39 Executing start method ("/usr/lib/fm/fmd/fmd") ] [ Apr 23 16:04:40 Method "start" exited with status 0 ] [ Dec 5 22:20:42 Stopping because process dumped core. ] [ Dec 5 22:20:42 Executing stop method (:kill) ] [ Dec 5 22:20:44 Executing start method ("/usr/lib/fm/fmd/fmd") ] [ Dec 5 22:20:45 Method "start" exited with status 0 ] -bash-3.00$ svcs svc:/platform/sun4u/dscp STATE STIME FMRI maintenance Apr_23 svc:/platform/sun4u/dscp:default -bash-3.00$ svcs -l svc:/platform/sun4u/dscp fmri svc:/platform/sun4u/dscp:default name DSCP Service enabled true state maintenance next_state none state_time Wed Apr 23 16:04:39 2008 logfile /var/svc/log/platform-sun4u-dscp:default.log restarter svc:/system/svc/restarter:default contract_id dependency require_any/error svc:/milestone/network (online) dependency require_all/none svc:/system/filesystem/local (online) dependency optional_all/none svc:/platform/sun4u/sckmd:default (online) -bash-3.00$ tail -f /var/svc/log/platform-sun4u-dscp:default.log [ Apr 14 10:01:03 Method "start" failed due to signal KILL ] [ Apr 23 16:01:37 Executing start method ("/lib/svc/method/svc-dscp start") ] [ Apr 23 16:02:38 Method or service exit timed out. Killing contract 51 ] [ Apr 23 16:02:38 Method "start" failed due to signal KILL ] [ Apr 23 16:02:38 Executing start method ("/lib/svc/method/svc-dscp start") ] [ Apr 23 16:03:38 Method or service exit timed out. Killing contract 81 ] [ Apr 23 16:03:38 Method "start" failed due to signal KILL ] [ Apr 23 16:03:38 Executing start method ("/lib/svc/method/svc-dscp start") ] [ Apr 23 16:04:39 Method or service exit timed out. Killing contract 82 ] [ Apr 23 16:04:39 Method "start" failed due to signal KILL ] Can I delete the core file and log files with out problems?, and why did it appears?, is it critical situation this issue? an extra information, I applied patches on April 23. Thanks in advance! Mid ------------------------------ Message: 6 Date: Thu, 22 Jan 2009 18:21:20 -0800 (PST) From: Mohammed 10vir Subject: Need packages of Oracle 10g RAC for Solaris 10 To: sunmanagers at sunmanagers.org Message-ID: <365441.54346.qm at web37002.mail.mud.yahoo.com> Content-Type: text/plain; charset=us-ascii Hi, Can you please give the links for following packages have to download ... SUNWudlmr SUNWudlm SUNWscucm ORCLudlm Thanks Mohammed Tanvir ------------------------------ Message: 7 Date: Fri, 23 Jan 2009 14:35:59 +0000 From: Roger Kynaston Subject: configuring cpu pools in zones To: sunmanagers at sunmanagers.org Message-ID: Content-Type: text/plain; charset="us-ascii" Greetings Managers I have a problem here and would welcome any input on it. We have an application that requires that it's daemon should be able to bind to a specific cpu resource. On our setup we use a very dynamic resource management model which is causing this daemon to crash when the cpu resource it is bound to is allocated elsewhere. I am proposing to set up a static pool with cpu.pinned to allow for this. My question is whether I can do this while leaving the other cpu resources dynamically allocated for the other zones running on this server. Apologies if this is overly simple but I have not had any luck with finding out about this from google or docs.sun.com. The hardware is a T5220 and we are on solaris 8/07 Thanks in advance. Roger Kynaston ------------------------------ Message: 8 Date: Fri, 23 Jan 2009 07:49:39 -0800 From: GT4NE1 Subject: Complete Audit of SunOS 5.6 To: sunmanagers at sunmanagers.org Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Hi all, I'm in charge of trying to replace a legacy SunOS 5.6 Enterprise 3000 server that has been around since the beginning of time. I would like to perform a full audit of services, users, connections, etc... that are being used on this box. I could script all of this out, but I don't want to re-invent the wheel. Anyone know if there are any existing scripts/app out there that will do this? Thanks, -GT ------------------------------ Message: 9 Date: Sat, 24 Jan 2009 00:30:02 -0500 (EST) From: jdd at cs.toronto.edu (John DiMarco) Subject: IMPORTANT: Read this before posting to Sun-Managers To: sunmanagers at sunmanagers.org Message-ID: <20090124053002.2111B6E0003 at apps0.cs.toronto.edu> Archive-name: sunmanagers-before-posting Last Updated: $Id: before.posting,v 1.21 2005/12/28 21:05:10 jdd Exp $ NOTE: This message is posted periodically to sunmanagers on behalf of all members of the Sunmanager's mailing list. Please read it carefully before posting. This document can be retrieved from: ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/before.posting Dear prospective sunmanagers poster, Before posting, please stop for a minute and consider whether or not your posting is suitable for Sunmanagers. The list is not intended for just any possible question related to managing Sun equipment or software. The only appropriate questions for Sun Managers are time-critical questions about Sun system management problems that are not answered in the manuals or system documentation, or in the Sunmanager's FAQ. In particular, the following kinds of postings are not appropriate: - Subscribe and unsubscribe messages. Point your web browser to http://www.sunmanagers.org instead. - Test messages of any sort. - Discussions about anything, including discussions about the list itself, or followups to any posting, with the exception of a single summary to one's own question summarizing the email responses. Use instead one of the Sun newsgroups, eg. comp.sys.sun.admin, comp.sys.sun.hardware or comp.unix.solaris. - Replies to any SunManagers posting, even if the reply is a separate question. Please send a separate message instead. - Postings not related to Sun equipment or software. Use the appropriate newsgroup or mailing list instead. For example, if your question concerns "sendmail", please consult the comp.mail.sendmail newsgroup or the www.sendmail.org website. - General UNIX or network questions. Use the appropriate newsgroup, eg. comp.unix.questions instead. - Postings that are not time-critical. Use one of the Sun newsgroups, eg. comp.sys.sun.admin, comp.sys.sun.hardware or comp.unix.solaris. - Questions answered in the FAQ. Read the FAQ instead. If you're not sure if the question is in the FAQ, please check before asking. You can find the FAQ at: ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq.html ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq - Questions that are answered in the manuals, http://docs.sun.com or system documentation. Read the manuals instead. If you're not sure if the question is answered in the manuals, please check first! - Job postings, requests for jobs, sales pitches, etc. Use the appropriate newsgroup instead. - Please, no postings in HTML, rich-text-format, Microsoft Word, Word Perfect, or any format that some people on the list would not easily be able to read. Also, please post in English only; most of our readers are not able to read other languages. - Please do not BCC (blind carbon copy) the list. Many of our list members depend on the list address appearing on incoming mail messages, so that they can automatically distinguish list traffic from other traffic. Please note that we are not saying these postings are necessarily "bad" or "stupid". They are not. They are merely inappropriate for this list. There are many other lists and newsgroups for which the question may be completely appropriate, and we encourage you to submit the posting there. Note also that your question may have been already answered in the past. Please spend a minute or two checking one of the Sunmanager's archives, for example, at http://www.sunmanagers.org, or one of the archive sites mentioned in the FAQ. Here's an example of an appropriate question: I have a SPARCserver 99 running Solaris 9.8.7 with the fizbozz patch and the jumbo kernel patch version 158. After I installed Futzbarworks version 3.2, the machine locks up every couple of hours. When it locks up, the following message appears on the console: zz0: out of futzbufs. Barworks table is full. I need to get this machine working as soon as possible. Please help! Send email and I will summarize to the list. To submit a question, email it to sunmanagers at sunmanagers.org. When you do this, please indicate all relevant information, including machine type, OS version and patches. Collect email replies, and then summarize them to the list. If your question was posted with a subject of "foobar", for example, then please post your summary with a subject of "SUMMARY: foobar". Why are we asking that only certain types of postings be submitted to the list? Very simply, the reason is this: we want the list to have a very short turnaround time, and the only reasonable way to do this is to keep it unmoderated. But this means that every message sent to the list ends up in the mailboxes of all the list members. To keep all the members of the list from being deluged by inappropriate messages, we need everyone's co-operation in ensuring that only appropriate messages are sent to the list. Please remember, Sunmanagers is a public forum: we have thousands of subscribers, all posts are archived on numerous archive sites, and these are searchable via various web engines. A great number of people will read your message. Keep in mind that the person reading your message may be your boss, your future boss, your customer, your seminar instructor, your colleague, or someone else that you work with today or may find yourself working with tomorrow. We do not want you to embarrass yourself by sending an inappropriate or poorly thought-out posting. Regards, John -- John DiMarco Sunmanagers Information Files Maintainer http://www.cs.toronto.edu/~jdd ------------------------------ _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers End of sunmanagers Digest, Vol 22, Issue 11 ******************************************* From harduong at gmail.com Thu Jan 29 18:00:34 2009 From: harduong at gmail.com (Hong Duong) Date: Thu, 29 Jan 2009 15:00:34 -0800 Subject: interface nxge question Message-ID: <8d07e9af0901291500g3ce23c83xe45fb47c4c52f9be@mail.gmail.com> Dear Managers, Which file should I modify to make the interface nxge to stay at 1000 full duplex permanently. I only know bge.conf file. Thanks for your help. HD From boomu83 at yahoo.co.in Fri Jan 30 08:59:27 2009 From: boomu83 at yahoo.co.in (boomu raj) Date: Fri, 30 Jan 2009 19:29:27 +0530 (IST) Subject: hai...find me a solution in M5000 server In-Reply-To: Message-ID: <492705.78197.qm@web94604.mail.in2.yahoo.com> Hai everyone, B B I want a some help from yours. I doing some testing activity in M5000 series server. I got knowledge how to configure domain,network in XSCF.... this server defautly having SOLARIS OS. B B MY QUERY IS: B B B B B B i want to do install one more solaris Over there. My server having two UNI-XSB.B One UNI-XSB , defaultly having OS.B B B B B B I want to install OS in another UNI-XSB. B B B CAN ANYONE GUIDE ME..................... B B Thanks. B Karthik Bommu Raj From: sunmanagers-request at sunmanagers.org Subject: sunmanagers Digest, Vol 22, Issue 12 To: sunmanagers at sunmanagers.org Date: Thursday, 29 January, 2009, 3:20 AM Send sunmanagers mailing list submissions to sunmanagers at sunmanagers.org To subscribe or unsubscribe via the World Wide Web, visit http://www.sunmanagers.org/mailman/listinfo/sunmanagers or, via email, send a message with subject or body 'help' to sunmanagers-request at sunmanagers.org You can reach the person managing the list at sunmanagers-owner at sunmanagers.org When replying, please edit your Subject line so it is more specific than "Re: Contents of sunmanagers digest..." Today's Topics: 1. Lawrence Y Koo/Seagate is out of the office. (Lawrence.Y.Koo at seagate.com) 2. SUMMARY: fcp:fcp_offline_delay (Aleks Feltin) 3. SUMMARY: configuring pools in solaris zones (Roger Kynaston) 4. JVM monitoring (Rachid BOUKHARI) 5. Dynamic Domain Testing on M5000 Server (Goutham N) 6. SUMMARY: zfs rootpool degraded and migration (Tom Lieuallen) 7. Problem with wrong autonegation on a T1000 (Stan Horwitz) 8. Multiple read errors on StorEdge 3910 (Lee, Raymond) 9. Solaris cannot see all drives on Areca RAID controller (David L Kensiski) 10. 300GB disk in Sun v440 (Galea, Alex) ---------------------------------------------------------------------- Message: 1 Date: Sat, 24 Jan 2009 14:18:36 +0800 From: Lawrence.Y.Koo at seagate.com Subject: Lawrence Y Koo/Seagate is out of the office. To: sunmanagers at sunmanagers.org Message-ID: Content-Type: text/plain; charset=US-ASCII I will be out of the office starting 01/22/2009 and will not return until 01/29/2009. Any issues, please email to sga.notes at seagate.com. I will respond to your email when I'm back, if required. Thanks & Have A Nice Day! ------------------------------ Message: 2 Date: Mon, 26 Jan 2009 09:37:35 +0200 From: Aleks Feltin Subject: SUMMARY: fcp:fcp_offline_delay To: sunmanagers at sunmanagers.org Message-ID: <20090126073735.GA24535 at dev.scms.fi> Content-Type: text/plain; charset="us-ascii" Thanks to everyone who found time to answer Nelyubin Anatoly hike Antony Pavlenko Sengor We use MPxIO and the best /etc/system settings (recommended by EMC support matrix) for us are: forceload: drv/ssd set ssd:ssd_max_throttle=20 set ssd:ssd_io_time=0x78 set maxphys=1048576 set fcp:fcp_offline_delay = 20 regards, Aleks F. On 14/01/09 09:48 +0200, Aleks Feltin wrote: >Hi Managers, > >I am on Solaris 10 connected to Symmetrix SAN. >What happened recently was a SAN firmware upgrade, which caused small delay >(5-10 seconds). >As a result, qlc HBAs were offlined and all LUNs have been lost hence the >mounts were gone. >With forceLIP it succeeded to get them back without rebooting. > >My major concern is how to avoid such situations in future. >How to force Solaris not to offline HBAs for let's say 20-30 seconds and keep >filesystem mounted during short maintenances? > >Very first thing I came up to was fcp_offline_delay parameter. It is set to 20 >seconds by default, but it is clear enough that downtime took significantly >less time. I puzzled what should I tune to achieve my major objective. > >thanks in advance, > >-- >A > >[demime 1.01b removed an attachment of type application/pgp-signature which had a name of signature.asc] >_______________________________________________ >sunmanagers mailing list >sunmanagers at sunmanagers.org >http://www.sunmanagers.org/mailman/listinfo/sunmanagers -- A [demime 1.01b removed an attachment of type application/pgp-signature which had a name of signature.asc] ------------------------------ Message: 3 Date: Mon, 26 Jan 2009 21:51:57 +0000 From: Roger Kynaston Subject: SUMMARY: configuring pools in solaris zones To: sunmanagers at sunmanagers.org Message-ID: <497E307D.7090203 at gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Greetings Managers Thanks to JayJay for response. The solution is (fortunately) quite simple. We allocated cpus to a static pool and used the cpu.pinned directive to ensure that we get a definite cpu. The rest of the zones can still use dynamic resource pools. Now we just have to hope that this fixes our problem with this application! Regards Roger -- Roger Kynaston email: kynaston at gmail.com web: http://www.rkynaston.co.uk *************************************** Live slowly, Sail fast ------------------------------ Message: 4 Date: Tue, 27 Jan 2009 18:57:12 +0000 From: Rachid BOUKHARI Subject: JVM monitoring To: sunmanagers at sunmanagers.org Message-ID: <85ec26a30901271057j419aac97xd77b071dc87e28b6 at mail.gmail.com> Content-Type: text/plain; charset="us-ascii" Hi Gurus, Any tools to monitor JVM heap size . Regards, ------------------------------ Message: 5 Date: Wed, 28 Jan 2009 21:30:58 +0530 From: Goutham N Subject: Dynamic Domain Testing on M5000 Server To: sunmanagers at sunmanagers.org Message-ID: <488e2be40901280800t5ea27626o5b97c93c69a96999 at mail.gmail.com> Content-Type: text/plain; charset="us-ascii" Dear Sun Managers, Have any one tested/utilized Dynamic Domain feature available in M5000 series servers. If so, can you please share (or) point me to the appropriate documentations available on it for our understanding. Thanks a Ton! Regards, N. Gowthaman. ------------------------------ Message: 6 Date: Wed, 28 Jan 2009 08:08:47 -0800 From: Tom Lieuallen Subject: SUMMARY: zfs rootpool degraded and migration To: sunmanagers at sunmanagers.org Message-ID: <4980830F.5000405 at engr.orst.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed I didn't get a single hit from this mail. :-( The zfs root file system finally reached a point of no return. I didn't have a chance to try reseating the drives or anything. The machine crashed and wouldn't boot again, so we just replaced both disks. For the migration issue... I had installed the OS on machine2, then we popped it (a single disk at this point) into machine1. As before, it failed to boot, saying that the zfs pool 'rootpool' was last mounted on a different machine (machine2). So, I booted off the network into single user. Then ran 'zpool import -f rootpool'. Then I rebooted off the disk and all was fine. There may be a better procedure, but this does work. FYI Tom Lieuallen Oregon State University Tom Lieuallen wrote: > I have a V120 running Solaris 10 U6. I decided to use a zfs root file > system so that I could mirror without all the solstice pieces. I > installed the OS, then attached the second drive after the OS was up > (zpool attach...). It appears that the resilvering had problems. > > # zpool status > pool: rootpool > state: DEGRADED > status: One or more devices has experienced an error resulting in data > corruption. Applications may be affected. > action: Restore the file in question if possible. Otherwise restore the > entire pool from backup. > see: http://www.sun.com/msg/ZFS-8000-8A > scrub: resilver completed after 0h41m with 51926 errors on Wed Dec 31 > 13:05:02 > 2008 > config: > > NAME STATE READ WRITE CKSUM > rootpool DEGRADED 10 0 108K > mirror DEGRADED 10 0 108K > c0t0d0s0 FAULTED 20 0 0 too many errors > c0t1d0s0 DEGRADED 0 1 216K too many errors > > errors: Permanent errors have been detected in the following files: > > /a1/solaris10/include/curl/curl.h > /a1/solaris10/include/curl/curlver.h > ... > > ... > > # zfs list > NAME USED AVAIL REFER MOUNTPOINT > rootpool 13.3G 19.9G 94K /rootpool > rootpool/ROOT 4.25G 19.9G 18K legacy > rootpool/ROOT/solaris10_6 4.25G 19.9G 4.17G / > rootpool/ROOT/solaris10_6/var 83.3M 19.9G 83.3M /var > rootpool/a1 2.75G 5.25G 2.75G /a1 > rootpool/dump 2.00G 19.9G 2.00G - > rootpool/private 341M 5.67G 341M /private > rootpool/swap 4G 23.9G 16K - > > # iostat -e > ---- errors --- > device s/w h/w trn tot > ramdisk1 0 0 0 0 > sd0 0 129 487 616 > sd3 0 256 877 1133 > nfs1 0 0 0 0 > > The system logs report scsi bus resets and read and write errors for > both disks. I assume one of the disks is causing problems for > everything on the bus. > > The 'faulted' disk is the one with the original OS. The files it is > reporting problems with are all on rootpool/a1. There's only ~50,000 of > them. That's just a copy of our /usr/local, so there's nothing there I > need. > > Should we just shut the machine down/off, reseat both disks, and hope > for the best? I'm concerned it won't boot again. :-( Or, if we try to > hot-plug one of the disks, it may panic too. > > I have another related question... > > I'd like to prepare another disk or two to slap into this host in case > it's not repairable or in case something I do makes things worse. :-) > What is the proper procedure for installing a machine with zfs root, > then moving that disk to another host? I did this once before and it > complained about the zpool being last used by a different host. I ended > up booting off the net and forcing the import. To simplify matters, > should I boot the temporary install host off the net and export the > zpool? Or should I just be prepared to force the import? > > thank you > > Tom Lieuallen > Oregon State University > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers ------------------------------ Message: 7 Date: Wed, 28 Jan 2009 11:33:10 -0500 From: Stan Horwitz Subject: Problem with wrong autonegation on a T1000 To: Sun Managers list Message-ID: Content-Type: text/plain; charset="US-ASCII" Greetings Sun Managers; I have a Sun T2000 with Solaris 10 on it. This server has been in production since 11/2007 and its been running great since. As you can see from ... # ndd -get /dev/e1000g0 1000hdx_cap 1 # ndd -get /dev/e1000g1 1000hdx_cap 1 both ports are set for auto-negotiation. The ports on our switch to which this T2000's NICs are connected are set to 1GB auto-negotiation. The connections should both be running at 1000 full duplex. This T2000 is used for NetWorker backups. It was rebooted this past Sunday morning and it came up fine, but since then, its throughput has been much too slow. I am very green behind the ears with Solaris systems management, so I am at a loss as to why this problem has occurred. I looked through the FAQ file for this list and I found out about the ndd utility, but I don't see how to use it to fix this problem or if some other tool would be appropriate. Googling has just given me a bunch of information that's cryptic to me. What I need to know is how to set the ports to 1GB again, preferably without any service interruptions. I also need to know why the auto-negotiation is incorrect and how to prevent this issue from occurring again. If anyone has any thoughts on this matter, please let me know. ------------------------------ Message: 8 Date: Wed, 28 Jan 2009 11:54:57 -0600 From: "Lee, Raymond" Subject: Multiple read errors on StorEdge 3910 To: Message-ID: <6EC7953652E1704A8CF85C0C0CC80407052E94C5 at itomae2km09.AD.QINTRA.COM> Content-Type: text/plain; charset="us-ascii" Hi Managers, I've got 2 SunFire V1280s running Sun Cluster 3.1. They're connected to a StorEdge 3910 array that is spitting out read errors when it does a vol verify. Here are some of the errors: (these keep repeating on the same 3 disks) Jan 28 01:30:41 locus ISR1[2]: W: u2d09 SCSI error occurred: Medium Error (sense key = 0x3). Read Retries Exhausted. Jan 27 14:45:06 locus ISR1[2]: W: u2d03 SCSI error occurred: Medium Error (sense key = 0x3). Read Retries Exhausted. Jan 27 14:45:06 locus ISR1[2]: W: u2d01 SCSI error occurred: Medium Error (sense key = 0x3). Read Retries Exhausted. (these keep repeating for the same 2 stripes) Jan 27 14:45:08 locus SX11[2]: N: u2ctr Vol verify found multiple read-disk errors on stripe 4365949 of volume (Raid set) vol2. Skipping stripe. Jan 27 14:43:01 locus SX11[2]: N: u2ctr Vol verify found multiple read-disk errors on stripe 4360575 of volume (Raid set) vol2. Skipping stripe. I logged into the T3 in question, and 'fru stat', 'fru list', 'vol stat' all look fine. I recently had a failed u2d01 which was replaced and reconstructed successfully from the spare. I opened a case with Sun about this, and this is what they had to say: "Problem is that there are multiple drive media errors across stripe units. Normally a reconstruct of the stripe will yield the data needed for the host and the errors will be marked on the drive. Next writes to that LBA will reallocate the errors (drive function) but only if there is a single drive reporting the error for that stripe unit. Since there are multiple drives in that stripe unit reporting errors you have a multiple drive error that is reported back to the host as a failed read io operation. The only thing you can do is backup the affected volumes and re-initialize (re-create) and restore the data. He then stated the following as your only 2 choices from this point out: 1. Customer can use his DB or FS utilities to find out what file or files are affected by read operations and re-write those files. You should then get corresponding data reallocations on the array and then monitor the array. 2. Backup data, blow away volumes on tray 2, recreate volumes, initialize volumes, recreate slices, restore data." Does anyone have any other suggestions to fix the read errors? If I have to choose between the two options Sun gave, I'd rather go with option 1, but how would I go about doing that? It seems like trying to find a needle in a haystack. Sun wasn't very helpful with that...just gave me a man page of the 'find' command. I want to avoid option 2 if at all possible because it'll be too time and resource-consuming. Thanks, Ray This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. ------------------------------ Message: 9 Date: Wed, 28 Jan 2009 10:17:04 -0800 From: David L Kensiski Subject: Solaris cannot see all drives on Areca RAID controller To: sunmanagers at sunmanagers.org Message-ID: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes I am running Solaris 10 x86 u6 (10/2008) on a SuperMicro PDSME+ with an Areca ARC-1280ML 24-channel RAID controller. The RAID controller is configured in JBOD mode with drives in channels 1 - 8 and 24. Solaris can only see the drives on channels 1 through 8. The RAID BIOS says the drive on channel 24 is at SCSI Ch/Id/Lun : 0/23/0. I have modified /kernel/drv/sd.conf to include entries through target 23: name="sd" class="scsi" target=0 lun=0; .... name="sd" class="scsi" target=23 lun=0; I tried running devfsadm as well as a reconfigure reboot, but still cannot see the device at target 23. How can I expose this drive to Solaris? Thanks, --Dave ------------------------------ Message: 10 Date: Thu, 29 Jan 2009 08:50:29 +1100 From: "Galea, Alex" Subject: 300GB disk in Sun v440 To: Message-ID: <396D6203BB059B419E8FDC27997C4AD701BF2B86 at ffex1.engin.com.au> Content-Type: text/plain; charset="us-ascii" Managers, I have a SUN fire V440 or two that I would like to chock full of disk. Currently each have 4 x 72GB internal disks. I would like to replace these with SUN 300GB disk but can not find any supporting information. I have been told that it should work. Has anyone configured V440's in this way? and the big question will SUN support it? Thanks, Alex ------------------------------ _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers End of sunmanagers Digest, Vol 22, Issue 12 ******************************************* Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ From jseymour at linxnet.com Fri Jan 30 09:13:43 2009 From: jseymour at linxnet.com (Jim Seymour) Date: Fri, 30 Jan 2009 09:13:43 -0500 (EST) Subject: SUMMARY: Confusing/Unclear Patchadd Error Message? Message-ID: <20090130141343.6AB09E129@jimsun.linxnet.com> Apologies for the tardy summary. The original question was what does patchadd mean when it tells you, in effect, "the thing you're trying to install isn't installed yet?" E.g.: Patch: 113886-48 - 5 of 28 - 91981K Synopsis: OpenGL 1.3: OpenGL Patch for Solaris (32-bit) Checking installed patches... One or more patch packages included in 113886-48 are not installed on this system. In this case patchadd was telling me that one or more of the patch packages in the patch package I was trying to apply weren't installed yet. Well *duh*, that would be why I'm trying to install the patch package. Casper Dik answered first: | | The error message is wrong (it's not just confusing). | | What to means to say is this: | | NONE of the packages we try to patch are installed Which makes a heckuva lot more sense. Thanks, Casper. Thanks also to Tim Bradshaw and Anthony D'Atri for replying. Regards, Jim -- Note: My mail server employs *very* aggressive anti-spam filtering. If you reply to this email and your email is rejected, please accept my apologies and let me know via my web form at . From boomu83 at yahoo.co.in Fri Jan 30 08:54:59 2009 From: boomu83 at yahoo.co.in (boomu raj) Date: Fri, 30 Jan 2009 19:24:59 +0530 (IST) Subject: sunmanagers Digest, Vol 22, Issue 12 In-Reply-To: Message-ID: <193295.40712.qm@web94609.mail.in2.yahoo.com> Hai everyone, B B I want a some help from yours. I doing some testing activity in M5000 series server. I got knowledge how to configure domain,network in XSCF.... this server defautly having SOLARIS OS. B B MY QUERY IS: B B B B B B i want to do install one more solaris Over there. My server having two UNI-XSB.B One UNI-XSB , defaultly having OS.B B B B B B I want to install OS in another UNI-XSB. B B B CAN ANYONE GUIDE ME..................... B B Thanks. B Karthik Bommu Raj --- On Thu, 29/1/09, sunmanagers-request at sunmanagers.org wrote: From: sunmanagers-request at sunmanagers.org Subject: sunmanagers Digest, Vol 22, Issue 12 To: sunmanagers at sunmanagers.org Date: Thursday, 29 January, 2009, 3:20 AM Send sunmanagers mailing list submissions to sunmanagers at sunmanagers.org To subscribe or unsubscribe via the World Wide Web, visit http://www.sunmanagers.org/mailman/listinfo/sunmanagers or, via email, send a message with subject or body 'help' to sunmanagers-request at sunmanagers.org You can reach the person managing the list at sunmanagers-owner at sunmanagers.org When replying, please edit your Subject line so it is more specific than "Re: Contents of sunmanagers digest..." Today's Topics: 1. Lawrence Y Koo/Seagate is out of the office. (Lawrence.Y.Koo at seagate.com) 2. SUMMARY: fcp:fcp_offline_delay (Aleks Feltin) 3. SUMMARY: configuring pools in solaris zones (Roger Kynaston) 4. JVM monitoring (Rachid BOUKHARI) 5. Dynamic Domain Testing on M5000 Server (Goutham N) 6. SUMMARY: zfs rootpool degraded and migration (Tom Lieuallen) 7. Problem with wrong autonegation on a T1000 (Stan Horwitz) 8. Multiple read errors on StorEdge 3910 (Lee, Raymond) 9. Solaris cannot see all drives on Areca RAID controller (David L Kensiski) 10. 300GB disk in Sun v440 (Galea, Alex) ---------------------------------------------------------------------- Message: 1 Date: Sat, 24 Jan 2009 14:18:36 +0800 From: Lawrence.Y.Koo at seagate.com Subject: Lawrence Y Koo/Seagate is out of the office. To: sunmanagers at sunmanagers.org Message-ID: Content-Type: text/plain; charset=US-ASCII I will be out of the office starting 01/22/2009 and will not return until 01/29/2009. Any issues, please email to sga.notes at seagate.com. I will respond to your email when I'm back, if required. Thanks & Have A Nice Day! ------------------------------ Message: 2 Date: Mon, 26 Jan 2009 09:37:35 +0200 From: Aleks Feltin Subject: SUMMARY: fcp:fcp_offline_delay To: sunmanagers at sunmanagers.org Message-ID: <20090126073735.GA24535 at dev.scms.fi> Content-Type: text/plain; charset="us-ascii" Thanks to everyone who found time to answer Nelyubin Anatoly hike Antony Pavlenko Sengor We use MPxIO and the best /etc/system settings (recommended by EMC support matrix) for us are: forceload: drv/ssd set ssd:ssd_max_throttle=20 set ssd:ssd_io_time=0x78 set maxphys=1048576 set fcp:fcp_offline_delay = 20 regards, Aleks F. On 14/01/09 09:48 +0200, Aleks Feltin wrote: >Hi Managers, > >I am on Solaris 10 connected to Symmetrix SAN. >What happened recently was a SAN firmware upgrade, which caused small delay >(5-10 seconds). >As a result, qlc HBAs were offlined and all LUNs have been lost hence the >mounts were gone. >With forceLIP it succeeded to get them back without rebooting. > >My major concern is how to avoid such situations in future. >How to force Solaris not to offline HBAs for let's say 20-30 seconds and keep >filesystem mounted during short maintenances? > >Very first thing I came up to was fcp_offline_delay parameter. It is set to 20 >seconds by default, but it is clear enough that downtime took significantly >less time. I puzzled what should I tune to achieve my major objective. > >thanks in advance, > >-- >A > >[demime 1.01b removed an attachment of type application/pgp-signature which had a name of signature.asc] >_______________________________________________ >sunmanagers mailing list >sunmanagers at sunmanagers.org >http://www.sunmanagers.org/mailman/listinfo/sunmanagers -- A [demime 1.01b removed an attachment of type application/pgp-signature which had a name of signature.asc] ------------------------------ Message: 3 Date: Mon, 26 Jan 2009 21:51:57 +0000 From: Roger Kynaston Subject: SUMMARY: configuring pools in solaris zones To: sunmanagers at sunmanagers.org Message-ID: <497E307D.7090203 at gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Greetings Managers Thanks to JayJay for response. The solution is (fortunately) quite simple. We allocated cpus to a static pool and used the cpu.pinned directive to ensure that we get a definite cpu. The rest of the zones can still use dynamic resource pools. Now we just have to hope that this fixes our problem with this application! Regards Roger -- Roger Kynaston email: kynaston at gmail.com web: http://www.rkynaston.co.uk *************************************** Live slowly, Sail fast ------------------------------ Message: 4 Date: Tue, 27 Jan 2009 18:57:12 +0000 From: Rachid BOUKHARI Subject: JVM monitoring To: sunmanagers at sunmanagers.org Message-ID: <85ec26a30901271057j419aac97xd77b071dc87e28b6 at mail.gmail.com> Content-Type: text/plain; charset="us-ascii" Hi Gurus, Any tools to monitor JVM heap size . Regards, ------------------------------ Message: 5 Date: Wed, 28 Jan 2009 21:30:58 +0530 From: Goutham N Subject: Dynamic Domain Testing on M5000 Server To: sunmanagers at sunmanagers.org Message-ID: <488e2be40901280800t5ea27626o5b97c93c69a96999 at mail.gmail.com> Content-Type: text/plain; charset="us-ascii" Dear Sun Managers, Have any one tested/utilized Dynamic Domain feature available in M5000 series servers. If so, can you please share (or) point me to the appropriate documentations available on it for our understanding. Thanks a Ton! Regards, N. Gowthaman. ------------------------------ Message: 6 Date: Wed, 28 Jan 2009 08:08:47 -0800 From: Tom Lieuallen Subject: SUMMARY: zfs rootpool degraded and migration To: sunmanagers at sunmanagers.org Message-ID: <4980830F.5000405 at engr.orst.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed I didn't get a single hit from this mail. :-( The zfs root file system finally reached a point of no return. I didn't have a chance to try reseating the drives or anything. The machine crashed and wouldn't boot again, so we just replaced both disks. For the migration issue... I had installed the OS on machine2, then we popped it (a single disk at this point) into machine1. As before, it failed to boot, saying that the zfs pool 'rootpool' was last mounted on a different machine (machine2). So, I booted off the network into single user. Then ran 'zpool import -f rootpool'. Then I rebooted off the disk and all was fine. There may be a better procedure, but this does work. FYI Tom Lieuallen Oregon State University Tom Lieuallen wrote: > I have a V120 running Solaris 10 U6. I decided to use a zfs root file > system so that I could mirror without all the solstice pieces. I > installed the OS, then attached the second drive after the OS was up > (zpool attach...). It appears that the resilvering had problems. > > # zpool status > pool: rootpool > state: DEGRADED > status: One or more devices has experienced an error resulting in data > corruption. Applications may be affected. > action: Restore the file in question if possible. Otherwise restore the > entire pool from backup. > see: http://www.sun.com/msg/ZFS-8000-8A > scrub: resilver completed after 0h41m with 51926 errors on Wed Dec 31 > 13:05:02 > 2008 > config: > > NAME STATE READ WRITE CKSUM > rootpool DEGRADED 10 0 108K > mirror DEGRADED 10 0 108K > c0t0d0s0 FAULTED 20 0 0 too many errors > c0t1d0s0 DEGRADED 0 1 216K too many errors > > errors: Permanent errors have been detected in the following files: > > /a1/solaris10/include/curl/curl.h > /a1/solaris10/include/curl/curlver.h > ... > > ... > > # zfs list > NAME USED AVAIL REFER MOUNTPOINT > rootpool 13.3G 19.9G 94K /rootpool > rootpool/ROOT 4.25G 19.9G 18K legacy > rootpool/ROOT/solaris10_6 4.25G 19.9G 4.17G / > rootpool/ROOT/solaris10_6/var 83.3M 19.9G 83.3M /var > rootpool/a1 2.75G 5.25G 2.75G /a1 > rootpool/dump 2.00G 19.9G 2.00G - > rootpool/private 341M 5.67G 341M /private > rootpool/swap 4G 23.9G 16K - > > # iostat -e > ---- errors --- > device s/w h/w trn tot > ramdisk1 0 0 0 0 > sd0 0 129 487 616 > sd3 0 256 877 1133 > nfs1 0 0 0 0 > > The system logs report scsi bus resets and read and write errors for > both disks. I assume one of the disks is causing problems for > everything on the bus. > > The 'faulted' disk is the one with the original OS. The files it is > reporting problems with are all on rootpool/a1. There's only ~50,000 of > them. That's just a copy of our /usr/local, so there's nothing there I > need. > > Should we just shut the machine down/off, reseat both disks, and hope > for the best? I'm concerned it won't boot again. :-( Or, if we try to > hot-plug one of the disks, it may panic too. > > I have another related question... > > I'd like to prepare another disk or two to slap into this host in case > it's not repairable or in case something I do makes things worse. :-) > What is the proper procedure for installing a machine with zfs root, > then moving that disk to another host? I did this once before and it > complained about the zpool being last used by a different host. I ended > up booting off the net and forcing the import. To simplify matters, > should I boot the temporary install host off the net and export the > zpool? Or should I just be prepared to force the import? > > thank you > > Tom Lieuallen > Oregon State University > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers ------------------------------ Message: 7 Date: Wed, 28 Jan 2009 11:33:10 -0500 From: Stan Horwitz Subject: Problem with wrong autonegation on a T1000 To: Sun Managers list Message-ID: Content-Type: text/plain; charset="US-ASCII" Greetings Sun Managers; I have a Sun T2000 with Solaris 10 on it. This server has been in production since 11/2007 and its been running great since. As you can see from ... # ndd -get /dev/e1000g0 1000hdx_cap 1 # ndd -get /dev/e1000g1 1000hdx_cap 1 both ports are set for auto-negotiation. The ports on our switch to which this T2000's NICs are connected are set to 1GB auto-negotiation. The connections should both be running at 1000 full duplex. This T2000 is used for NetWorker backups. It was rebooted this past Sunday morning and it came up fine, but since then, its throughput has been much too slow. I am very green behind the ears with Solaris systems management, so I am at a loss as to why this problem has occurred. I looked through the FAQ file for this list and I found out about the ndd utility, but I don't see how to use it to fix this problem or if some other tool would be appropriate. Googling has just given me a bunch of information that's cryptic to me. What I need to know is how to set the ports to 1GB again, preferably without any service interruptions. I also need to know why the auto-negotiation is incorrect and how to prevent this issue from occurring again. If anyone has any thoughts on this matter, please let me know. ------------------------------ Message: 8 Date: Wed, 28 Jan 2009 11:54:57 -0600 From: "Lee, Raymond" Subject: Multiple read errors on StorEdge 3910 To: Message-ID: <6EC7953652E1704A8CF85C0C0CC80407052E94C5 at itomae2km09.AD.QINTRA.COM> Content-Type: text/plain; charset="us-ascii" Hi Managers, I've got 2 SunFire V1280s running Sun Cluster 3.1. They're connected to a StorEdge 3910 array that is spitting out read errors when it does a vol verify. Here are some of the errors: (these keep repeating on the same 3 disks) Jan 28 01:30:41 locus ISR1[2]: W: u2d09 SCSI error occurred: Medium Error (sense key = 0x3). Read Retries Exhausted. Jan 27 14:45:06 locus ISR1[2]: W: u2d03 SCSI error occurred: Medium Error (sense key = 0x3). Read Retries Exhausted. Jan 27 14:45:06 locus ISR1[2]: W: u2d01 SCSI error occurred: Medium Error (sense key = 0x3). Read Retries Exhausted. (these keep repeating for the same 2 stripes) Jan 27 14:45:08 locus SX11[2]: N: u2ctr Vol verify found multiple read-disk errors on stripe 4365949 of volume (Raid set) vol2. Skipping stripe. Jan 27 14:43:01 locus SX11[2]: N: u2ctr Vol verify found multiple read-disk errors on stripe 4360575 of volume (Raid set) vol2. Skipping stripe. I logged into the T3 in question, and 'fru stat', 'fru list', 'vol stat' all look fine. I recently had a failed u2d01 which was replaced and reconstructed successfully from the spare. I opened a case with Sun about this, and this is what they had to say: "Problem is that there are multiple drive media errors across stripe units. Normally a reconstruct of the stripe will yield the data needed for the host and the errors will be marked on the drive. Next writes to that LBA will reallocate the errors (drive function) but only if there is a single drive reporting the error for that stripe unit. Since there are multiple drives in that stripe unit reporting errors you have a multiple drive error that is reported back to the host as a failed read io operation. The only thing you can do is backup the affected volumes and re-initialize (re-create) and restore the data. He then stated the following as your only 2 choices from this point out: 1. Customer can use his DB or FS utilities to find out what file or files are affected by read operations and re-write those files. You should then get corresponding data reallocations on the array and then monitor the array. 2. Backup data, blow away volumes on tray 2, recreate volumes, initialize volumes, recreate slices, restore data." Does anyone have any other suggestions to fix the read errors? If I have to choose between the two options Sun gave, I'd rather go with option 1, but how would I go about doing that? It seems like trying to find a needle in a haystack. Sun wasn't very helpful with that...just gave me a man page of the 'find' command. I want to avoid option 2 if at all possible because it'll be too time and resource-consuming. Thanks, Ray This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. ------------------------------ Message: 9 Date: Wed, 28 Jan 2009 10:17:04 -0800 From: David L Kensiski Subject: Solaris cannot see all drives on Areca RAID controller To: sunmanagers at sunmanagers.org Message-ID: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes I am running Solaris 10 x86 u6 (10/2008) on a SuperMicro PDSME+ with an Areca ARC-1280ML 24-channel RAID controller. The RAID controller is configured in JBOD mode with drives in channels 1 - 8 and 24. Solaris can only see the drives on channels 1 through 8. The RAID BIOS says the drive on channel 24 is at SCSI Ch/Id/Lun : 0/23/0. I have modified /kernel/drv/sd.conf to include entries through target 23: name="sd" class="scsi" target=0 lun=0; .... name="sd" class="scsi" target=23 lun=0; I tried running devfsadm as well as a reconfigure reboot, but still cannot see the device at target 23. How can I expose this drive to Solaris? Thanks, --Dave ------------------------------ Message: 10 Date: Thu, 29 Jan 2009 08:50:29 +1100 From: "Galea, Alex" Subject: 300GB disk in Sun v440 To: Message-ID: <396D6203BB059B419E8FDC27997C4AD701BF2B86 at ffex1.engin.com.au> Content-Type: text/plain; charset="us-ascii" Managers, I have a SUN fire V440 or two that I would like to chock full of disk. Currently each have 4 x 72GB internal disks. I would like to replace these with SUN 300GB disk but can not find any supporting information. I have been told that it should work. Has anyone configured V440's in this way? and the big question will SUN support it? Thanks, Alex ------------------------------ _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers End of sunmanagers Digest, Vol 22, Issue 12 ******************************************* Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/