Block devices by default while creating lv

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Block devices by default while creating lv
# 1  
Old 09-24-2014
Block devices by default while creating lv

Hello,

While creating lv in redhat linux is it that by default block devices would be created which is not the case with AIX I think where raw devices are created by default while creating lv.


I understand from block device that any storage disk is a block device and raw device is that which from a node does direct IO to a block device.I mean that suppose a disk is accessible to oracle and if on a node level that lv is a raw device then Oracle software doesn't use the os filesystem rather it directly does IO on disk however had the lv been a block device then Oracle S/w would have done IO through os filesystem and os cache.Please confirm if my understanding stands correct on this.


Best regards,
Vishal
# 2  
Old 09-24-2014
Hi,

Block and Raw devices are effectively the same thing and both will be created when a logical volume is created.

The difference is in how they are used, some applications can use both and the clue is usually in the application descriptors as an example "log" and "rawlog", and you are correct for the most part in your assumption about the OS intervention.

In order to clarify this properly I suspect you'll have to study the Oracle or appropriate application documentation - or the appropriate IBM or Linux documentation.

Regards

Dave
This User Gave Thanks to gull04 For This Post:
# 3  
Old 11-24-2014
If there are few raw and few block devices in the os then how raw and block devices would be different from an os perspective?


Best regards,
Vishal
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

Creating a .profile, displaying system variables, and creating an alias

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Here is what I am supposed to do, word for word from my assignment page: 1. Create/modify and print a... (2 Replies)
Discussion started by: Jagst3r21
2 Replies

2. Linux

Default user:group permissions while creating files and directories

Hi, I am working on setup a environment where only a specific user can upload the builds on htdocs of apache. Now i want that a specific user can copy the builds on htdocs folder. I created a group "deploy" and assign user1 and user2 to this group. On Apache side i mentioned User=deploy... (3 Replies)
Discussion started by: sunnysthakur
3 Replies

3. UNIX for Advanced & Expert Users

problem creating pxelinux.cfg default file

Hi All, I was trying to create pxelinux.cfg/default file in a script that I use for creating backup of bootimage. cat 2>${BACKUB_BOOTIMAGE_ERRINFO} >${pxelinux_cfg_file} <<EOF prompt 1 timeout 0 display boot.msg label restore kernel kernel append root=/dev/nfs... (0 Replies)
Discussion started by: Pkumar Sachin
0 Replies

4. Programming

Raw devices in C

Hi guys. what is the benefits of using raw devices in programming? which applications mostly use raw devices? how can i use raw devices in C programs? is there any system calls or library functions? (1 Reply)
Discussion started by: majid.merkava
1 Replies

5. Shell Programming and Scripting

help needed with creating challenging bash script with creating directories

Hi, Can someone help me with creating a bash shell script. I need to create a script that gets a positive number n as an argument. The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
Discussion started by: I-1
7 Replies

6. UNIX for Dummies Questions & Answers

/dev X /devices

Hi folks, I am trying to learn Unix based in Linux... In Linux, in /Dev are files related to cards, mouse, etc.. how about Unix? What is the difference between /Dev and /Devices? Thanks, Fernanda (0 Replies)
Discussion started by: ffpradella
0 Replies

7. UNIX for Dummies Questions & Answers

passthrough devices vs. named devices

I am having trouble understanding the difference between a passthrough device and a named device and when you would use one or the other to access equipment. As an example, we have a tape library and giving the command "camcontrol devlist" gives the following output: akx# camcontrol... (1 Reply)
Discussion started by: thumper
1 Replies

8. Linux

Creating MD-raid devices - post install

Hi everyone. I have a machine which upon to recently only had one hard disk. Now I have another one identical in size and speed and want create a raid set from those two. The partition layout is that I have three partitions, first one for /boot, the second for / and then a huge LVM partition... (1 Reply)
Discussion started by: Sprellarinn
1 Replies

9. Solaris

Meta Devices

I have added a sun storage array from a faiulty server onto a new server and copied the md.conf files etc. I can now access the /dev/md/dsk file systems, but I want to delete some metadevices that do not exist (it still thinks the 0 and 1 (root /var /export) disk are mirrored. How do I do this? (8 Replies)
Discussion started by: ozzmosiz
8 Replies

10. HP-UX

HP-UX 10.20 devices

Is it possible to create the CDROM device file for a drive attached to the parallel port? I have a removable CDROM drive (gift - I'm trying not to return it, but may have to anyways) that attaches via parallel port. The only device that I can attach to that hardware address is /dev/c1t0d0_lp, a... (9 Replies)
Discussion started by: LivinFree
9 Replies
Login or Register to Ask a Question