1829734 Members
2554 Online
109992 Solutions
New Discussion

writing LVM record

 
Sachin Kumbla
Frequent Advisor

writing LVM record

Getting error while doing pvcreate:

pvcreate: writing LVM record: Permission denied

kindly help us asap.
6 REPLIES 6
Kapil Jha
Honored Contributor

Re: writing LVM record

are you root and what are the permission for /dev/dsk/cdt and /dev/rdsk/cdt device files.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
merieux
Frequent Advisor

Re: writing LVM record

Hi ,

What is the HP-UX realease ?
What is exacltlyt your command ?
When you try to do a pvdisplay on the device , what message do you have ? on the persistant device and on the legacy device ( if your os release is 11.32 )

Regards ,


Sachin Kumbla
Frequent Advisor

Re: writing LVM record

Hi

I am issuing the command on persistent device
HP-UX 11.31

sudo pvcreate /dev/rdisk/cxtxtdx
merieux
Frequent Advisor

Re: writing LVM record

The persistant device have the following form :
/dev/disk/diskn

the disk /dev/disk/cxtxdx does not exist .
Kapil Jha
Honored Contributor

Re: writing LVM record

u r using sudo and it would not be having proper permission.
log in as root and do it...
sudo is the cause here.......

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Sachin Kumbla
Frequent Advisor

Re: writing LVM record

Hi all

Thanks for your response


There were some mistake made at the storage level while assigning the luns.

Rgds.,
Sachin Kumbla.