slice & partition???


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers slice & partition???
# 1  
Old 04-21-2007
Data slice & partition???

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

Regards
# 2  
Old 04-21-2007
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.)
# 3  
Old 04-21-2007
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.
# 4  
Old 04-21-2007
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
# 5  
Old 04-21-2007
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.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. BSD

Find Partition/Slice UUID

I thought I had figured this out at one point, but I can't remember. Is there a way/command to get the UUIDs of a disk's partitions/slices in FreeBSD? Linux has the blkid command, which doesn't seem to be available. (2 Replies)
Discussion started by: AntumDeluge
2 Replies

2. Solaris

Trouble creating a disk partition slice (EFI)

Hi all, I am using SPARC Solaris 11.1 with EFI labelled disks. I am new to ZFS file systems and slightly stuck when trying to create a partition (slice) on one of my LUNs. EFI labels use sectors and blocks and I am not sure how exactly it works. From here I can try and create a... (2 Replies)
Discussion started by: selectstar
2 Replies

3. Red Hat

Shrink LVM partition & create new Linux Primary partition

Hello All, I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows, /boot - Linux Partition & another is LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc). Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies

4. Solaris

Partition overlaps another partition while creating new parition in solaris

hi all while formatting hard disk i am getting following error. Partition 1 ends at 266338338 It must be between 34 and 143374704. label error: EFI Labels do not support overlapping partitions Partition 8 overlaps partition 1. Warning: error writing EFI. Label failed. I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies

5. Shell Programming and Scripting

Enhanced partition copy script (new & improved!)

This is now a larger script than I would customarily post. But many folks have become accustom to getting it off this forum. Every couple of years I update my favorite scripts. This script is one that I use regularly and have posted older versions every couple of years. I noticed that it has... (3 Replies)
Discussion started by: jwzumwalt
3 Replies

6. Filesystems, Disks and Memory

Creating /boot partition & MBR concerns

I have 40GB HD with mepis8, swap, MBR and under flags word boot. I also have a 160 GB external with a few Linux OS, no swaps, no extended etc. I am total Linux no MS I would feel more secure by resizing that sda1 partition and creating a /boot partition with the MBR housed there. Is that a... (1 Reply)
Discussion started by: worthamtx
1 Replies

7. Solaris

mirroring the boot slice (slice 8) on x86

Hi there I am about to mirror a Solaris 10 x86 box (SunFire X4100) onto a secondary disk using svm (current system is one disk). My question is this, on X86 boxes there is a slice 8 defined as boot partition (and also a slice 9, dunno what its used for tho). Do I need to mirror this boot slice... (0 Replies)
Discussion started by: hcclnoodles
0 Replies

8. UNIX for Dummies Questions & Answers

I've created a partition with GNU Parted, how do I mount the partition?

I've created a partition with GNU Parted, how do I mount the partition? The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards. Thanks, --Todd (1 Reply)
Discussion started by: jtp51
1 Replies

9. Linux

File Sharing among NTFS Partition & RH Linux 9 Partitions

Well Guys, will anybody solve my problem? I have installed Win XP and RH Linux 9 (Dual Boot) on an Intel x86 Machine. Everything is going fine except that I cannot share files among the two operating systems. For example, if I download a PDF file from internet and save it in my Win XP partition... (1 Reply)
Discussion started by: Jawwad
1 Replies

10. UNIX for Dummies Questions & Answers

understanding logical partition, physical partition

hi, 1) is logical partition the same as physical partition except that one is physical and the other is logical? 2) then it must a one to one ratio? (3 Replies)
Discussion started by: yls177
3 Replies
Login or Register to Ask a Question