![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LVM - Extending Logical Volume within Volume Group | ghimanshu | UNIX for Advanced & Expert Users | 3 | 07-26-2007 04:39 AM |
| Extend one Logical Volume | scampi | AIX | 1 | 02-07-2007 09:39 AM |
| logical volume | hoeyman | Chat with iBot - Our RSS Robot Girl | 1 | 12-29-2006 10:22 AM |
| HP-UX logical volume structure | gorayen | HP-UX | 2 | 11-10-2005 10:14 PM |
| Moving a Logical Volume from one Volume Group to Another | krisw | AIX | 1 | 11-04-2005 05:18 PM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Logical volume to raw device
Hy
I have several logical volumes that are turned into raw devices used by Informix DB. I would like to add some more. In /dev directory i see logical volumes as block files: lv_name1, lv_name2 ... and i see raw devices defined as character files: rlv_name1, rlv_name2 ... As i see, these LVs were turned into raw devices, somehow. I found out the way to create new logical volumes using smit. My question is, how to turn these logical volumes into raw devices? Thanks! |
| Forum Sponsor | ||
|
|
|
|||
|
Every LV is raw as long as you do not define any FS on it. The rest is just names...
|
|
|||
|
every logical volume that contains no filesystem is per definition a raw device ...
change the permission of the device to the database ownership (like on the already existent RAW devices) and initialise them from within the database ... thats it Rgds zx |
|
|||
|
Quote:
Ok, great! One more question. When i create logical volume, it is by default created as block device. But i see that all my raw devices assigned to the database are character-special devices. Example, in my /dev directory i have following: brw-rw---- 1 root system 10, 12 Dec 09 2005 lvinformix0 crw-rw---- 1 informix informix 10, 12 Mar 16 06:30 rlvinformix0 From a given example, only the rlvinformix0 device is assigned to the database. So, how do i make this new LV to be a character device? |
|
|||
|
every logical volume you are creating is appearing in /dev as a block- and a characterdevice
brw-rw---- 1 root system 10, 12 Dec 09 2005 lvinformix0 crw-rw---- 1 informix informix 10, 12 Mar 16 06:30 rlvinformix0 so assuming you have now created lvinformix1 you should see brw-rw---- 1 root system 10, 12 May 09 06:40 lvinformix1 crw-rw---- 1 root system 10, 12 May 09 06:40 rlvinformix1 and all you need to do is chown informix:informix /dev/rlvinformix1 afterwards informix should be able to initialize this filesystem ... Rgds zx |
|||
| Google UNIX.COM |