Device Boot      Start         End      Blocks   Id  System
/dev/cciss/c0d0p1   *        2048      499711      248832   83  Linux
/dev/cciss/c0d0p2          501758   573366271   286432257    5  Extended
/dev/cciss/c0d0p5          501760   573366271   286432256   83  Linux

Okay, we are building a new data server that has 6 disks - we partitioned the first 4 as a RAID 1 and the last 2 as a RAID 0. Our RAID 1 will house the main data server and the RAID 0 we want to use as a NAS/file storage device. My question is which partition is the RAID 0? Is the Extended partition the RAID 0? I want to mount 0 on the 1 as a NAS but I don't want to write the files to the wrong device.

Thanks

Hello,

What you are seeing here are two partitions both on the first controller and the first disk.
The device naming scheme is:

       /dev/cciss/c0d0         Controller 0, disk 0, whole device
       /dev/cciss/c0d0p1       Controller 0, disk 0, partition 1
       /dev/cciss/c0d0p2       Controller 0, disk 0, partition 2
       /dev/cciss/c0d0p3       Controller 0, disk 0, partition 3

       /dev/cciss/c1d1         Controller 1, disk 1, whole device
       /dev/cciss/c1d1p1       Controller 1, disk 1, partition 1
       /dev/cciss/c1d1p2       Controller 1, disk 1, partition 2
       /dev/cciss/c1d1p3       Controller 1, disk 1, partition 3

Device c0d0p1 is controller 0 disk 0 partition 1 and if you created logical drives with the raid controller you should be seeing a device c0d1 and will need to create partitions on it.

On a separate note you said you were going to use RAID 0 (striping) on the last two drives and make it a NAS storage device. If people are going to be storing important information on that device you had better have good backups. RAID 0 is fast however the big drawback is that because data is split across the two drives, if either drive fails then you lose all of the data on both drives. Why not use all of the drives for one large RAID 5 array and then partition the drives for DATA and NAS. With RAID 5 if one of the drives fails the others know what is missing and the array can be rebuilt and you get the speed of striped data for both your data and NAS storage system. Just a suggestion..

Here is a link to a quick film about raid:
http://community.spiceworks.com/topic/457392-it-in-three-what-is-raid?swsrc=stumbleupon-community-signup-whiteboard-videos-what-is-raid-it-us

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.