- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- System Administration
- >
- Re: Is there shared storage conflicts or hardware ...
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
10-25-2010 07:34 AM
10-25-2010 07:34 AM
In my case I have two Linux hosts connected to one shared storage via SCSI bus. Both Linux nodes can communicate with storage separately. But I want to get simultaneously read/write to different file systems from each node.
For example nodeA mount /dev/cciss/c0d2p1 like its own ext3 file system and nodeB mount /dev/cciss/c0d2p2 relatively like its own by nodeB file system. When read/write loading occur shared storage hang. Is it shared SCSI conflicts or hardware error? Do I need to use file systems with distributed lock manager to get both nodes parallel R/W even to different mounted partitions ?
Thanks for any advise.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-25-2010 10:32 AM
10-25-2010 10:32 AM
Re: Is there shared storage conflicts or hardware error?
I'd suggest NFS as a better way to this, though slower.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-26-2010 12:10 AM
10-26-2010 12:10 AM
Re: Is there shared storage conflicts or hardware error?
Examples of Clustered filesystems:
GPFS (vendor IBM) - General Parallel File System (GPFS) supports replication between attached block storage. Available for AIX and Linux.
OCFS, OCFS2 (Oracle Cluster FileSystem) - use it for clustered oracle databases
GFS, GFS2 (Red Hat)
QFS (Sun) - Quick File System, it is mainly used for the SAM (Storage and Archive Manager) product, which is a Hierarchical Storage Manager solution by Sun
VxCFS - (Veritas Cluster File System)
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-26-2010 12:48 AM
10-26-2010 12:48 AM
Re: Is there shared storage conflicts or hardware error?
In other words block devices /dev/cciss/c0d2p1 and /dev/cciss/c0d2p2 is differ only volume /dev/cciss/c0d2 is the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-26-2010 01:35 AM
10-26-2010 01:35 AM
SolutionThe answer is yes. The concurrent access will be handled by the filesystem, so it won't get corrupted until you use a cluster-aware shared mode filesystem.
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-27-2010 07:36 AM
10-27-2010 07:36 AM
Re: Is there shared storage conflicts or hardware error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-27-2010 12:20 PM
10-27-2010 12:20 PM
Re: Is there shared storage conflicts or hardware error?
Nope, you can easily mount the filesystem in read-write mode on more than one machine at once. That's why it's called _distributed_. The write operations will be handled with the help of the fencing mechanism, which is a special way of inter-cluster file locking mechanism. To read further look this article e.g. regarding the GFS filesystem:
http://www.redhat.com/magazine/009jul05/features/gfs_practices/
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-27-2010 03:12 PM
10-27-2010 03:12 PM
Re: Is there shared storage conflicts or hardware error?
> read-write mode on more than one machine at
> once. That's why it's called _distributed_.
> The write operations will be handled with the
> help of the fencing mechanism, which is a
> special way of inter-cluster file locking
> mechanism. To read further look this article
> e.g. regarding the GFS filesystem:
Victor, andrij doesnt want to share fileystems on 2 nodes. Andrij wants to share a lun with 2 partitions, were the partitions are exclusively used by 2 nodes, between the 2 nodes.
Personally I dont think its possible. If a node A wants to write to partition A of lun A, it needs to get a "scsi lock" on the lun A, and if node B has at that moment the "scsi lock", because node B wanted to write to partition B of lun A, then node A initiator will issue a scsi reset on to get the lock, which can result in hanging scsi busses, data corruption etc..
Greetz,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-27-2010 03:23 PM
10-27-2010 03:23 PM
Re: Is there shared storage conflicts or hardware error?
> Victor, andrij doesnt want to share
> fileystems on 2 nodes. Andrij wants to share
> a lun with 2 partitions, were the partitions
> are exclusively used by 2 nodes, between the
> 2 nodes.
Now I have to correct myself. I also had the impression andrij didnt had in mind to use gfs to obtain what he wanted.
Offcourse if he would use gfs, he could offcourse do what he "set forth" to do, as then gfs would take care of the "scsi protocols things" between the 2 nodes"..
Greetz,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-27-2010 10:55 PM
10-27-2010 10:55 PM
Re: Is there shared storage conflicts or hardware error?
>I also had the impression
>andrij didnt had in
>mind to use gfs to obtain
>what he wanted.
That is right, I did not want use GFS because of its complexity.
It is clear that to avoid conflicts of sharing, clustered system should use distributed locking mechanism like DLM (Distributed Lock Manager).
I assumed that system can work without DLM because of data in logical partitions not overlapping so sharing conflicts should not occur. But it is wrong because SCSI bus and ID of volume device is still shared so access to its must be moderated.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP