- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pvcreate: writing LVM record: Permission denied
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2010 11:34 AM
03-10-2010 11:34 AM
pvcreate: writing LVM record: Permission denied
pvcreate -f /dev/rdsk/c24t9d0
pvcreate: writing LVM record: Permission denied
Also Tried to read the device and it seems to work fine.
dd if=/dev/rdsk/c24t9d0 of=/dev/null bs=64k count=160
45+0 records in
45+0 records out
Please provide any thoughts to resolve this issue. Thanks.
- Tags:
- Permission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2010 11:43 AM
03-10-2010 11:43 AM
Re: pvcreate: writing LVM record: Permission denied
What if you do something like:
dd if=/dev/random of=/dev/rdsk/c24t9d0 count=100
Does it work or does it error?
The error message given by pvcreate seems to indicate you somehow don't have write permission to the device. Has it been set up correctly on the EMC side?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2010 11:50 AM
03-10-2010 11:50 AM
Re: pvcreate: writing LVM record: Permission denied
root> dd if=/dev/zero of=/dev/rdsk/c24t9d0 bs=64k count=160
I/O error
1+0 records in
0+1 records out
root> dd if=/dev/zero of=/dev/rdsk/c24t9d0 count=100
I/O error
1+0 records in
0+1 records out
It looks that dd is not able to write on the device. Checked on EMC device configuration and it looks fine to me. Opened case with EMC support as well
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2010 11:52 AM
03-10-2010 11:52 AM
Re: pvcreate: writing LVM record: Permission denied
check this thread :
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=900877
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2010 12:21 PM
03-10-2010 12:21 PM
Re: pvcreate: writing LVM record: Permission denied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2010 12:32 PM
03-10-2010 12:32 PM
Re: pvcreate: writing LVM record: Permission denied
ok its EMC storage but what type / model ??
symmetrix / clariion
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2010 12:34 PM
03-10-2010 12:34 PM
Re: pvcreate: writing LVM record: Permission denied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2010 12:57 PM
03-10-2010 12:57 PM
Re: pvcreate: writing LVM record: Permission denied
if you are EMC customer, you should have an account on powerlink.emc.com.
if i have some troubles, i always check the storage for some problems.
how did you assigned the lun to yor server ??
symcfg discover
symmaskdb -sid serial list database -dir 8d -p 0
symmask -sid serial add devs 01E4,01F8 -wwn WWN_of_server_HBA -dir 8d -p 0 -noprompt
symmaskdb -sid serial list database -dir 8d -p 0
symmask -sid serial refresh
i always do it this way without any problem.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2010 01:06 PM
03-10-2010 01:06 PM
Re: pvcreate: writing LVM record: Permission denied
i forgot to say :
symdev -sid serial rw_enable ($DEVICE)
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2010 04:16 AM
03-16-2010 04:16 AM
Re: pvcreate: writing LVM record: Permission denied
symdev -sid show
Verify "device status":
Device Status : Ready (RW)
Device SA Status : Ready (RW)
symdev -sid xxx rw_enable
Rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2010 08:56 AM
03-16-2010 08:56 AM
Re: pvcreate: writing LVM record: Permission denied
Let's say the lun is mapped to xyz where z is anything from 8-F, HPUX won't be able to understand it.
so the issue was, device was mapped to 088 lun of the FA port. the 8 at the unit's place was not being identified by HPUX so I had to re-map it to 090 (next available lun after 088) which could then be accepted.
I had to remap and re-mask the lun again with the new configuration.
To check more detail read "EMC Host Connectivity Guide for HP-UX" at page 82.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2012 03:34 AM
01-03-2012 03:34 AM
Re: pvcreate: writing LVM record: Permission denied
You'd get this error if you have SCSI3 PGR keys registered on the luns. In that case remove the pgr keys and retry the writes