- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pvcreate error !!!
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
10-24-2002 05:08 AM
10-24-2002 05:08 AM
pvcreate error !!!
I have a disk that is ~ 2GB (that contain some data that not needed anymore)so I want to create a Volume Group, but when do pvcreate I get this error :
#pvcreate /dev/rdsk/c1t1d0
pvcreate: The physical volume already belongs
#pvcreate -f /dev/rdsk/c1t1d0
pvcreate: writing LVM record: I/O error
Is this probably because some bad sectors in the disk ??
this is the output of diskinfo
SCSI describe of /dev/rdsk/c1t1d0:
vendor: HP
product id: C3010M1
type: direct access
size: 1956086 Kbytes
bytes per sector: 512
rev level: 0B04
blocks per disk: 3912172
ISO version: 0
ECMA version: 0
ANSI version: 2
removable media: no
response format: 2
Need some help here
Thanks & Regards
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 05:11 AM
10-24-2002 05:11 AM
Re: pvcreate error !!!
dd if=/dev/dsk/c1t1d0 of=/dev/null bs=32k
If you get any read errors, the disk is most likely bad.
You could also use the exercise function in stm as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 05:14 AM
10-24-2002 05:14 AM
Re: pvcreate error !!!
Most likely the disk is defect !
for the rule above
dd if=/dev/dsk/c1t1d0 of=/dev/null bs=32k
replace dsk by rdsk !
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 05:15 AM
10-24-2002 05:15 AM
Re: pvcreate error !!!
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 05:17 AM
10-24-2002 05:17 AM
Re: pvcreate error !!!
Are you sure that this PV doesn't belongs to an active VG ? Do a :
strings /etc/lvmtab | grep c1t1d0
Check also if it's not an alternate link of a currently active PV.
Regards,
Jean-Louis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 05:23 AM
10-24-2002 05:23 AM
Re: pvcreate error !!!
strings /etc/lvmtab |grep c1t1d0
to find which volume group the disk belongs.
Then check your
vgdisplay -v /dev/vgnn
to check whether the disk is displayed there.
If the disk is part of the volume group then you should remove it from the volume group and then do a pvcreate.
Make sure that there are no used volumes there
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 05:29 AM
10-24-2002 05:29 AM
Re: pvcreate error !!!
Right now I'm doing the
dd if=/dev/rdsk/c1t1d0 of=/dev/null bs=32k
but its taking long time and dtill waiting for the output.
Hi Rita,
I just installed 11.11 on my server this hard disk is unused.
Hi Jean-Louis,
I have checked the lvmtab and it doesn't specify anything regarding this disk.
Need more info
TIA
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 05:32 AM
10-24-2002 05:32 AM
Re: pvcreate error !!!
this is the output of the
# dd if=/dev/rdsk/c1t1d0 of=/dev/null bs=32k
61127+1 records in
61127+1 records out
What does this mean ???
Need more info
Thanks & Regards
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 05:33 AM
10-24-2002 05:33 AM
Re: pvcreate error !!!
Usually pvcreate -f should do it, if you have an IO error, either the harddisk didn't spin up, or you have a faulty harddisk.
HTH,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 05:39 AM
10-24-2002 05:39 AM
Re: pvcreate error !!!
If you're sure that your disk is free, you should also try a dd to write on the disk. Try to duplicate an existing disk to confirm a hardware problem.
Regards,
Jean-Louis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 05:43 AM
10-24-2002 05:43 AM
Re: pvcreate error !!!
For your information :
"61127+1 records in" means that you have read 61127 block of 32k (1956064) + 1 partial block (22k remaining)
"61127+1 records out" same info for write on /dev/null
Regards,
Jean-Louis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 05:57 AM
10-24-2002 05:57 AM
Re: pvcreate error !!!
What does pvdisplay /dev/dsk/c1t1d0 return?
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 05:59 AM
10-24-2002 05:59 AM
Re: pvcreate error !!!
This is the pvdisplay
# pvdisplay /dev/dsk/c1t1d0
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/c1t1d0" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/c1t1d0".
Thanks & Regards
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 06:07 AM
10-24-2002 06:07 AM
Re: pvcreate error !!!
This is the output of the
# dd if=/dev/rdsk/c1t5d0 of=/dev/rdsk/c1t1d0
I/O error
1+0 records in
0+1 records out
I think the I had to get new disk.
Thanks & Regards
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 06:52 AM
10-24-2002 06:52 AM
Re: pvcreate error !!!
You last message indicates it is really a bad drive, time to replace it with maybe a higher capacity one as disk have become so cheap nowadays.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 07:45 PM
10-24-2002 07:45 PM
Re: pvcreate error !!!
Thank you very much for your immediate response to my problem.
Thanks & Regards
Sri