The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
mirroring the boot slice (slice 8) on x86 hcclnoodles SUN Solaris 0 11-14-2006 03:30 AM
I've created a partition with GNU Parted, how do I mount the partition? jtp51 UNIX for Dummies Questions & Answers 1 09-18-2006 08:01 AM
artichture of Slice smdakram UNIX for Advanced & Expert Users 2 05-10-2004 06:24 AM
understanding logical partition, physical partition yls177 UNIX for Dummies Questions & Answers 3 11-15-2002 06:49 AM
New Sds Slice guillaume35 Filesystems, Disks and Memory 1 06-03-2002 10:36 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-21-2007
Registered User
 

Join Date: Mar 2007
Posts: 22
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Unhappy slice & partition???

Hello,
What is the difference between slice and partition on Solaris world?

Regards
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-21-2007
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,240
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
On a Sparc, a disk is divided into slices and the term "partition" is not used. On a PC, a disk is cut into "partitions" so this is the fundamental division of a disk. You often have multiple OS's on a PC with each getting its own partition. Solaris will take its partition and again divide it into slices. On either a Sparc or a PC, a slice is what gets mounted. (This assumes no volume manager is in use.)
Reply With Quote
  #3 (permalink)  
Old 04-21-2007
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,407
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
In normal parlance there isn't one, and in Solaris the devisions of a disk are called slices.

The real difference is more subtle. A slice is what in the windows world would be called a "primary partition", ie it is a physically bounded area of disk. A partition is actually a logically, not physically, bounded area of disk which resides within a slice again you don't normally see any difference in Solaris, but in the windows world the "secondary partitions" all reside within one slice on disk.
Reply With Quote
  #4 (permalink)  
Old 04-21-2007
Registered User
 

Join Date: Mar 2007
Posts: 22
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
c0d0s1 terminology

Hello,
I've a Solaris10 which is installed on 1 disk drive and can understand the structure. c0d0s0 / c0d0s7 terminology.

I've an assumption for a different structure...
Let's suppose that I've 10 disks and grouped as RAID5.

Additionally I want to add 4 more disks as RAID5 to store my new Oracle database and some other files. I mean that I want to divide my new RAID5 logical drive to 2 slices.

How does Solaris name to my disks and logical structure?

Thanks
Reply With Quote
  #5 (permalink)  
Old 04-21-2007
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,407
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
If you were using a logical volume manager it would depend on which logical manager you were using. If the RAID was done in hardware it would be presented as another disk.

For example if you created a SVM volume you would have 4 disks visible in /dev/dsk from which you would create a riad5 metadevice (md), lest say it is called md100 you would then treat /dev/md/(r)dsk/md100 as a disk in the same way as a /dev/(r)dsk/cXtY device.

In veritas you would have disks, you would add these to a diskgroup and create volumes. The devices you would mount would be located in /dev/vx/dsk/<diskgroup name>/<volume name>

If the RAID5 is done in hardware you would just see an extra disk in /dev/dsk.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:46 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101