1833178 Members
2587 Online
110051 Solutions
New Discussion

Re: Slicing up disk

 
SOLVED
Go to solution
MikeL_4
Super Advisor

Slicing up disk

We have a client that is running HPUX 11i Ver 2. They have several SAN attached 73Gb disk that are used by Oracle RAC. They want to slice the 73Gb disk up into smaller disk so the smaller units can be used as raw space in Oracle.

Is there a way to slice up a disk into smaller units ?
6 REPLIES 6
Torsten.
Acclaimed Contributor

Re: Slicing up disk

Yes, but why not using LVOLs as raw space?

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!   
Steven E. Protter
Exalted Contributor
Solution

Re: Slicing up disk

Shalom,

yes, levcreate

lvcreate -L 100 -n oradata vgora /dev/dsk/c1t10d0

create a 100 MB partition named oradata in volume group vgora on disk /dev/dsk/c1t10d0

That carves it up quite nicely.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
MikeL_4
Super Advisor

Re: Slicing up disk

That's what I suggested to the client, but they are asking for a way to physically slice up a disk for there use... I think they are coming from a Solaris environment to HP..
A. Clay Stephenson
Acclaimed Contributor

Re: Slicing up disk

Sure, that is classic LVM. Rather than using /dev/rdsk/cXtYdZ as an Oracle device, use the same disk to create an LVM volume group and then create Logical Volumes such as /dev/vg05/rlvol1, /dev/vg05/rlvol2, ... which then become your Oracle raw devices.



If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: Slicing up disk

The last version of HP-UX that could create disk slices was HP-UX 9.x; later version can use the partitioned disk but not create them. Of course, disk slices have come back with IPF but the far better way to do what you are trying to do under HP-UX is LVM. If they are concerned about LVM overhead, it is all but zero. There is one extra level of kernel device switch overhead that basically reads a table to find that logical block 6512 of /dev/vg05/rlvol3 actually resides on block 512234 of /dev/dsk/c32t4d5. This indirection is all but impossible to measure and allows much more flexibility than hard disk slices.
If it ain't broke, I can fix that.
MikeL_4
Super Advisor

Re: Slicing up disk

Thanks