Sponsored Content
Operating Systems Solaris Big UH-OH "Bad magic number in disk label" Post 67631 by deckard on Thursday 24th of March 2005 03:52:34 PM
Old 03-24-2005
Thanks. I'll need to keep that in mind for future reference. Oh well, we live and we learn.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

"bad number" message

Hi, running a script fine , i get twice the following message and whether i put "set -x" , i don't see what's going wrong : /users/notes01/scripts/sad/util/verif_boot_notes.ksh: Ma: bad number any ideas ? regards Christian (4 Replies)
Discussion started by: Nicol
4 Replies

2. Shell Programming and Scripting

read -p "prompt text" foo say "read: bad option(s)" in Bourne-Shell

Hallo, i need a Prompting read in my script: read -p "Enter your command: " command But i always get this Error: -p: is not an identifier When I run these in c-shell i get this error /usr/bin/read: read: bad option(s) How can I use a Prompt in the read command? (9 Replies)
Discussion started by: wiseguy
9 Replies

3. AIX

"too big" and "not enough memory" errors in shell script

Hi, This is odd, however here goes. There are several shell scripts that run in our production environment AIX 595 LPAR m/c, which has sufficient memory 14GB (physical memory) and horsepower 5CPUs. However from time to time we get the following errors in these shell scripts. The time when these... (11 Replies)
Discussion started by: jerardfjay
11 Replies

4. Solaris

BAD magic number in disc label...

Hello All, I m very new to this forum. i m having SUN NETRA X1 server with 40 GB HDD (Seagate) & 128 MB RAM. i m trying this server for SUN 10 Practise. As i m installing SUN 9 /10 with CD ,its giving me error after OK propmt *************************** #boot cdrom or #boot cdrom... (16 Replies)
Discussion started by: amrut_k
16 Replies

5. Solaris

errors on Netra-440: "IPC Warning: ipc: tcp_protocol: bad magic number"

I was asked to look into a problem with a Sun Netra 440 in another department. On the server in question, the relevant 'uname -a' information is, "SunOS host1 5.9 Generic_118558-16 sun4u sparc SUNW,Netra-440". That information aside, while the other admin is logged into the ALOM, these errors are... (0 Replies)
Discussion started by: Borealis
0 Replies

6. Solaris

Help:"Bad checksum in disk label" and "Can't open disk label package"?

Hello, I'm brand new to Sun/Solaris. I have a Sun Blade 150, with SunOS 5.8. I wanted to make a backup to prevent future data loss, so I put the disk in a normal PC with Windows XP to try to make a backup with Norton Ghost, the disk was detected, but not the file volume, so I place the disk... (6 Replies)
Discussion started by: Resadija
6 Replies

7. Solaris

corrupt label - wrong magic number

I have created 1 LUN. 1)LUN 00BB 200GB /dev/rdsk/c1t3d44 /dev/rdsk/c2t28d44 /dev/rdsk/c3t19d44 /dev/rdsk/c4t12d44 2) Already added the new entry into sd.conf and rebooted. 3) Already done these: powercf –q power config 4) power display dev=all I can see the new Symmetrix device.... (1 Reply)
Discussion started by: sirius20d
1 Replies

8. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

9. Solaris

Recover label, wrong magic number

Is there a way to recover label? I could install (sparc) Solaris again, but it would take a lot of time. (5 Replies)
Discussion started by: orange47
5 Replies

10. Solaris

Bad magic number in disk label.

This is first time post...found this forum when looking for possible solution to fix my sun pc. Just one day can't boot it already showing the following: Boot device: disk File args: Bad magic number in disk label Can't open disk label package Evaluating: boot Can't open boot device... (40 Replies)
Discussion started by: SHuKoSuGi
40 Replies
nisdefaults(1)							   User Commands						    nisdefaults(1)

NAME
nisdefaults - display NIS+ default values SYNOPSIS
nisdefaults [-adghprstv] DESCRIPTION
The nisdefaults utility prints the default values that are returned by calls to the NIS+ local name functions (see nis_local_names(3NSL)). With no options specified, all defaults will be printed in a verbose format. With options, only that option is displayed in a terse form suitable for shell scripts. See the example below. OPTIONS
The following options are supported: -a Print all defaults in a terse format. -d Print the default domain name. -g Print the default group name. -h Print the default host name. -p Print the default principal name. -r Print the default access rights with which new objects will be created. -s Print the default directory search path. -t Print the default time to live value. -v Print the defaults in a verbose format. This prepends an identifying string to the output. EXAMPLES
Example 1: Printing NIS+ defaults The following prints the NIS+ defaults for a root process on machine example in the foo.bar. domain: example# nisdefaults Principal Name : example.foo.bar. Domain Name : foo.bar. Host Name : example.foo.bar. Group Name : Access Rights : ----rmcdr---r--- Time to live : 12:00:00 Search Path : foo.bar. Example 2: Setting a variable in the shell script This example sets a variable in a shell script to the default domain: DOMAIN=`nisdefaults -d` Example 3: Printing the default time to live in verbose format This example prints out the default time to live in a verbose format: example% nisdefaults -tv Time to live : 12:00:00 Example 4: Printing the time to live in terse format This example prints out the time to live in the terse format: example% nisdefaults -t 43200 ENVIRONMENT VARIABLES
Several environment variables affect the defaults associated with a process. NIS_DEFAULTS This variable contains a defaults string that will override the NIS+ standard defaults. The defaults string is a series of tokens separated by colons. These tokens represent the default values to be used for the generic object properties. All of the legal tokens are described below. ttl=time This token sets the default time to live for objects that are created. The value time is specified in the for- mat as defined by the nischttl(1) command. The default value is 12 hours. owner=ownername This token specifies that the NIS+ principal ownername should own created objects. The default for this value is the principal who is executing the command. group=groupname This token specifies that the group groupname should be the group owner for created objects. The default is NULL. access=rights This token specifies the set of access rights that are to be granted for created objects. The value rights is specified in the format as defined by the nischmod(1) command. The default value is: ----rmcdr---r---. NIS_GROUP This variable contains the name of the local NIS+ group. If the name is not fully qualified, the default domain will be appended to it. NIS_PATH This variable overrides the default NIS+ directory search path. It contains an ordered list of directories sepa- rated by ':' (colon) characters. The '$' (dollar sign) character is treated specially. Directory names that end in '$' have the default domain appended to them, and a '$' by itself is replaced by the list of directories between the default domain and the global root that are at least two levels deep. The default NIS+ directory search path is '$'. Refer to the Name Expansion subsection in nis+(1) for more details. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
nischmod(1), nischttl(1), nis+(1), nis_local_names(3NSL), attributes(5) NOTES
NIS+ might not be supported in future releases of the SolarisTM Operating Environment. Tools to aid the migration from NIS+ to LDAP are available in the Solaris 9 operating environment. For more information, visit http://www.sun.com/directory/nisplus/transition.html. SunOS 5.10 10 Dec 2001 nisdefaults(1)
All times are GMT -4. The time now is 06:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy