06-16-2015
Hmmmmm!!!!!
This shows that it cannot retrieve alternate superblock locations and, indeed, the filesystem shows a different disk geometry to the whole disk.
Somehow, the geometry is screwed which would explain the "bad magic number" error.
I need to think how we could straighten out the disk geometry.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
when installing a piece of third part software I get the error "Bad magic number" at one point when it tries to use libraries from the bea tuxedo server. Am I correct that this means that the software is expecting 32bit while I'm on 64bit? Is there a way around it or can it only be solved... (5 Replies)
Discussion started by: rein
5 Replies
2. Solaris
I tried rebooting my Sun server just a few minutes ago and I got the following at boot:
--
Sun Fire 280R (UltraSPARC-III+) , No Keyboard
Copyright 1998-2002 Sun Microsystems, Inc. All rights reserved.
OpenBoot 4.5, 1024 MB memory installed, Serial #xxxxxxxxx
Ethernet address... (6 Replies)
Discussion started by: deckard
6 Replies
3. Filesystems, Disks and Memory
Dear All,
i have a SCSI hard disk drive i'm installing on it solaris 5 and the workstation is sun sparc, i made an image of this H.D using Norton Ghost 6, so i took off the SCSI H.D from the sun workstation and put it on a Compaq server then i booted the server from the Norton Ghost floppy disk... (0 Replies)
Discussion started by: wesweshahaha
0 Replies
4. UNIX for Advanced & Expert Users
Hello All,
(RHEL4)
Few weeks ago I had posted a message in this forum about the problem I had when I replaced my two scsi disks and tried rebuild raid1 array.
I somehow managed to up the system with working raid1 array.
But the main problem persisted..
i.e when I reboot the system, mounting... (0 Replies)
Discussion started by: ravinandan
0 Replies
5. Solaris
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
6. Solaris
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
I'll keep it fairly straight forward. I work with a Solaris server and magically today it decided to take a dump on me. At first it give a long list of files that couldn't be acessed before terminating the boot process and returning to the 'ok' prompt. Booting in single-user mode allowed me to run... (4 Replies)
Discussion started by: Aon
4 Replies
8. Solaris
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
9. Solaris
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
So we have a new to us v240 server with no OS installed. It has an outdated version of OB and ALOM so before we install the OS we want to update both. We have a DVD with the latest OB patch burned on it.
We do the boot cdrom command but receive the Bad Magic Number Error. Does an OS need to... (2 Replies)
Discussion started by: dunkpancakes
2 Replies
LEARN ABOUT OSF1
createlabel
createlabel(3) Library Functions Manual createlabel(3)
NAME
createlabel - Creates a disk label structure for a disk device
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <sys/types.h>
#include <sys/disklabel.h>
int createlabel( char *devname, char *name, struct disklabel *disk, char *boot, int boot_len);
PARAMETERS
Specifies the device special file name of the device. Specifies the name entry in the /etc/disktab file that is to be used for the label
information. Otherwise, specify NULL to indicate that the name entry either is not in the /etc/disktab file, or, if it is, that it should
be ignored. Points to the disk label structure that is filled in with the returned disk description on successful completion of the func-
tion. Points to the buffer that the function may use to contain the (optional) primary and secondary bootstrap names for the disk label.
Specifies the length of the boot buffer. The value must be set to the value of the BUFSIZ constant.
DESCRIPTION
The function fills in the disk label structure pointed to by the disk parameter. The resulting disk label can then be written to the disk
in order to label it.
The function queries the device, using the devname parameter, to obtain the disk's geometry, capacity, and any default partition informa-
tion.
The function checks the name parameter. If name is non-null, the function looks for an entry in the /etc/disktab file that matches the
name string and initializes the disk label structure from that entry. The function then overrides the device data and initializes the disk
label structure from the entry in the /etc/disktab file.
If the name string is NULL, or has no matching entry in the /etc/disktab file, the function queries the device (using the devname parame-
ter) to obtain the device's name string. The function then looks for an entry in the /etc/disktab file that matches that name string, and
if it finds a match, initializes the disk label structure from that entry.
If an /etc/disktab entry indicates that the device has a dynamic geometry, the function queries the device (using the devname parameter) to
obtain the disk's true geometry and capacity and to override any value given in an /etc/disktab entry associated with the device. In this
case, any -1 lengths encountered in the partition specifications for the entry are replaced by a value equal to the device's total capacity
minus the starting offset of the partition.
RETURN VALUES
Upon successful completion of the createlabel function, a value of 0 is returned and the contents of the disk label structure are updated.
Upon error, a value of -1 is returned and errno is set to [EINVAL].
ERRORS
Either disk or boot is NULL, or boot_len is not equal to BUFSIZ.
FILES
Table of disk partition sizes for supported disks.
RELATED INFORMATION
Commands: disklabel(8)
Functions: getdiskbyname(3).
Files: disklabel(4), disktab(4) delim off
createlabel(3)