Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. naggiman

    Disksuite Naming Convention

    And the last question then... Is there any way to get all the extra defvices created without a reboot? devfsadm didnt seem to create them when i tried that... Or it is a case of the kernel driver for disksuite creates them when they are loaded in, and there is no way to force create them...
  2. naggiman

    Solaris Volume Manager

    is it beneficial? Yes, because in a 1 disk system you can have more than the usual number of slices (> 5 on a root disk), and in a 2 disk system they can all be mirrored. Also, adding space is as easy as metattach d5 10g # add 5Gb to d5 growfs -M /opt /dev/md/rdsk/d5 I am currently setting...
  3. naggiman

    Disksuite Naming Convention

    Thanks both for your suggestions. Franz, Don't you find having so many devices set up for disksuite an issue? This is one thing i was shying away from (I did increase mine up to 256 so i could play with the config a bit). Are there any issues with having so many? Thanks Duncs
  4. naggiman

    Disksuite Naming Convention

    I was wondering what the general consensus of disksuite naming convention was. We generally use d0 = /, mirrored over d10 and d20 where d10=c0t0d0s0 and d20=c1t0d0s0 d1 = swap, mirrored over d11 and d21 where d11=c0t0t0s1 and d21=c1t0d0s1 etc... This works very well for only 2 disks in a...
  5. naggiman

    SCRIPT CALLS ITSELF WITH AT

    atq This will list all files waiting to be processed. atrm <queueid> will remove it from the queue. The queue itself is not in memory, but in /var/spool/cron/atjobs. Each time you run &quot;at&quot; it stores a new item in the queue - it does not overwite any at jobs that are effectivly...
  6. naggiman

    Non-interactive SUNWexplo install

    daFranze, So explorer output regularly does not contain serial numbers when they reach the Sun systems? How are support calls tracked when those explorer outputs need to be queried? Are hostid's used instead or soemthing then? If is not that essential that explorer's contain the serials...
  7. naggiman

    Non-interactive SUNWexplo install

    Our internal networks are split into a number of firewalled segments, so I would need an NFS server for each segment. Our security people wouldnt allow me to cross segments with a single NFS area. I can see why the pkgask has to work the way it does - so the NFS mounts and single defaults file...
  8. naggiman

    Non-interactive SUNWexplo install

    Thanks for your suggestion - i am not convinced i want to do that since it doesn't seem a very elegant solution (and i would have to do it for each new release of SUNWexplo). But i guess, as a last resort, i may have to.... Thanks anyhow.
  9. naggiman

    set env vars within a shell

    You have to &quot;source&quot; the script into your current shell, not run it. I.e. # ./setvars.sh won't work # . ./setvars.sh will work Another way is to make sure there is no #!/bin/sh on the first line of the script as this also invokes a sub-shell rather than running it in the current...
  10. naggiman

    NIS+ user setups

    Is keyserv daemon running correctly? Is the client authenticated correctly? As root # nisdefaults This should not show &quot;not authenticated&quot; Is /etc/nsswitch.conf set up correctly on the client for passwd table? Should be either: passwd: compat passwd_compat: nisplus or...
  11. naggiman

    SCRIPT CALLS ITSELF WITH AT

    Ru your script with &quot;#!/bin/ksh -p&quot;. This will ignore settings from your profile/environment when running the script and may help to hightlight the problem. However, saying that, &quot;at&quot; should record your environment settings for when the script run again so everything...
  12. naggiman

    Non-interactive SUNWexplo install

    I have to upgrade SUNWexplo across 400 or so Sun servers, and it is a pain. Currently i have a wrapper script that generates a pkgask file for each server i install it on, but i would much rather have a single pkgask file so i can do $ pkgadd -a <admin> -r SUNWexplo.pkgask SUNWexplo instead...
  13. naggiman

    How do i create a non interactive package?

    There are 2 sides to fully automating a package install - one is the use of pkgask and the response files it generates (as noted above). The other side is the use of an admin file (i.e. pkgadd -a <admin file> <pkg> man -s4 admin to see the full details. The following in the admin file should...
  14. naggiman

    Sending mail from a shell script

    Can you provide a few more details, such as sendmail version, whether sendmail is daemon or run by cron, platform, etc? Have a look in your sendmail.cf file as this is possibly where it is configured for this behaviour you are seeing (/etc/mail/sendmai.cf?). If it comes to it, you can always...
  15. naggiman

    Sending mail from a shell script

    Use commas not semi-colons (that is an Outlook standard, not a 'real standard' ;o) N.
  16. naggiman

    Recursive glob

    Just found File::Find built-in which does what i need... thanks anyhow. N.
  17. naggiman

    Sending mail from a shell script

    You could use mailx instead - same as mail but with extra commands mailx -r &quot;return@address&quot; -s &quot;load on $1&quot; $DEST If you have mailx, that is... Only other way could be to run it through sendmail directly, as in { echo To: $DEST echo &quot;From: $FROM&quot; echo...
  18. naggiman

    Recursive glob

    How do i achieve a recursive glob of a directory? Currently i am doing glob(&quot;$dir/* $dir/*/*&quot;); but since there could be 5 levels i dont want to repeat the $dir/*/*/.. 5 times (doesn't look correct to me). Ta. N.
  19. naggiman

    Mounting a CDROM drive remotely

    Without a valid entry in dfstab, nfs.server will not start up and will not share any mounts you type in by hand. Add what you are trying to share into dfstab, run &quot;nfs.server start&quot;, and try the dfshares command again. N.
  20. naggiman

    Mounting a CDROM drive remotely

    sounds like nfs.server hasnt started correctly - what is in your dfstab file? Is nfsd running? Any messages in /var/adm/messages? Also, what CD is it? Some cd's such as the solaris install ones, mount up as individual paritions under /cdrom/x and you have to export each one. N.

Part and Inventory Search

Back
Top