linux 8e vs raw disk

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat linux 8e vs raw disk
# 1  
Old 08-31-2012
linux 8e vs raw disk

Hi All,

Hope someone can help me with this.

I have noticed that on some of the servers i am currently administering there is a difference in the setup of some of the LVM disks.

Some of the disks have been created by SN disk allocated, disk partitioned using type 8e over the entire disk, then pv/vg/lv create being completed on the 8e disk.

Others have been setup without the fdisk step so pc/vg/lv creation has been done direct onto raw SAN disk.

There is supposed to be a performance increase by using raw disk as the OS.

So my question is, do you still get performance a increase when using LVM on raw disk the same as you would by using raw disk directly?

And should LVM be created onto raw disk or onto a partitioned device if there is no performance benefit? Is there any best practice around this, there are plenty of guides on how to set this up but nothing to say which way is preferable.

Thanks in advance.
Tom
# 2  
Old 08-31-2012
From what I've seen it has more to do with the app and sometimes the OS in question. Oracle on Solaris benefits decidedly from raw when there is a heavy I/O load on the LVM's for a large db.

It can introduce issues for things like restores. There is also the O_DIRECT flag in Linux, which bypasses the filesystem and does what raw does elsewhere. Assuming your apps can make use of it.

Here is a discussion:
Using Raw Device Partitions
This User Gave Thanks to jim mcnamara For This Post:
# 3  
Old 08-31-2012
Thanks Jim,

Is there an advantage of having the disk partitioned instead of having a raw disk or would there be any reason partition your disk if you are using the entire disk to add to LVM?

If you get better performance with raw disk and no benefit of partitioning the disk it seems like more work for a worse solution to bother partitioning them (i know not much work but there are quite a few disks per server).
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Persistent ownership of raw disk during reboots

Hi, I'm in process of creating oracle RAC using Solaris 10 in VirtualBox. I want to know how can I change the ownership of device e.g /dev/rdsk/c0t3d0s0 and keep it persistent during rebbots. When I enter chown grid:install /dev/rdsk/c0t3d0s0 ls -l still shows root:root. Thanks ... (2 Replies)
Discussion started by: jia786
2 Replies

2. Solaris

Convert from raw disk to solaris volume manager disk

I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below: root@moneta # df -h Filesystem size used avail capacity Mounted on /dev/md/dsk/d0 9.8G 513M 9.3G 6% /... (4 Replies)
Discussion started by: fretagi
4 Replies

3. Solaris

Convert from raw disk to solaris volume manager disk

I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below: root@moneta # df -h Filesystem size used avail capacity Mounted on /dev/md/dsk/d0 9.8G 513M 9.3G 6% / ... (0 Replies)
Discussion started by: fretagi
0 Replies

4. Solaris

sparc, raw splice on end of disk

I noticed we have a small splice on end of disk that is not mounted. What could that be and how do we move it few sectors? Thanks. (7 Replies)
Discussion started by: orange47
7 Replies

5. Solaris

Command to format Oracle ASM raw disk

Hi, Can any one please provide the command to format an Oracle Raw Disk in Solaris 10. I have been used the following commands: dd if=/dev/zero of=<raw disk path> Thanks ---------- Post updated at 12:20 PM ---------- Previous update was at 10:11 AM ---------- Well this didn't give... (0 Replies)
Discussion started by: Mack1982
0 Replies

6. Solaris

Mounting a Raw Disk

I am using Solaris 10. I have a raw device attached to my system which is /dev/md/rdsk/d91 I want to mount this as a disk with file system on a mount point /u05. Actually this raw device was earlier part of Oracle ASM. Now I have removed this disk from ASM, and want to use it as normal... (3 Replies)
Discussion started by: fahdmirza
3 Replies

7. Solaris

How to create new partitions in solaris,from the raw disk?

Hi all, I would like to know how to make new partitions.... I currently have allocated 60G for various slices (I have totally used 4 out of 7 available slices... I am running only solaris on my box. My plan is to have entire disk dedicated to solaris and run other OS from within... (19 Replies)
Discussion started by: wrapster
19 Replies

8. Solaris

Reading raw disk on Solaris

Hello I wonder if someone could help me in reading a raw (non-Solaris) disk on a Solaris system... I have an IDE HDD in my Sun Blade and would like to read it (using C). It appears on the system and with the format command shows up as c0t1d0. I use the dd command to read the disk as such:... (19 Replies)
Discussion started by: son_t
19 Replies

9. UNIX for Dummies Questions & Answers

raw disk

What do u mean by raw and cooked disk? What are the advantages of having raw disk? Thanks n regards, (1 Reply)
Discussion started by: kingsto88
1 Replies

10. UNIX for Advanced & Expert Users

copying oracle tables from raw disk

I have been tasked with archiving Oracle tables. The data is on raw devices, and possibly will span multiple logical volumes. Has anyone ever had to do this? How did you accomplish it? Any references to accomplish this would be greatly appreciated. Thanks, (2 Replies)
Discussion started by: isenhart
2 Replies
Login or Register to Ask a Question