- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Creating a volume group ....
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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-28-2007 10:44 AM
01-28-2007 10:44 AM
i need to create a vg ... how can i do that?
after that
i need to create lv's ...how can i do that?
after that
i need to activate vg's and lv's .. how can i do that?
and after that
how can i mount all that lv's?
Regards.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2007 11:20 AM
01-28-2007 11:20 AM
SolutionTo create a VG use the command vgcreate
To create an LV use the command lvcreate
To activate a VG use the command vgchange
To mount the first time use the command mount
To mount when the system reboots you must modify /etc/fstab.
Each of those commands has a man page that you should review.
Other useful documentation is available here:
From the "Managing Systems and Workgroups: A Guide for HP-UX System Administrators" manual available here:
http://docs.hp.com/en/B2355-90950/index.html
Have a look at "Chapter 6 Administering a System: Managing Disks and Files":
http://docs.hp.com/en/B2355-90950/ch06.html
If you would rather have the manual in a PDF file:
http://docs.hp.com/en/B2355-90950/B2355-90950.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2007 11:25 AM
01-28-2007 11:25 AM
Re: Creating a volume group ....
for using vgcreate .. how can i know if some disk is free for being used?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2007 12:44 PM
01-28-2007 12:44 PM
Re: Creating a volume group ....
> how can i see free space on disk?
You can use 'vgdisplay vgname' to determine the in-use (allocated) and free disk extents available in a volume group. A 'pvdisplay /dev/dsk/cXtYdz' shows the allocated and free extents on a physical volume.
> for using vgcreate .. how can i know if some disk is free for being used?
You cannot execute 'vgcreate' using a physical disk that is already a part of a volume group. Physical disk that are part of a volume group are recorded in '/etc/lvmtab'. The absence of a physical disk from '/etc/lvmtab' or from the devices listed when doing 'vgdisplay -v' *_may_* mean that the physical disk is free to use. Only good documentation guarantees that the disk is truly re-usable, though, since the physical disk may be being used as a raw device or it may have been 'vgexport'ed, thereby removing it from a volume group recorded in the '/etc/lvmtab'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 07:57 PM
01-29-2007 07:57 PM
Re: Creating a volume group ....
Here are some useful docs...
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 08:08 PM
01-29-2007 08:08 PM
Re: Creating a volume group ....
Good luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2007 11:57 PM
01-29-2007 11:57 PM
Re: Creating a volume group ....
If you are not at ease with the command line options, i would prefer to use SAM instead.
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2007 12:32 AM
01-30-2007 12:32 AM
Re: Creating a volume group ....
strings /etc/lvmtab |grep cXtXdX
or
strings /etc/lvmtab > /tmp/lvmtab.out
Then view or more /tmp/lvmtab.out and look for cXtXdX disk
Another way (if all vg's are activated):
vgdisplay -v |grep cXtXdX
Rgds...Geoff