Create Raw Device

 
teowsing
Occasional Contributor

Create Raw Device

How I create raw device in HPUX?
Can Anyone give me step by step for creating raw device?

Thanks
9 REPLIES 9
Torsten.
Acclaimed Contributor

Re: Create Raw Device

You placed this thread in LVM and VxVM - that's good.

Just create a new LVOL without a filesystem - that's it.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Pete Randall
Outstanding Contributor

Re: Create Raw Device

man lvcreate


Pete

Pete
Prashanth Waugh
Esteemed Contributor

Re: Create Raw Device

Hi,

Use the lvcreate command.
Suppose i have to craete raw device lvol2 then

#lvcreate -L
Regards
Prashant
For success, attitude is equally as important as ability
G.Sivakumar
Occasional Advisor

Re: Create Raw Device

Hi,

To create a Logical volume RAW device file.

Use the below lvcreate command Format.

#lvcreate -L
teowsing
Occasional Contributor

Re: Create Raw Device

Hi,
Thanks for the answer.
How I create slice in the raw partition?
Ex : I need 2 slices of 4 GB each. How I do this?

Thanks
Regards,
Yuni
Torsten.
Acclaimed Contributor

Re: Create Raw Device

IMHO you should create 2 LVOLs, 4GB each.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jeeshan
Honored Contributor

Re: Create Raw Device

raw device is nothing but a LVOL without file system.

you can create LVOL with size and slice it is you have available space in that VG.
a warrior never quits
Deepak Kr
Respected Contributor

Re: Create Raw Device

Instead of saying slicing...you say i need two small logical volumes here..

Sure, you can create two LVs here.

RAW means no file system structure creation on LV.

so as long as you dont run newfs for creating File system on newly created LVs all will remain raw devices....

I hope this will clear query here...:-)
"There is always some scope for improvement"
teowsing
Occasional Contributor

Re: Create Raw Device

Thanks.