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

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

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

Postby magfan » Dec 3rd, '24, 13:42

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?
Last edited by magfan on Dec 4th, '24, 11:09, edited 1 time in total.
magfan
 
Posts: 334
Joined: Apr 3rd, '12, 12:33

Re: files copied to NAS are invisible for other systems

Postby sturmvogel » Dec 3rd, '24, 15:40

Try sync and noac mount options in the fstab,
All fstab the same?
xfs checked for errors?
sturmvogel
 
Posts: 739
Joined: Jul 30th, '12, 00:39

Re: files copied to NAS are invisible for other systems

Postby doktor5000 » Dec 3rd, '24, 18:43

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18042
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: files copied to NAS are invisible for other systems

Postby morgano » Dec 3rd, '24, 19:54

Doesnt that NAS support NFS ?
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1488
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: files copied to NAS are invisible for other systems

Postby magfan » Dec 4th, '24, 11:08

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.
magfan
 
Posts: 334
Joined: Apr 3rd, '12, 12:33


Return to Basic support

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron