- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Issue with LVM Disk and Help in Creating Disk
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
Discussions
Discussions
Forums
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
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
тАО07-31-2008 09:45 AM
тАО07-31-2008 09:45 AM
Re: Issue with LVM Disk and Help in Creating Disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2008 09:52 AM
тАО07-31-2008 09:52 AM
Re: Issue with LVM Disk and Help in Creating Disk
0/3/0/0.6.0
c7t6d0
When go to create the volume group, i would do the following:
#vgcreate /dev/vgtest /dev/dsk/c7t6d0
After doing that, I can use the 72 gig (c7t6d0) to mirror the 4 drive (c1t0d0, c1t2d0, c2t0d0, c2t2d0)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2008 10:45 AM
тАО07-31-2008 10:45 AM
Re: Issue with LVM Disk and Help in Creating Disk
#vgcreate -s 4 -e 20000 /dev/vgtest ...
you can create the VG now and add the larger disk later.
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2008 02:12 PM
тАО07-31-2008 02:12 PM
Re: Issue with LVM Disk and Help in Creating Disk
# pvcreate /dev/rdsk/c7t2d0
pvcreate: the physical volume already belongs to a volume group
I looked at the volume group and do not see anything using the PV c7t2d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2008 11:08 PM
тАО07-31-2008 11:08 PM
Re: Issue with LVM Disk and Help in Creating Disk
Noting that you may already have solved your issues.
Please read http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
As this will explain what should be done when good disks go bad. It has a step by step instruction.
What looks like happened is that you didn't restore the LVM configuration to the replacement disk. This causes LVM to get out of sync with the /etc/lvmtab and reality.
In short, you can recreate the lvmtab by using vgscan, make sure you have a backup of /etc/lvmtab. (High risk but great rewards). This may be the only way out as you have done many things to fix the issue.
or replace the original dead HDD and remove it from the VG
or restore the LVM config to the new HDD.
Please read the docco even if you have resolved the issue as it will make it a lot easier if it happens again and outlines the best practice disk replacement stratagies.
Trevor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 12:40 AM
тАО08-01-2008 12:40 AM
Re: Issue with LVM Disk and Help in Creating Disk
You need to do "pvcreate -f ..." now, but be careful!
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!
- « Previous
- Next »