- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pvcreate, volumegroup, lvmtab...
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
02-04-2003 06:20 AM
02-04-2003 06:20 AM
"pvcreate: The physical volume "/dev/dsk/c0t14d0" is already recorded in the "/etc/lvmtab" file."
why? how is it removing from the lvmtab file?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 06:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 06:28 AM
02-04-2003 06:28 AM
Re: pvcreate, volumegroup, lvmtab...
#mv /etc/lvmtab /etc/lvmtab.old
#vgscan -v
#strings /etc/lvmtab
if this shows the disk c0t14d0 then the disk belongs to a volume group and has data in that.
if the command #strings /etc/lvmtab doesn't show the disk c0t14d0 then
#pvcreate -f /dev/rdsk/c0t14d0
#mkdir /dev/vg01 (i am assuming vg to be craeted is vg01)
#cd /dev/vg01
#mknod group c 64 0x010000
#vgcreate /dev/vg01 /dev/dsk/c0t14d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 06:31 AM
02-04-2003 06:31 AM
Re: pvcreate, volumegroup, lvmtab...
#vgscan -p -a -v
to just run the vgscan in the preview mode.
There is no need to remove the lvmtab file
check for the output.
After this if the physical volume does not belong to any VG you can do a
#mv /etc/lvmtab /etc/lvmtab.old
#vgscan -a
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 06:31 AM
02-04-2003 06:31 AM
Re: pvcreate, volumegroup, lvmtab...
please check /etc/lvmtab and the disk:
# strings /etc/lvmtab
If the disk cantains to a volume group please do not use iut for creating a new volume group.
# pvdisplay -v /dev/dsk/c0t14d0
Here you will find the voulme group the disk is containing to.
If you are sure the disk is free and you can use it for creating a new volume group do following:
# mv /etc7Lvmtab /etc/lvmtab.old
# vgscan -v
# pvcreate -f "/dev/rdsk/c0t14d0
# vgcreate -n vgXY "/dev/dsk/c0t14d0
# vgdisplay -v vgXY
Hope that helps.
Regards ...
Armin