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

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
awa2008

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
nevyana2006

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 ?
omarfarid

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

(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
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
omarfarid

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

attached is the output.
omarfarid

where is the attachement?
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
nevyana2006

* /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
omarfarid

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?
ASKER
nevyana2006

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
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
ASKER
nevyana2006

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
omarfarid

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
nevyana2006

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)