02-04-2011
iscsi network share + xfs
Hello,
we got a MD3000i used as a network share between two servers (say A and B). The problem we are facing is that file/directories created by server A are not visible on server B (and viceversa). It's not a problem with permission (chmod 777 doesn't help).
The MD3000i was at first used ony with server A. We then added server B. All files/directories added "before B" were readable from both A and .
Here are some details:
MD3000i
Read cache: Enabled
Write cache: Enabled
Write cache without batteries: Disabled
Write cache with mirroring: Disabled
Flush write cache after (in seconds): 10.00
Dynamic cache read prefetch: Enabled
XFS filesystem.
On server A we have (from /etc/fstab)
/dev/disk/by-id/scsi-36a4badb000443c1c000003a04bf628a4-part1 /storage xfs noauto,nofail 0 0
Could be a problem with a combination of cache and xfs barriers?
---------- Post updated at 05:40 PM ---------- Previous update was at 02:28 PM ----------
Ok, solved.
filesystem xfs doesn't support clustering.
We need to use lock-aware fiesystem as OCFS, GFS or something.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a script on all the machines on my network that lists how many updates are available for each machine, and then outputs the answer to a file called updates.txt
the output shows the hostname and the number of updates, like: computer_A 7
I want all these machines to output the data to... (1 Reply)
Discussion started by: glev2005
1 Replies
2. UNIX for Dummies Questions & Answers
Hello Unix Gurus Who I Hope Reads This,
I have quasi-inherited control over a Linux cluster at a university research lab. The post-doc that set it up is gone, and the person in charge of administering the cluster doesn't know a ton about Linux. Amongst other things, I want to use the cluster... (0 Replies)
Discussion started by: mbl
0 Replies
3. Filesystems, Disks and Memory
Looking for suggestions as to which filesystem to go with. I currently use gfs2 on hosts with 3.4tb useable. I understand gfs2 is being left behind but xfs and ext4 are not quite certified completely on CentOS 5.2. I have email storage hosts that have a decent i/o requirement and 12TB usable after... (12 Replies)
Discussion started by: king_hippo
12 Replies
4. UNIX for Advanced & Expert Users
Hi!
I created filesystem XFS on partition hda8 with subvolume real-time on partition hda5:
mkfs.xfs -r rtdev=/dev/hda5 /dev/hda8 and i mounted it:
mount -t xfs -o rtdev=/dev/hda5 /dev/hda8 /xfs
But I don't know how can I use this partition hda5 with subvolume real-time. I don't know how to... (3 Replies)
Discussion started by: Cadi2108
3 Replies
5. UNIX for Dummies Questions & Answers
how to change ethernet cable of iscsi initiator (iscsi client) (0 Replies)
Discussion started by: pankajd
0 Replies
6. Solaris
I have a solaris 10 system that is setup as a NFS server. The NFS clients have DHCP running. How do I setup the server, so that it allows mounts for any machine on the network? (3 Replies)
Discussion started by: krishania
3 Replies
7. Solaris
Hi,
I have a Windows server running WinSVR 2008R2 with a network share configured \\hostname\JSS_Share I would like to be able to mount this share on a Solaris host running Solaris 9. I would also like to mount a directory on the Solaris host and make it visible to the Windows server.
The idea... (1 Reply)
Discussion started by: jamba1
1 Replies
8. UNIX for Advanced & Expert Users
I have a RHEL6 VM that requires the use of remote storage using iSCSI and XFS for the mount point. Here's the issue:
With XFS you can't use the _netdev option for your mount point (pause for network) so my mount point doesn't mount properly because the network isn't up yet. I've moved the... (3 Replies)
Discussion started by: ksfolsom
3 Replies
9. Red Hat
This is in a CentOS 6 environment, our developer needs to be able to specify a relative path to a shared folder so that four machines can all point to the same shared directory, so I need to know the easiest way to do this in a native Linux environment.
I've already created the directory on the... (2 Replies)
Discussion started by: xdawg
2 Replies
LEARN ABOUT OPENSOLARIS
cachefsd
cachefsd(1M) System Administration Commands cachefsd(1M)
NAME
cachefsd - CacheFS daemon
SYNOPSIS
/usr/lib/fs/cachefs/cachefsd
DESCRIPTION
The cachefsd server implements features of the cache filesystem (CacheFS). It is invoked at boot time and run if the / (root) and /usr
filesystems are being cached. If /usr is being cached, cachefsd is invoked by inetd(1M) from inetd.conf(4). At run time, cachefsd is
invoked by the inetd mechanism in response to an RPC request from a user command such as mount_cachefs(1M).
The cachefsd server supports the "disconnected mode" of CacheFS. In this mode, a user can continue to read and, depending on the option
selected, write to files in a cached filesystem when the NFS server for the cached files is not available.
The cachefsd daemon performs the following functions in support of the CacheFS:
o Implements the connection policy. The daemon determines whether the NFS server backing the cache is connected or disconnected
from the cache, or is in transition from the connected or disconnected states.
o Implements "log rolling," wherein the daemon monitors a disconnected NFS server for reconnection. After such a server returns to
a connected state, cachefsd rolls any local changes to cached files (kept in a log) back to the server.
o Manages "packing," wherein cachefsd makes a best effort to ensure that files in a user-specified list are available in the cache
in disconnected mode.
o Supports user interfaces by supplying statistics, reporting conflicts between the cache and the back filesystem, and supporting
a list of files for packing.
The running of cachefsd is required for the disconnected mode of CacheFS.
OPTIONS
The following options are supported:
-r Used for invoking cachefsd for the / filesystem.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
cachefspack(1M), cfsadmin(1M), mount_cachefs(1M), inetd.conf(4), attributes(5)
SunOS 5.11 2 October 2000 cachefsd(1M)