- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pvcreate and mediainit failures
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
08-28-2002 04:02 PM
08-28-2002 04:02 PM
My problem is that when I try the following I get the error stated below...
# pvcreate -f /dev/rdsk/c2t8d0
pvcreate: Could not perform LVM operation on VxVM disk "/dev/rdsk/c2t8d0".
Suggestions were made to perform a mediainit on the device because it had VxVM volumes on it.
So I performed the following and got the following error...
# mediainit /dev/rdsk/c2t8d0
scsi_mi: Unable to set EXCLUSIVE mode: Device busy
So does anybody have any ideas as to how I am supposed to use these disks?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 04:20 PM
08-28-2002 04:20 PM
Re: pvcreate and mediainit failures
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x24b53a7b3682d611abdb0090277a778c,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 04:57 PM
08-28-2002 04:57 PM
SolutionMichael has pointed you to the use of /dev/zero to wipe the VxVM private region information from the disk. Try this and then do a 'pvcreate -f':
# dd if=/dev/zero of=/dev/rdsk/cXtYdZ bs=64k count=10
With regard to 'mediainit', see this discussion:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xcd1e36e69499d611abdb0090277a778c,00.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 05:25 PM
08-28-2002 05:25 PM
Re: pvcreate and mediainit failures
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 05:32 PM
08-28-2002 05:32 PM
Re: pvcreate and mediainit failures
If not, there is a much more basic problem going on.
Then half-split the disks by putting in about half and then run ioscan -fCdisk. Fo this a coupole of times to give ioscan a chance to update the kernel. Once the disks show up in ioscan, run diskinfo on each disk.
pvcreate requires a functional disk along with mediainit. ioscan and diskinfo are very simple SCSI commands that should isolate the problem.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 05:36 PM
08-28-2002 05:36 PM
Re: pvcreate and mediainit failures
I did the following:
mknod /dev/zero c 3 0x000004 (as I am on 11.0)
chown bin:bin /dev/zero
chmod 666 /dev/zero
dd if=/dev/zero of=/dev/rdsk/c2t8d0 bs=64k count=10
pvcreate -f /dev/rdsk/c2t8d0
All completed within the space of how fast you can type as the dd came back straight away.
I am really glad I did not need to use mediainit!!!!!
Thanks again :-)