- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgcreate issue
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
07-05-2003 02:12 PM
07-05-2003 02:12 PM
I've been having problems creating a new volume group in the same disk I have installed in my HP-UX workstation B180L.I have a single disk with 56MB available space.
#mkdir /dev/vg01
#mknod group c 64 0x010000
# vgcreate /dev/vg01 /dev/dsk/c0t6d0
Increased the number of physical extents per physical volume to 1023.
vgcreate: The physical volume "/dev/dsk/c0t6d0" is already recorded in the "/etc/lvmtab" file
I tried the following:
#pvcreate -f ....
#mv /etc/lvmtab /etc/lvmtab.old
#vgscan -v " returns the same error"
#strings /etc/lvmtab
/dev/vg00
/dev/dsk/c0t6d0
I also rebooted in a single user mode but I'm getting the same thing. Any thoughts, ideas.
Points will be rewarded.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2003 02:45 PM
07-05-2003 02:45 PM
Re: vgcreate issue
Is this disk part of an existing volume group? i.e. vg00 ? If so you can't create another volume group with the same disk.
Is this a second disk that was installed from another server?
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2003 02:57 PM
07-05-2003 02:57 PM
Re: vgcreate issue
Glad to talk to you again. It's been a while.
Yes, this disk has vg00 on it. I guess I thought I can create a second VG in a single disk.
Any advice on a good cook book.
Thanks Micheale
LATIF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2003 03:08 PM
07-05-2003 03:08 PM
SolutionAs far as documentation, all the HP-UX manuals are online and downloadable from: http://docs.hp.com but trying to learn concepts from reference manuals is like trying to learn English by reading a dictionary. I would start with "Disk and File Management Tasks on HP-UX" by Tom Madell (a bit dated: 1997) or get one of the Marty Poniatowski books such as "Learning the HP-UX Operating System" or "HP-UX 11.x System Administration How To Book". If you are using the obsolete 10.20 version of HP-UX, there is a 10.20 How To book with a used price of about $5.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2003 03:23 PM
07-05-2003 03:23 PM
Re: vgcreate issue
Check out this document
http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2003 05:24 PM
07-05-2003 05:24 PM
Re: vgcreate issue
there are 4 principal objects to be dealt with when working with LVM, disk(physical volumes - disks are converted to PV through pvcreate), volume groups pool the PV into a large virtual space from which the rhird object, logical volumes, are allocated. VG are created and assigned a number of disks with vgcreate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2003 07:56 PM
07-05-2003 07:56 PM
Re: vgcreate issue
Sorry for the delay. My HP-UX OS is 11.0
Very good info I'm using the HP-UX certified book but to be honest, this book is dedicated to prepare for the Exam but it's not good for daily system administration tasks. Therefore it was not clear to me weither to create multiple VGs in a single disk. However, I'll get online and find the books Bill advised and will read the document provided by Micheale.
Off course, thanks to Twang as well.
Once again.
Thanks to you all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2003 08:00 PM
07-05-2003 08:00 PM
Re: vgcreate issue
How about when installing the HP-UX OS and then you chose the LVM ? I noticed that the help text states that LVM during the installation means if you have more 10 disk? DId I understand it correctly.
Please more explanation. I'm doing my HP-UX CSA and I need more info as much as I can get.
Thanks again.
Points will be rewarded at the end of this thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2003 09:16 PM
07-05-2003 09:16 PM
Re: vgcreate issue
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x8e662d88ce9cd711abdc0090277a778c,00.html
good luck!
twang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2003 03:43 AM
07-06-2003 03:43 AM
Re: vgcreate issue
Again, a volume group has a minimum of 1 physical disk, but may contain dozens. The idea is to collect space on one of more disks and then carve them up into the needed lvols.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2003 05:28 AM
07-06-2003 05:28 AM
Re: vgcreate issue
Twang,
Thanks for the Exam thread, I've been reading all the threads under Training and Education section and I went thru your thread before. I'll try to compromise all my Exam experience and post it as a guide line after passing the Exam.
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 04:05 AM
02-24-2005 04:05 AM