1850304 Members
2738 Online
104053 Solutions
New Discussion

cylinder 0 & raw device

 
ggawali
New Member

cylinder 0 & raw device

Hello ,

In our company manual mentions that a raw device which is used as a database volume,
may not be located on cylinder 0 or 1.
I also remember a case where we had severe problems because a customer used a
raw device which contained cylinder 0.

One can use fdisk e.g. Sun Solaris or Linux to pick the cylinders for a raw
device.

I have never done this on HP and hence I have no experience on HP, but the
customer tells me that fdisk is not available on HP and hence they use
pvcreate, vgcreate, lvcreate to create a raw device. In particular, the only
options on lvcreate are these:

/usr/sbin/lvcreate [-A autobackup] [-c mirror_consistency][-C contiguous] [-d schedule] [-D distributed][-i stripes -I stripe_size] [-l le_number | -L lv_size]
[-m mirror_copies] [-M mirror_write_cache] [-n lv_name][-p permission] [-r relocate] [-s strict] vg_name

As you can see lvcreate does not even contain the options to pick/avoid a specific cylinder.

Question: Does the usage of lvcreate on HP then imply that cylinder 0 cannot be contain in a raw device ?

Thanks
Girish
1 REPLY 1
Torsten.
Acclaimed Contributor

Re: cylinder 0 & raw device

IMHO the old discussion about spindles and cylinders ... is based on use of real and plain disks - long time ago.

Since you are using hardware raid arrays today, you need no longer worry about this.

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!