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?
 
omarfaridConnect With a Mentor Commented:
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
 
sentnerConnect With a Mentor Commented:
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
 
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
 
sentnerConnect With a Mentor Commented:
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
All Courses

From novice to tech pro — start learning today.