Page 1 of 1

[SOLVED] files copied to NAS are invisible for other systems

PostPosted: Dec 3rd, '24, 13:42
by magfan
I have a partition on a NAS that I mount from four Mageia 9 workstations to share data. However, when I copy a file from one workstation to a directory on this mounted partition, the other workstations do not see this file.

From fstab:
Code: Select all
/dev/vg1/lv_analyses /mnt/analyses xfs _netdev,x-systemd.requires=iscsi-login.service,rw,relatime,inode64,logbufs=8,logbsize=128k,sunit=256,swidth=256,noquota 1 2


What do I have to change to get this working?

Re: files copied to NAS are invisible for other systems

PostPosted: Dec 3rd, '24, 15:40
by sturmvogel
Try sync and noac mount options in the fstab,
All fstab the same?
xfs checked for errors?

Re: files copied to NAS are invisible for other systems

PostPosted: Dec 3rd, '24, 18:43
by doktor5000
There's a pretty simple explanation for that. Concurrent access from multiple servers to an iSCSI volume is simply not possible with regular filesystems.
You'd need to put a filesystem like GFS2 or OCFS2 or maybe DRBD on that iSCSI volume to be able to mount it on other boxes and have concurrent access.
And even then from an iSCSI perspective that would also not be a good idea. One iSCSI volume, only one host with read/write access.

First hit from a simple google search:
https://serverfault.com/questions/48516 ... ess-on-nas

Re: files copied to NAS are invisible for other systems

PostPosted: Dec 3rd, '24, 19:54
by morgano
Doesnt that NAS support NFS ?

Re: files copied to NAS are invisible for other systems

PostPosted: Dec 4th, '24, 11:08
by magfan
I agree, it was not my best idea to mount the same partition directly from several workstations. Each workstation naturally wanted to write the log file of the XFS file system to the partition. When I started the third workstation, I got warnings that the log file was corrupted and I needed to repair the file system. So only one workstation will mount the partition directly and provide exports via nfs.