Another quick dd question

369 byte By CodeProf.com at 2007-12-24 22:49:00
Is there any way to stop copying the VTOC from the source to the destinationdiskwith "dd"? i.e. can you only copy a single slice, instead of using s2 for theentiredisk? Thanks so much.I have tried:dd if=/dev/rdsk/c0t0d0s0 of=/dev/rdsk/c0t1d0s0 bs=4096kbut it still wants to copy the ...

SUMMARY: showrev -p

1453 byte By CodeProf.com at 2007-12-24 22:49:00
Thanks to...Dennis Peterson, jim.musso, Min Oo Tint, John Malick, Dan Astoorian, Lars Hecking, and William Hathaway.I needed SUNWadmfw (cd 1/2)...added the package, showrev now works.some other useful command to see which library/ies missing.ldd /usr/bin/showrev --or other commands you're ...

iostat output & disk distribution problem

505 byte By CodeProf.com at 2007-12-24 22:49:00
Hi,My previous question:We are using Solaris 2.6. I have a Sun system (an NFSclient) having CPU problem now. The system/kernelprocesses have consumed 50% to 70% of the CPUs. Hereis the info from TOP: "CPU states: 7.0% idle, 20.0%user, 72.9% kernel, 0.1% iowait, 0.0% swap Memory:1024M real, ...

and ''nfs31'' have some I/O distribution problems. Is itcorrect? How can I prove it? The sys

805 byte By CodeProf.com at 2007-12-24 22:49:00
and 'nfs31' have some I/O distribution problems. Is itcorrect? How can I prove it? The system uses VeritasVolume Manager.# iostat -xc 5.................nfs28 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0nfs29 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0nfs30 277.9 0.8 199.9 ...

SUMMARY: The evil LD_LIBRARY_PATH

5196 byte By CodeProf.com at 2007-12-24 22:49:00
Okay guys,first of all I must admit that I'm a little bit dumb. I failed to mention the OS I'm using. As many of you guessed correctly, my question was about Solaris 2.8. I even led some of you to believe the question was about Linux. Next time I'll try to be more precise.The solution ...

hme0 is named hme1?

833 byte By CodeProf.com at 2007-12-24 22:49:00
Hi,I installed a U10 with Solaris 8. During installation process the onboard hme0 interface is named hme1 however there isn't any further hme device. After the first boot still there's only the hme1 interface. Unfortunately I cannot plumb hme0 even when unplumbing hme1. How do I get the ...

Redirect Problem Reprise

1749 byte By CodeProf.com at 2007-12-24 22:49:00
All Thanks .. all great replies unfortunately still no cigar.Has any one used scp with commercial ssh and done what I am attempting? This is the data I want to capture .. this is what you get when you do a regular scp from the command line./usr/local/bin/scp file.tar user at server:/tmp| ...

SUMMARY: DiskSuite Mirror Failure Testing

3813 byte By CodeProf.com at 2007-12-24 22:49:00
Thanks to the following people:Darren MouldingDave, bela at nivek.orgTom PayerlePierre ZimmermannThe following suggestions were offered:#---------------------------------------------------------------------------The metaoffline command effectively fails the disk slice in question. I amnot sure ...

VTOC question

719 byte By CodeProf.com at 2007-12-24 22:49:00
My previous question regarding testing disk failures when using DiskSuitelead me to another question. I reviewed a few scripts that are intended toconfigure DiskSuite mirroring on a system. One of them used 'fmthard' torewrite the VTOC on a disk that was in use as the root disk. I think ...

Logging File Systems

344 byte By CodeProf.com at 2007-12-24 22:49:00
I am looking for information on logging file systems. Does anyone knowwere I can get information on how to set up and use logging filesystems. I have serached docs.sun.com but did not find anything.thanks--Wolfgang SchwurackUnix System AdministratorUniversity of Utah/Utah Education NetworkTel: ...

SUMMARY: Logging File Systems

258 byte By CodeProf.com at 2007-12-24 22:49:00
Thanks to all you that replyed<p>mount -o remount,logging /export<br>then add logging as an option in /etc/vfstab<br>man mount_ufs<p>--<br>Wolfgang Schwurack<br>Unix System Administrator<br>University of Utah/Utah Education Network<br>Tel: (801) 587-9444<br>

CLARIFICATION: VTOC question

3393 byte By CodeProf.com at 2007-12-24 22:49:00
It was pointed out to me that my initial question was not very clear. Thisis what I get for just writing out a quick question as it popped into myhead and not thinking about what I was really asking. Also, some thingsthat make sense in a face to face conversation don't always work in an ...

host name

506 byte By CodeProf.com at 2007-12-24 22:49:00
Hi all,One of my Sun servers keeps giving me a message when sending mail,May 28 10:50:00 hostname sendmail [24861]: [ID 702911 mail.crit} Myunqualified host name (hostname) unknown: sleeping for retryMay 28 10:51:00 hostname sendmail [24861]: [ID 702911 mail.alert] unable toqualify my own ...

SUMMARY: Off-line it, or Detach it?

15109 byte By CodeProf.com at 2007-12-24 22:49:00
Thanks to:Guy Purcell, Scott Howard, Neil Harrison, James Brown, Dan Lorenzini,Tom Payerle, Gregg Mackenzie, Richard Eisenman, and John Eisenschmidt.Turns out the disk must have been bad. Following the advice below,I tried to metareplace the mirrors with themselves, but the resyncfailed and I ...

Can not remove directory

428 byte By CodeProf.com at 2007-12-24 22:49:00
I have a directory that I can not remove. It's permissions are:dr-xr-xr-x 1 root root 1 Mar 10 08:51 srcHow can I remove this? It is a NFS mount point that was never used, but isreferenced in the NIS+ automounter maps.So I figured I would recreate the directory and let the ...

[SUMMARY] Timeout waiting for ARP/RARP packet

1640 byte By CodeProf.com at 2007-12-24 22:49:00
Dear SUN Managers : I really appreciate all the responses I got from so many great people on this list. Most of you got it right. The problem was that the "diag-device" was set to "net". When I changed it to "disk" (setenv diag-device = disk), the timeout problem ...

How to find out devices connected/installed?

646 byte By CodeProf.com at 2007-12-24 22:50:00
Gurus:There are a couple of 880 servers to whom I do not have a physicalaccess. Is there any way I can find out what all devices are installed onthese machines. Basically I am looking for a list of physical devices onthe system, both - configured and unconfigured? These boxes run Sol8. Isthere ...

Partial SUMMARY: kernel warning message on a Netra T1

4279 byte By CodeProf.com at 2007-12-24 22:50:00
Many months ago (almost a year ago, to be exact), I posted the below-noted query to this list regarding a problem we were experiencing on our Netra T1s. I got several replies, most of which were like "We have the same problem, please let us know when you get a solution."The reason I ...

SUMMARY: Watchdog Reset

599 byte By CodeProf.com at 2007-12-24 22:50:00
Thanks to the 2 people who responded on a holiday weekend:Ric AndersonDamir DelijaThey suspected either battery over 2 years old and starting to fail or apowersurge that passed thru the backup.. After testing the battery (unplugas well as test switch) I'm calling this a fluke and hoping it ...

d2 disk install on Sun 880

512 byte By CodeProf.com at 2007-12-24 22:50:00
>Trying to install d2 "split mode" attached to a Sunfire 880>can see the devices thru .... probe-scsi-all, but not through the OS>I then applied pkgs SUNWqus /qusu/qusux/qusx ...>reboot -r caused a hang at configuring /dev /devices.> anyone attached a d2 out there? ...

NOSUID mount option kills devices in a chroot

1535 byte By CodeProf.com at 2007-12-24 22:50:00
hi all...I've been having some problems with java (jdk1.3)+chroot+nosuid segv'ing onSolaris 8 (sparc). A review of the truss output uncovered that the problemwas due to java trying to open /dev/zero (which exists):9189: open("/dev/zero", O_RDWR) Err#6 ENXIOIn fact, java ...

Follow-up: BASEDIR change from request script goes unnoticed..

1524 byte By CodeProf.com at 2007-12-24 22:50:00
Hi there,Haven't had any solutions, so whilst I don't like it, I'm going withparametic directories.regards,David.----- Original Message -----From: Dave LeachTo: codeprof at codeprof.comSent: Friday, May 24, 2002 11:16 AMSubject: BASEDIR change from request script goes unnoticed..Hi ...

compile question

565 byte By CodeProf.com at 2007-12-24 22:50:00
hello managers,got an old compiler i think 4.1 or 4.2 and sparcsol2.8. Got a piece of c++ code that does some fancyadmin stuff on a sol2.6 box. wrote it long time ago.like to compile it under the 2.8 OS, generate a 64 bitversion.any possible changes i have to make to my genericmakefile?.will ...

A1000 RAID

448 byte By CodeProf.com at 2007-12-24 22:50:00
I am trying to reinstall an OS (Solaris 5.7) on a A1000. I have just added4-18g drives for a total of 8. The problem is that my A1000 is seeing -c0t0d0 at install and not c0t0d1 or seeing them both as one drive. I believeit should see 8-18g drives. It just recognizes the original 4-18g. ...

compile 64bit option question

312 byte By CodeProf.com at 2007-12-24 22:50:00
to make a sparc sol2.6 sun cc 4.x makefile to compilein 64 bit option under sol2.8, what option should beadded and where?. is that all?.can not use gcc.-j.Yahoo! - Official partner of 2002 FIFA World ...

