Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
c0d0= is that 1 disk
c0d0p1 = is that partition, then it would be 10 partitions
But if i enter df -h i says 8 partitions.
Where /dev/cciss/c0d0p4 is gone wich could be the other disk? and /dev/cciss/c0d0p6 wich is swapped, wich shuldnt be shown i assume.
that one /dev/cciss/c0d0p4 is says that its extended, would that be with the other disk c0d1:
Disk /dev/cciss/c0d0: 73.3 GB, 73372631040 bytes
255 heads, 63 sectors/track, 8920 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 274 2096482+ 83 Linux
/dev/cciss/c0d0p3 275 535 2096482+ 83 Linux
/dev/cciss/c0d0p4 536 8920 67352512+ 5 Extended
/dev/cciss/c0d0p5 536 1057 4192933+ 83 Linux
/dev/cciss/c0d0p6 1058 1579 4192933+ 82 Linux swap / Sol aris
/dev/cciss/c0d0p7 1580 1840 2096451 83 Linux
/dev/cciss/c0d0p8 1841 2101 2096451 83 Linux
/dev/cciss/c0d0p9 2102 2362 2096451 83 Linux
/dev/cciss/c0d0p10 2363 8920 52677103+ 83 Linux
Disk /dev/cciss/c0d1: 587.1 GB, 587128266752 bytes
255 heads, 32 sectors/track, 140531 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d1p1 1 140531 573366464 83 Linux
I'm not quite sure what your question is, but everything you showed seems to be normal.
Your disk /dev/cciss/c0d0 has 10 partitions. One of them is swap and one of them is the Extended partition. The remaining 8 are 'normal' partitions, and all of them seem to be mounted, as you say. (Actually I just see that there is a second hard disk with one partition. So out of 9 mountable partitions, 8 are used. Either df or mount will show you which ones)
The Extended partition is just a container for the partitions 5-10. It's a relict from DOS times, to overcome the limit of only 4 partitions per disk. (Have a look at the Start and End values)
PS: From the unusual device names I would guess that these are devices on a raid controller, so /dev/cciss/c0d0 and /dev/cciss/c0d1 are probably not single physical disks but raid volumes consisting of several physical disks.
I don't know what this notation is: "c0d0p1" What kind of a system are you using?
It APPEARS that the partition numbering follows the conventions most often seen--to wit:
4 primary partitions are allowed
To have more than 4 partitions, you need one of the 1st 4 to be an "extended" partition--hence your p4 extended
Any partition with a number higher than 4 is always a logical partition
filesystem tools will typically not report on extended partitions or swap space
partitioning tools will show the swap partition, but not always the extended
Note that an "extended partition" is really the begininning of a linked list. At each step in the list, there is another extended partition which points to the next logical. You can't set up a filesystem or store data in an extended partition.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.