- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to add a drive to an existing volume-group
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
тАО01-13-2004 11:19 PM
тАО01-13-2004 11:19 PM
Re: How to add a drive to an existing volume-group
# pvcreate -f /dev/rdsk/c#t#d#
# vgextend /dev/vg00 /dev/dsk/c#t#d#
then check the confdiguration updated or not
# strings /etc/lvmtab
# vgdisplay -v /dev/vg00
Thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2004 11:42 PM
тАО01-13-2004 11:42 PM
Re: How to add a drive to an existing volume-group
correct, that data is lost. Unless you have access to wizzy data saving stuff like the CIA. But what SAM probably did was a VGREDUCE that removes the VGDA info from the disk. That also means that an "LVREDUCE" or "LVREMOVE" would have been done before this, and the pointers to the LVOL starting track would have been removed as well.
HOWEVER: if you have a backup of /etc/lvmconf, you could restore an old version of the LVMCONF for that volume-group, and then do a "VGCFGRESTORE -n VGNAME -l " to list the disks that were present. If that disk is recorded, then do a "VGCFGRESTORE -n VGNAME -f restored_conf_file".
Then you need to do a VGSCAN to rebuild the LVMTAB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2004 11:20 PM
тАО01-22-2004 11:20 PM
Re: How to add a drive to an existing volume-group
But now I have another:
This system had two vgs, VG00 and vg01. Both had four lvols, vgdisplay -v showed four lvols and all were active.
I used SAM to enable one more drive to be used by a database application ( AMASS). I saw one unused drive, added it to vg01. No error messages. I configured the database software, rebooted the server. The server now tells me, the kernel says vg00 has four drives configured but only three were available. I cannot change this, vgrestore does not work.
What to do now ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2004 11:25 PM
тАО01-22-2004 11:25 PM
Re: How to add a drive to an existing volume-group
Do a "dmesg" and check for any error messages.
Do a "vgdisplay -v /dev/vg00" and check firstly for any error messages, and secondly check the status of the drives at the end of the vgdisplay info. The drives should usually be in an "available" state (PV Status).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2004 11:38 PM
тАО01-22-2004 11:38 PM
Re: How to add a drive to an existing volume-group
interesting bit:
error lvm: failed in attaching PV ( 8/4.15.0) to the root volume group. Cross device link to the disk is not lvm disk logical volume 64. 0x2 configured as swap
warning volume for dump expected but not found ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2004 11:39 PM
тАО01-22-2004 11:39 PM
Re: How to add a drive to an existing volume-group
interesting bit:
error lvm: failed in attaching PV ( 8/4.15.0) to the root volume group. Cross device link to the disk is not lvm disk logical volume 64. 0x2 configured as swap
warning volume for dump expected but not found ...
This 8/4.15.0 ( /dev/rdsk/c0t14d0) was used for the database
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2004 12:17 AM
тАО01-23-2004 12:17 AM
Re: How to add a drive to an existing volume-group
You say you added this disk using SAM?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2004 05:04 AM
тАО01-23-2004 05:04 AM
Re: How to add a drive to an existing volume-group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2004 05:03 PM
тАО01-24-2004 05:03 PM
Re: How to add a drive to an existing volume-group
You can check this out.
rgrds,
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2004 08:11 PM
тАО01-25-2004 08:11 PM
Re: How to add a drive to an existing volume-group
I'm not sure I understand: "The drive was displayed as "unused" in SAM, but as far as I can see this is not unusal for Swap drives"?
As far as I know, there is no way on any version of HP-UX after 9.x to add a disk as swap if it is not part of a VG?
- « Previous
-
- 1
- 2
- Next »