SUMMARY: Automounter oddities.

713 byte By CodeProf.com at 2007-12-24 22:50:00
Thanks to Charles Homan and Pierre Zimmerman.The solution, was of course, to alter the automount maps so /SiteWide/homewas mappedas a whole directory, rather than mapping user directories individually.Looking at the configwe had (that I transplanted and then did a search and replace) it ...

crash analysys

1214 byte By CodeProf.com at 2007-12-24 22:50:00
Admins, the crash analysis of the vmcore is as follows, can you determinewhat it is..Problem: system panics and crashes with inode free. Below is the vsf andvfssw output.crash -d vmcore.16 -n unix.16vfs FSTYP BSZ MAJ/MIN FSID VNCOVERED PDATA BCOUNT FLAGS 8192 32,0 ...

SUMMARY: CDE - mounting partition

1078 byte By CodeProf.com at 2007-12-24 22:50:00
Hi,I could resolve the problem myself. ( Thanks to the 'ldd' command )I have checked up the dynamic dependencies using#ldd /usr/dt/bin/dtloginThis has shown usage of a library file from my slice7. The LD_LIBRARY_PATHwas corrected accordingly and the problem vanished.Thanks ...Original ...

SUMMARY: A1000 RAID

1047 byte By CodeProf.com at 2007-12-24 22:50:00
First,A Big Thank You to all who responded: Patricia Mora, BB, Peter Evans,Alexander Rogov, Dennis Martens, Thamara WanigatungaQuestion?I am trying to reinstall an OS (Solaris 5.7) on a A1000. I have just added> 4-18g drives for a total of 8. The problem is that my A1000 is seeing -> ...

ftp error

145 byte By CodeProf.com at 2007-12-24 22:50:00
Am having problems doing a ftp using a .netrc file<p>I get the error<p>ftp: ioctl I_FIND ttcompat:Inappropriate ioctl for device<p>Any ideas?<br>

SUMMARY: network traffic

494 byte By CodeProf.com at 2007-12-24 22:50:00
Thanks for all the excellent answers! Most people recommended ntop. Some suggested kstat for solaris 8 and netstat -k interface. Ntop in interactive mode looks to be a pretty good tool.My original post:Hello All,Is there a command that allows real time monitoring of network traffic through a ...

Hi all Gurus,Just wanted to know that we have a Solaris 2.6 sparc with oracle 8 in it.with a

618 byte By CodeProf.com at 2007-12-24 22:50:00
Hi all Gurus,Just wanted to know that we have a Solaris 2.6 sparc with oracle 8 in it.with a username oracle8 as dba what all rights are to be given to oracale8Does a DBA needs to be a root or a simple users.Can any one guide me pls.Thanks & ...

quota

785 byte By CodeProf.com at 2007-12-24 22:50:00
Hi! ExpertsI want to limit the mailbox of users to 5 MB ...... i'm using sendmail. how touse quotas? how should i define Quota for users.?thx in advanceregdsBrij \\\/// / \ | \\ // | | (.) (.) |)----o00o--(_)--o00o-----------Brijesh KanderiaSystem ...

SUMMARY : Sudoers error(not allowd to execute the command)

2747 byte By CodeProf.com at 2007-12-24 22:50:00
Hi All, Thanks to veryone who replied. Pierre Jason Matthew I have two scenario : 1) Two uers x and z. give the su permission to x for z user only. So that x can su only to z. Add the following line in sudoers X ALL = (root) /usr/bin/su  z OR Host_Alias MYSVR = myserver Cmnd_Alias SU = ...

DiskSuite RAID 0+1 growfs

3793 byte By CodeProf.com at 2007-12-24 22:50:00
Hello Admins,A year ago our engineering department bought a programthat resides in /opt/prog. I made the mistake ofbelieving them when they said they would never needmore than 20GB of space for this application and thereports/files that would be generated and kept in/opt/prog. They purchased ...

file io benchmarking tool?

538 byte By CodeProf.com at 2007-12-24 22:50:00
Dear all,Can anybody point me to simple file io benchmarking tool for solaris 8?Thanks a lot in advance,Stefan-- stefan berreth . weblicon technologies ag webobjects administration, architecture & design torstrasse 6 vox: +49 30 726269-117 http://www.weblicon.net d-10119 berlin ...

Veritas - growing fs

1070 byte By CodeProf.com at 2007-12-24 22:50:00
Hi,We are running Veritas volume manager 3.12 36 Gig disks were added and I have to enlarge an existingvolume. The question is;The current volume is 18Gig and is called /oraback and isconcatenated.Can I concatenate-mirror these two disks, and add aconcatenated-mirrored disk to the existing ...

xhost problem

428 byte By CodeProf.com at 2007-12-24 22:50:00
Hi gurus,I cannot run "xhost +" from my Solaris 8 box in order toexport the display for a GUI in a terminal session. Get themessage "unable to open display" Can anyone help ?Thanks in advanceCordialement,======================= Amar AMIRI CNES - Evry 01.60.87.70.93 ...

Sun Sbus gigabit ethernet card

256 byte By CodeProf.com at 2007-12-24 22:50:00
Hi ! Experts,<p>We are trying to configure sun sbus gigabit ethernet card X1140A on <br>E4000 system running Solaris 2.6. <br>What are the drivers, packages reqiured for configuring the same ? <p>Any information on this.<p>Thanks in advance<p>Nagendra<br>

Question about Solaris 8 using XP network share.

799 byte By CodeProf.com at 2007-12-24 22:50:00
Ok somehow I set this up and it worked for a short period. I installed Solaris 8and set it up for dhcp. Afterit was first installed it connected to the internetfine. However I wanted to setup Nis and Dns on this machine and needed it tohave a static address so I did a sys-unconfig and set it up ...

C\C++ Solaris books

141 byte By CodeProf.com at 2007-12-24 22:50:00
Off topic question here, but does anyone out there have a couple of good<br>references for programming c\c++ in Solaris..<p>thx,<br>kris-<br>

xterms and french characters

203 byte By CodeProf.com at 2007-12-24 22:50:00
Hi,<p>For some reason my exceed xterms don't display french characters( e's with <br>accents).<p>I setup exceed to connect to the font server.<p>What font's have french characters?<p>Thanks<p>Karl<br>

shft-props from ps/2 keyboard on SunRays

1043 byte By CodeProf.com at 2007-12-24 22:50:00
anyone know how to get "shft-props" from a ps/2 keyboard on a SunRay? Isuppose the SunRay piece a tangent -- I also have some servers on aswitch box sharing a ps/2 keyboard and monitor.Anyway, I have a bunch of SunRays with ps/2 keyboards, barcode scanners,keyboard wedge, and ps/2 to ...

LOM boot options

646 byte By CodeProf.com at 2007-12-24 22:50:00
Hi managers,I have a problem in one of my Netra servers, It's NIS configuration gotcorrupted & now it doesn't boot.The thing is, because it does not have any keyboard/screen attached & theonly mean of connection to it is through Window's HyperTerminal, I can'tsend break signals to ...

Samba - Solaris - NT Domain

6283 byte By CodeProf.com at 2007-12-24 22:50:00
Hello, I've been struggling with this for a bit. Requirement: Allow DOMAIN NT users (belonging to departmental DOMAIN NT Groups)read/write access to their departments Samba Group shares with Read only foreveryone else. The Samba server has been added to the domain as a memberserver, and ...

Obtaining SUN mac addresses from C/C++

870 byte By CodeProf.com at 2007-12-24 22:50:00
This is a follow up to my earlier question....In our environment we runprimarily Solaris 8 right now. We are using multiple qfe cards with IPMulti-Pathing...we have local-mac-addr set to true...we want to be able toobtain the mac for each interface...any thoughts??Developer wrote:If you could, ...

multi-threaded applications

403 byte By CodeProf.com at 2007-12-24 22:50:00
How do/can you determine an application is multi-threaded or not?Is there a command execute to find out? ie. ldd, crle, etc. on anapplication and what to look for?The latest bind 9.x or apache 2.x supposed to take advantage of multi-cpusservers, but how do you go about testing and determines ...

SUMMARY: SUN and Oracle performance design question

705 byte By CodeProf.com at 2007-12-24 22:50:00
[Sorry if this is a duplicate, I did not see this message go through thefirst time I sent it.]I would like to thank the following individuals for responding to my query:Luis Aguilar [laguilar at transformpharma.com]topher [topher at findtopher.com]Vberg Mats [mats.oberg at tietoenator.com]Jeff ...

able to identify the use of a small SAN instead of the use of directlyattached Sun StorEdge T3'

11007 byte By CodeProf.com at 2007-12-24 22:50:00
able to identify the use of a small SAN instead of the use of directlyattached Sun StorEdge T3's. Currently we are looking at an EMC FC4700connected via 2Gb Fiber Channel PCI controllers from either Qlogic orLSILogic.Factors that contributed to this decision:1. The ability to share available ...

the ideal solution) for spreading out data, indexes, logs, rollbacksegments, temp space, ...

2040 byte By CodeProf.com at 2007-12-24 22:50:00
the ideal solution) for spreading out data, indexes, logs, rollbacksegments, temp space, ... Working with my developers I have helped to sizethis down to 7 drives/LUNs for the location of this information. We arelooking at Fiber Channel solutions, in particular Sun StorEdge T3(s).My question ...