1833431 Members
2992 Online
110052 Solutions
New Discussion

Re: Create raw lv

 
Pettersson Andreas
Occasional Contributor

Create raw lv

Hi,

I have a Oracle server that uses LVM and raw devices. I have presented the server with a new disk and want to bring it into LVM, extend a vg, create a lv and let Oracle use it as a raw device.

Is this all I need to do?
# pvcreate /dev/rdsk/cXtYdZ
# vgextend /dev/vgXX /dev/dsk/cXtYdZ
# lvcreate -L -n /dev/vgXX
# chown : /dev/vgXX/r
# ln -s /dev/vgXX/r /.raw
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: Create raw lv

Looks good to me - that should do it.


Pete

Pete
Luk Vandenbussche
Honored Contributor

Re: Create raw lv

Andreas,

With this procedure it will work fine
freddy_21
Respected Contributor

Re: Create raw lv

yes correct. But you must check your permission and owner between your link files with your raw device.


Pettersson Andreas
Occasional Contributor

Re: Create raw lv

Like you said, it worked just fine. Thanks a lot!