Avatar of nevyana2006
nevyana2006

asked on 

Adding new HD to Solaris 5.6

HEllo,
I have added a new HD to a sun sparc and am gettign the following error:
Warning: /pci@1f,4000/scsi@3/sd@2 corrupt label - wrong magic number
Can I admin the system to acknowledge the HD remotely ?
Unix OS

Avatar of undefined
Last Comment
nevyana2006
ASKER CERTIFIED SOLUTION
Avatar of awa2008
awa2008

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of nevyana2006
nevyana2006

ASKER

yeah, i did that and was able partition and create newfs and mount accordingly. But when i reboot the system still gives that message. Is it because its not a sun disk ?
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

can you show / describe steps you did to add disk?
Avatar of nevyana2006
nevyana2006

ASKER

(1) Installed the HD and booted up the server
(2) logged as root and did format (the HD was listed as available in the disk selections)
(3) did label
(4) partition - created one partition not on the entire disk from cylinder 0-4000c
(5) did label again
(6) created newfs on that one partition
(7) did a mount
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

if you run  prtvtoc for the new disk, what do you get?
Avatar of nevyana2006
nevyana2006

ASKER

attached is the output.
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

where is the attachement?
Avatar of nevyana2006
nevyana2006

ASKER

* /dev/rdsk/c0t2d0s3 partition map
*
* Dimensions:
*     512 bytes/sector
*     214 sectors/track
*      12 tracks/cylinder
*    2568 sectors/cylinder
*    6924 cylinders
*    6922 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
* Unallocated space:
*      First     Sector    Last
*      Sector     Count    Sector
*      264504 4294702792 4294967295
*     7704000 4287527800    264503
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      2    00          0    264504    264503
       1      3    01     264504    264504    529007
       2      5    01          0  17775696  17775695
       3      0    00          0   7704000   7703999   /export/home/scsi/backup
       6      4    00     529008  17246688  17775695
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

what is your server model? are you sure that the message comes from this disk? can you show /etc/vfstab file contents? is this filesystem automatically mounted when system is booted?
Avatar of nevyana2006
nevyana2006

ASKER

yes, its mounted at boot. vfstab contains this entry only for that HD:
/dev/dsk/c0t2d0s3 /dev/rdsk/c0t2d0s3 /export/home/scsi/backup ufs 2 yes -
and I am able to work on that partition.
The server sun enterprise 450 ultrasparc-II 296MHz Sun-OS 5.6
Avatar of nevyana2006
nevyana2006

ASKER

i rebooted the server again and this time i am not seeing this error in the /var/adm/messages. i have not made any changes since the previous reboot. both times i rebooted with init 6
SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of nevyana2006
nevyana2006

ASKER

0.c0t0d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@1f, 4000.scsi@3/sd@0,0
1.c0t1d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@1f, 4000.scsi@3/sd@1,0
2.c0t2d0 <SEAGATE-ST39102LC-0005 cyl 6922 alt 2 hd 12 sec 214>
/pci@1f,4000/scsi@3/sd@2,0 (the one that was added)
Unix OS
Unix OS

Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.

33K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo