- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Extending VG on SAN (vxfs) & proper use of pvcreat...
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
03-13-2008 07:57 AM
03-13-2008 07:57 AM
I'm also adding a new volume group with a fresh SAN LUN to a server. I've heard that you are only supposed to use pvcreate on a single path (there are 2 active/active paths). Why is this, and is there harm in performing a pvcreate on both paths? If so how would I reverse the pvcreate on one of the paths?
As always your help is greatly appreciated!
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2008 08:08 AM
03-13-2008 08:08 AM
SolutionYes it is safe.
I personally would have a good backup and schedule this for an off prime time maintenance window because its not completely safe.
My experience is it does not matter how many times you run pvcreate.
I try and run it right before I create the volume group.
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
03-13-2008 08:19 AM
03-13-2008 08:19 AM
Re: Extending VG on SAN (vxfs) & proper use of pvcreate for SAN LUN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2008 08:26 AM
03-13-2008 08:26 AM
Re: Extending VG on SAN (vxfs) & proper use of pvcreate for SAN LUN
> Is it safe to extend a volume group (PVs in the VG are Symmetrix SAN LUNs) while the VG is still mounted? The FS type is vxfs, I'd be performing a pvcreate/vgextend/pvchange/lvchange/lvextend/and fsadm.
There isn't any problem with this. Enlarging a filesystem by adding new physical volumes to a volume group ('pvcreate', 'vgextend'); then growing a logical volume ('lvextend') and then the filesystem therein ('fsadm') is common.
I'm note sure what you want to do with 'pvchange' and or 'lvchange' in this context, however.
> I'm also adding a new volume group with a fresh SAN LUN to a server. I've heard that you are only supposed to use pvcreate on a single path (there are 2 active/active paths). Why is this, and is there harm in performing a pvcreate on both paths? If so how would I reverse the pvcreate on one of the paths?
ALternate paths (otherwise known as 'pvlinks') are simply different paths (channels) to the same physical device. Hence, performing a 'pvcreate' using path-A is the same as performing a 'pvcreate' using path-B. The device (disk) at the end of the path is initialized with fresh LVM metadata each time. This accomplishes the same objective twice.
Do NOT use 'pvcreate' when you have a disk that contains useful data AND you are simply adding an alternate link. In that case, simply use 'vgextend' to add the new alternate path to the volume group.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2008 09:15 AM
03-13-2008 09:15 AM
Re: Extending VG on SAN (vxfs) & proper use of pvcreate for SAN LUN
Thanks!