- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mount file system in multiple
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
02-24-2005 03:45 AM
02-24-2005 03:45 AM
I want to know is it possible to mount a file system with HP -UX LVM at two servers in the same time
There is no cluster available
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 03:48 AM
02-24-2005 03:48 AM
Re: mount file system in multiple
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 03:49 AM
02-24-2005 03:49 AM
Re: mount file system in multiple
man nfs for details.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 03:58 AM
02-24-2005 03:58 AM
Re: mount file system in multiple
Thanks
i am not able to understand how the buffer cache will affect if the file system is mounted as read - only in one of the system
plz can u make me claer
Hi anil Raj***
Thanks , sorry i have not put my query clearly
I am not in need of NFS
Thanks
Thiyagarajan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 04:09 AM
02-24-2005 04:09 AM
Re: mount file system in multiple
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 04:10 AM
02-24-2005 04:10 AM
SolutionThe buffer cache is a memory-based data structure that sits between the data on the disk and the apllication. When an application makes an io request, it first checks to see if the data are already in the buffer cache and if not then the data is read from disk. Similarly, when an application does a write, it writes to the buffer cache and sometime later this write is actually done to the disk. The buffer cache makes the i/o operations more efficient and faster.
Now suppose that system A does a write to the filesystem. It does the write and that information is stored in the buffer cache but system B has no way of knowing that and reads from the disk. If you attempt to mount the filesystems read-write, the best result you can hope for is occasional stale/invalid data; the much more likely result is corrupt filesystems on both hosts.
One option you have is to use the LVOL as a raw device but even there there has to be a synchronization mechanism to prevent both hosts from writing to the same block simultaneously.
If you are using filesystems, again, the only safe method is read-only on all the hosts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 04:21 AM
02-24-2005 04:21 AM
Re: mount file system in multiple
what i thought is suppose one machine it is read only and other is read-write
problem will occur as you said that other system will not read proper data.
is there any way to mention that clear the buffer cache while writing as soon as possible , so that i can able to read the proper data
except the inconsistant data on host will there be any other problem
Thanks for your excellent and clear reply.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 04:33 AM
02-24-2005 04:33 AM
Re: mount file system in multiple
You have two safe choices: 1) read-only on both hosts 2) Read-write vxfs or hfs mount on one host and read-write via NFS on the other.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 04:35 AM
02-24-2005 04:35 AM
Re: mount file system in multiple
Yes ,the VG can be activated on two diff. servers .
But if it is activated in r/w mode on both the servers then it will end up in corrupting your FS .
Volume group can be activated in shared mode ( vgchange -a s ) , but again OS can not do a consistent r/w from multiple nodes at a time .
This shared mode is used in oracle OPS and RAC environments where the RDMBS will manage the IO .Note in this case no file system will be created all LV will be raw LVs.
Regards,
BL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 05:28 AM
02-24-2005 05:28 AM
Re: mount file system in multiple
Thanks for Fantastic reply
clay can u guide where can i read all this online
so that my issues are cleared
(probably i dont want to close the thread bcoz i dont know how to express my doubt ;-
Thanks rajeev and lalb
by teh way is it possible to activate vg in shared mode with out having the cluster in teh system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2005 03:25 AM
02-25-2005 03:25 AM
Re: mount file system in multiple
I beleive share option will not be enabled for a volume group unless MC-ServiceGuard is installed. You can use
#vgchange -c y -S y /dev/vgname # Make Volume Group share and cluste aware
#vgchange -a s /dev/vgname #Activate volume group in shared mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2005 05:39 AM
02-25-2005 05:39 AM
Re: mount file system in multiple
I want to share vg withuot any additional like MC service guard or something
Is there any work around
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2005 06:00 AM
02-25-2005 06:00 AM
Re: mount file system in multiple
If you want to share Volume Group between two nodes by activating only on one node at a time you can use LVM or VxVM (Available with 11i) without Cluster software if you are running HPUX 11i. But to activate at the same time on both nodes you need to have cluster solution for both.
Other Alternatives you have is to use NFS or CIFS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2005 06:29 AM
02-25-2005 06:29 AM
Re: mount file system in multiple
Thanks for your time to clear my doubts
with your help i got answer
Thanks for all once again
closing
Thiyagarajan