New to Solaris, what are the c0d0p# means?


 
Thread Tools Search this Thread
Operating Systems Solaris New to Solaris, what are the c0d0p# means?
# 1  
Old 09-26-2010
Question New to Solaris, what do the c0d0p# means?

Hi,

I am very new to solaris and would like to know the meanings for c0d0p# ?

I have two IDE drives, and they are showing up as c0d0 and c0d1. According to my book, s# means the slices (partitions), and I do see they are showing up at /dev/rdsk/c0d0s1 ... up to s15, but what about the p#? I see there are five of these /dev/rdsk/c0d0p0 ... up to p4



Thanks!

Last edited by MR.bean; 09-26-2010 at 02:59 PM..
# 2  
Old 09-26-2010
p0, p1 etc are fdisk partitions.
# 3  
Old 09-26-2010
Quote:
Originally Posted by bartus11
p0, p1 etc are fdisk partitions.
If I understand correctly, I use fdisk to partition the new disk first, and then use format to create the appropriate partitions?
# 4  
Old 09-26-2010
On x86 machines yes.
# 5  
Old 09-26-2010
What would be different for sparc machine? Thanks for your help.
# 6  
Old 09-26-2010
On SPARC there are no fdisk partitions, so slices are placed directly on the disk.
# 7  
Old 09-26-2010
Use "format" on Sparc to see the partitions on your disk. Select a drive number (usually "0" or "1") then "partition" then "print" to print the partition table for that disk. You can also use something like "prtvtoc /dev/rdsk/c0t0d0s0" -- the exact numbers depend on your setup, but the meanings are:
c0 = controller zero
t0 = target zero or LUN = Logical Unit Number
d0 = device zero
s0 = slice zero (also called a partition)

If your were setting up an x86 machine you'd have to use "fmthard" either instead of or before using "format", to partition at a higher level. The word partition is overused and can refer both to an OS partition (Windows or Unix) and to a slice which is why Sun came up with the word "slice" probably.

---------- Post updated at 03:38 PM ---------- Previous update was at 03:36 PM ----------

Uh, sorry, I meant fdisk, not fmthard.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

What is $(NF) means?

HI what does the $(NF) means. here i want to understand the working. what i know is that in awk NF argument will tell number of column in a file i have below file alpha a beta b if i use command cat kv | paste - - | awk '{print $1," "$2 "------>"$(NF)}' i get the o/p as alpha ... (3 Replies)
Discussion started by: scriptor
3 Replies

2. Programming

What does it means?

#define abc '\xE8' (7 Replies)
Discussion started by: kamlesh33
7 Replies

3. Shell Programming and Scripting

What does . means?

Hi, I have seen in some ksh script, that we are executing shell scripts inside other shell script as . variable.sh What is . here? Their is space between . and variabloe. And why we are not executing it like ./variable.sh? I know that . signifies current directory , but what its... (2 Replies)
Discussion started by: jatanig
2 Replies

4. Shell Programming and Scripting

!! what is this means

I have a script like select * from table !! what those exclamation marks mean (4 Replies)
Discussion started by: vasuarjula
4 Replies

5. UNIX for Dummies Questions & Answers

What means %U

I can not find out what the %U means in the following command: ooffice -calc %U (2 Replies)
Discussion started by: borobudur
2 Replies

6. UNIX for Advanced & Expert Users

what does $#,$* means

:) Hi, In some script i got these regular expression like , n=$# and for i in $* can anybody let me know, what does it means (5 Replies)
Discussion started by: deb.simply
5 Replies

7. UNIX for Dummies Questions & Answers

Can you tell me what this means?

Can you please tell me what this means? use grep to find from the file myfile.txt all lines containing the sequence tt but not more 2 ts? I have no idea. (2 Replies)
Discussion started by: rushhour
2 Replies

8. UNIX for Dummies Questions & Answers

$? means?

Hi All, Can you please explain wats the meaning of this $? in unix Thanks (2 Replies)
Discussion started by: mathur
2 Replies

9. UNIX for Advanced & Expert Users

What does ##* means

Hi In one of the thread I have found echo ${SHELL##*/} Can any of u pls let me know, what is the interpretation for ##* over here? Thanks. (2 Replies)
Discussion started by: yeheyaansari
2 Replies
Login or Register to Ask a Question