- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Luns and LVM
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
Discussions
Discussions
Forums
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
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-11-2011 01:28 AM
тАО01-11-2011 01:28 AM
Luns and LVM
I've created one lun which is mapped to 2 servers : server A och server B. Lun is on volymgroup on server A .
I extended that volume group on server A by using lxextend - l syntax and filesystem online
on server A
But I don't know if I have to do it the same on server B or not ?
SERVER A
stona01:/vol/cl_erp02/luns/lun01 (LUN 14)
2g (2147483648) lun state: GOOD
Filer_CF_State: Cluster Enabled Filer Partner: stona02
Multipath_Policy: None
Multipath_Provider: None
-------- --------- -------------------- ------ ------- --------
host filer primary partner
path path /dev/dsk host filer filer
state type filename HBA port port
-------- --------- -------------------- ------ ------- --------
up primary /dev/dsk/c33t1d6 td1 0d
up secondary /dev/dsk/c27t1d6 td1 0d
up primary /dev/dsk/c31t1d6 td0 0b
up secondary /dev/dsk/c23t1d6 td0 0b
****************************************
SERVER B
stona01:/vol/cl_erp02/luns/lun01 (LUN 14)
2g (2147483648) lun state: GOOD
Filer_CF_State: Cluster Enabled Filer Partner: stona02
Multipath_Policy: None
Multipath_Provider: None
-------- --------- -------------------- ------ ------- --------
host filer primary partner
path path /dev/dsk host filer filer
state type filename HBA port port
-------- --------- -------------------- ------ ------- --------
up primary /dev/dsk/c33t1d6 td1 0d
up secondary /dev/dsk/c22t1d6 td1 0d
up primary /dev/dsk/c31t1d6 td0 0b
up secondary /dev/dsk/c9t1d6 td0 0b
Thanks for any advice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2011 05:07 AM
тАО01-11-2011 05:07 AM
Re: Luns and LVM
But...if you have 1 lun that you want to be seen by two servers. And you have mapped the 1 lun to both servers.
Then you only need to create the volume group and lvol and extend them on one of the servers.
Then you would run command vgexport -pvs -m /
mkdir /dev/vgname
mknod /dev/vgname/group c 64 0x
vgimport -vs -m /
Now the second server has the volume group information, and should you need to access it, you would deactivate the volume group on server one - then activate the volume group on server two.
Hope that is what your looking for,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2011 05:59 AM
тАО01-11-2011 05:59 AM
Re: Luns and LVM
Your words pointed me to a cluster environment where the shared VG is the basic thing.
Do whatever changes you want in VG in server A. And export the map file of same VG in preview mode and copy into server B.
Create the VG directory and group file using the same minor number used in server A and import the VG information using the map file. Activate the volume group and get the access on server B.
Extend the thread if this is not exactly you looked for.
Rgds...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2011 06:21 AM
тАО01-11-2011 06:21 AM
Re: Luns and LVM
If you're simply extending an LV, then you won't have to export/import.
An old ll entry from when I initially took the MCSG class (almost 10 years ago now... ) shows when you have to import/export.
http://www.olearycomputers.com/ll/mcsg/mcsg_export.html
Hope that helps.
Doug O'Leary
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2011 06:28 AM
тАО01-11-2011 06:28 AM
Re: Luns and LVM
I don't think you have to do anything on ServerB as you merely expanded an LVOL/Filesystem on Server A. When you failover the storage to Server B -- the import and mount will simply recognise the new size of the LV and the Filesystem on top/
You only need the vg map gyrations if you've added new LVOLs. In this case - you have merely expanded -- so I think all is good sir.