- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgname deletion
Operating System - HP-UX
1753861
Members
7411
Online
108809
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-25-2006 04:51 PM
тАО08-25-2006 04:51 PM
hi,
i created a vg named vg01 three month back, now i would like increase the size of hard disk like i going to chage another hard disk, so to do this, i changed the vg status to disable and pulgout the hard disk and fix the another hard disk, but now i couldn't able to create vg as vg01 name, and one more thing i haven't remove the particular vg which was previuosly.
now i couldn't able to remove particular vg even after issued vgscan, simply to say i couldn't able to remove the entry in /etc/lvtab
it is giving error is particluar disk not found message.
simple proble i have to remove entry from /etc/lvmtab because of when try to create vg named vg01 it is saying it's alsready exist
so how to remove the entry or any another way?
thanks
siva
i created a vg named vg01 three month back, now i would like increase the size of hard disk like i going to chage another hard disk, so to do this, i changed the vg status to disable and pulgout the hard disk and fix the another hard disk, but now i couldn't able to create vg as vg01 name, and one more thing i haven't remove the particular vg which was previuosly.
now i couldn't able to remove particular vg even after issued vgscan, simply to say i couldn't able to remove the entry in /etc/lvtab
it is giving error is particluar disk not found message.
simple proble i have to remove entry from /etc/lvmtab because of when try to create vg named vg01 it is saying it's alsready exist
so how to remove the entry or any another way?
thanks
siva
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2006 05:15 PM
тАО08-25-2006 05:15 PM
Solution
Let's do one thing at a time. If you want to create vg01 with new disk (I hope you have taken required backups), just do vgchange -a n vg01 and then vgexport -v vg01.
Then create VG again.
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
(minor number should be uniq and not used anywhere on system)
pvcreate /dev/rdsk/cxtxdx -> new disk
vgcreate /dev/vg01 /dev/dsk/cxtxdx
vgchange -a y vg01
Then rest of the things-lvcreate and mounts as you like.
Then create VG again.
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
(minor number should be uniq and not used anywhere on system)
pvcreate /dev/rdsk/cxtxdx -> new disk
vgcreate /dev/vg01 /dev/dsk/cxtxdx
vgchange -a y vg01
Then rest of the things-lvcreate and mounts as you like.
There is no substitute to HARDWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2006 11:28 PM
тАО08-25-2006 11:28 PM
Re: vgname deletion
HI siva,
T remove entry from /etc/lvmtab,you have to do vgexport.
Umount all file systems in the specific VG.
vgchange -a n /dev/vgXX
vgexport /dev/vgXX
Check /etc/lvmtab
Crate vg with new disk as mentioned by RAC.
sajeer
T remove entry from /etc/lvmtab,you have to do vgexport.
Umount all file systems in the specific VG.
vgchange -a n /dev/vgXX
vgexport /dev/vgXX
Check /etc/lvmtab
Crate vg with new disk as mentioned by RAC.
sajeer
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP