- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- share filesystem lv
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-16-2003 01:36 AM
03-16-2003 01:36 AM
share filesystem lv
now , i have created a filesystem , it can be mounted on both nodes, but when i create a directory on one node , this directory can't be seen by other node.
what's the matter?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2003 04:48 AM
03-16-2003 04:48 AM
Re: share filesystem lv
Second, you need the vgimport and vgexport commands within ServiceGuard to complete the LVM procedure, only.
Third, you need to update your package.cntl file on both nodes to complete the procedure.
To answer your question, the vgexport and vgimport "...-s..." parameter is for shared file systems. Review this link:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90692/B2355-90692_top.html&con=/hpux/onlinedocs/B2355-90692/00/02/215-con.html&toc=/hpux/onlinedocs/B2355-90692/00/02/215-toc.html&searchterms=vgexport&queryid=20030316-052807
Here is the LVM procedure:
1a) Create a new map file of the vg## with the file system and lv:
1b) vgexport -p -s -m /tmp/map /dev/vg## (* NOTE: -p preview *)
1c) vgexport -s -m /tmp/map /dev/vg## (* When ready to commit *)
1d ) ftp 2nd node
put /tmp/map
2a) vgexport /dev/vg## (* Remove the vg from the first node. *)
2b) mkdir /dev/vg##
2c) mknod /dev/vg##/group c 64 0x#0000
2d) vgimport -p -s -m /tmp/map /dev/vg## (* preview *)
2e) vgimport -s -m /tmp/map /dev/vg## (* When ready to commit *)
Here is the package.cntl file update procedure starting with the first node:
1a) vi package.cntl
1b) Locate the vg## and add the lv and fs. For example:
VG[0] vg01
LV[0] /dev/vg01/lvol1
FS[0] /ora1
...etc.
1c) save package.cntl
1d) cmcheckconf -P package.conf
1e) cmapplyconf -P package.conf
1f) vgchange -c y /dev/vg##
1g) vgchange -a n /dev/vg## (* deactivate and unmount *)
1h ) cmmodpkg -e package (* The package will activate and mount the vg's and lv's and fs's *)
For the second node, copy the new package.cntl over and test with a fail over.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2003 07:37 AM
03-16-2003 07:37 AM
Re: share filesystem lv
From my understanding for shared file system.
at any given time the file system will only mount at a node not both.
if you want those feature , better use nfs.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2003 11:48 AM
03-16-2003 11:48 AM
Re: share filesystem lv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2003 05:35 PM
03-16-2003 05:35 PM
Re: share filesystem lv
i think i see how to deal with it.