SunOS 5.8

I installed a hard drive in an external hard drive enclosure. I shutdown the sun box  ( ultra 60 ) and at the ok prompt typed reboot -r. Once the machine was back up I login as root and run the format command, and I get
0. c0t0d0  < blah, blah, blah >
1. c0t1d0  < blah, blah, blah >
2. c1t3d0  < blah, blah, blah >
3. c1t4d0  < blah, blah, blah >
4. c1t10d0  <SUN146G cyl 14087 and so forth >
Number 4 is the hard drive I installed and the one I am trying to mount. So anyhow, after running the format and finding the drive, I'm not sure what to do. I've tried fdisk but can't figure out what device to use it seems that c1t10d0 is incomplete. I guess I need something like c1t10d0s?

LVL 1
JeffBeallAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sentnerCommented:
First you have to set up your partitions within format.  Go to the partition menu, and for each slice set the size.  Leave slice "2" alone, as that is the "whole disk" raw partition.
After you've used format to lay down the partitions you need to put filesystems on them.  You'd use the newfs command to do that, such as:
newfs /dev/rdsk/c1t10d0s0

0
omarfaridCommented:
After running format you are prompted to select the disk number. choose 4 (in your case).

Tthen type p (for partition).

Then select / type partition number (e.g. 1).

Then you are prompted like below:

Enter partition id tag[root]:
Enter partition permission flags[wm]:
Enter new starting cyl[0]:
Enter partition size[34697376b, 34422c, 16942.08mb, 16.54gb]:

then run label
then quit
then quit
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JeffBeallAuthor Commented:
WOW, you guys are fast. I think that worked. I used a little of both of your advise, then I ran the mount command and I get
/storage on /dev/dsk/c1t10d0s1 read/write/setuid/intr/largefiles/onerror=panic/dev=8000c1 on Thu Jan 31 09:23:24 2008
So I obviously I mounted c1t10d0s1 to the /storage directory. Since I'm not very experienced with this, does that mount look O.K. My concern/question was the " onerror=panic/dev=8000c1 " I was assuming that means if there is an error, not that one has occured?
0
sentnerCommented:
That's a mount flag that tells the system what to do in case of a filesystem inconsistency error.  The default is to panic the system.  It doesn't mean there's an error right now.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.