- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvm taking control of disk that veritas should...
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
01-24-2005 05:26 AM
01-24-2005 05:26 AM
lvm taking control of disk that veritas should control
Often when I add disks to the system LVM will take over control. I need help with advise in how to make sure this does not keep happening and how to get the disk under veritas control.
If you run a vxdisk list it will show the device and that LVM controls it. I have issued no LVM commands for this disk. I did run an ioscan -fnCdisk, I also ran an insf -e.
Any suggestions or help would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 05:35 AM
01-24-2005 05:35 AM
Re: lvm taking control of disk that veritas should control
When you add a disk to your system it is picked up by ioscan. Then it requires a manual or scripted process to vgextend a volume group to include that disk.
Now, if you add a disk to a system and its already associated with a volume group, then that explains the behavior.
strings /etc/lvmtab
If the disk is associated with a volume group it will be listed there.
Its possible you have a script doing this run by cron. Thats a custom job and you need to look for scripts with the lvextend command.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 05:52 AM
01-24-2005 05:52 AM
Re: lvm taking control of disk that veritas should control
It is possible but unlikely that the disk that were added used to be on a server that used lvm.
There is nothing in /etc/lvmtab.
I have no cronjobs on this server.
I did run vxdctl after I ran insf -e and that is when vxdisk list would show the disk under lvm. vxdg command also errors out saying disk is already in use with LVM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 06:07 AM
01-24-2005 06:07 AM
Re: lvm taking control of disk that veritas should control
VERY CAREFULLY TO MAKE SURE YOU ARE DOING THIS TO THE CORRECT DISK, YOU CAN DO :
dd if=/etc/passwd of=/dev/rdsk/cXtYdZ
(note, you can use any file. I just tend to use /etc/passwd for stuff like this because its "big enough" to make a difference but not super huge).
AGAIN, BE CAREFUL THAT YOU'RE TALKING ABOUT THE CORRECT DISK BEFORE YOU OVERWRITE IT.
Best regards,
Oz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 06:25 AM
01-24-2005 06:25 AM
Re: lvm taking control of disk that veritas should control
You could try pvcreate -f, then use vxdiskadd...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 06:26 AM
01-24-2005 06:26 AM
Re: lvm taking control of disk that veritas should control
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 06:34 AM
01-24-2005 06:34 AM
Re: lvm taking control of disk that veritas should control
1. run pvcreate -f disk
2. pvremove disk
Then the all the veritas commands work fine.