Calendario
Data: 12/05/2025
Ora: 23:47
« Maggio 2025 »
Lu Ma Me Gi Ve Sa Do
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31


Login


:


Choose your language:
deutsch english español français italiano português


Utenti
Persone on-line:
admins 0 amministratori
users 0 utenti
guests 1 ospiti


Sondaggio
Nessun sondaggio attivo in questo momento:
vecchi sondaggi


archlinux


Linux TimeLine


Unix TimeLine


CO2


Menu:

  • Home
  • Archivio News
  • Contatti
  • Download
  • Gallery
02 Cerca
Ricerca parole o frasi all'interno del sito.
Ricerca avanzata


25 30th


30 marchioCS


00 stat2019
[ 31-12-2019 statistiche ]

Statistiche


Voto


fondazione


calcolo distribuito


effetto


#341724 GNU/Linux
SaCarde

l'opzione "sync" in NFS

network.pngsignificato dell'opzione "sync/async" nel NetworkFileSystem"

dal: man nfs


The sync mount option
The NFS client treats the sync mount option differently than some other file sys‐
tems (refer to mount(8) for a description of the generic sync and async mount
options). If neither sync nor async is specified (or if the async option is speci‐
fied), the NFS client delays sending application writes to the server until any of
these events occur:

1) Memory pressure forces reclamation of system memory resources.
2) An application flushes file data explicitly with sync(2), msync(2), or fsync(3)
3) An application closes a file with close(2)
4) The file is locked/unlocked via fcntl(2)

In other words, under normal circumstances, data written by an application may not
immediately appear on the server that hosts the file.
If the sync option is specified on a mount point, any system call that writes data
to files on that mount point causes that data to be flushed to the server before
the system call returns control to user space. This provides greater data cache
coherence among clients, but at a significant performance cost.


traduzione


L'opzione di mount sync
il client di NFS tratta l'opzione di mount diversamente dagli altri filesystem
fare riferimento a mount(8) per una descrizione delle generiche opzioni sync e async
se non sono specificate ne' sync ne' async (o se viene specificata l'opzione async)
il client NFS ritarda le scritture delle applicazioni sul server fino a che un evento
tra questi accade:

1) l'attivita della memoria forza la richiesta di risorse di memoria di sistema
2) un'applicazione libera i dati dei file esplicitamente con sync(2), msync(2) o fsync(3)
3) un'applicazione chiude un file con close
4) il file e' bloccato/sbloccato attraverso fcntl

In altre parole, in circostanze normali, i dati scritti da un'applicazione possono non
apparire immediatamente sul server che li ospita.
Se viene specificata l'opzione sync in un mount, qualsiasi chiamata di sistema che scrive dati
sui file di quel punto di mount causa lo scaricamento dei dati sul server prima
che la chiamata di sistema ritorni il controllo all'userspace. Questo fornisce maggiore coerenza
dei dati della cache tra i client, ma ad un costo significante di performance.



note:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Storage_Administration_Guide/nfs-serverconfig.html#nfs-serverconfig-exports
Postato Martedi 05 Luglio 2016 - 11:37 (letto 1659 volte)
Comment Commenti? Print Stampa


« Notizia precedente | Notizia successiva »

Le ultime notizie relative a questo argomento

Read le rete da systemd-networkd (04/08/2018 - 17:36) letto 1396 volte
Read netplan in ubuntu 18.04 (24/07/2018 - 11:39) letto 1674 volte
Read SL6.1 kernel per ath9k_htc (21/05/2018 - 17:42) letto 1370 volte
Read blocco siti da squid (16/12/2017 - 10:18) letto 1396 volte
Read wakeonlan (08/06/2017 - 09:35) letto 1455 volte
Read installazione del "Vodafone mobile wifi R128" (06/05/2017 - 17:20) letto 1539 volte
Read browser "leggeri" (14/04/2017 - 21:20) letto 1484 volte
Read vnc (24/09/2016 - 10:59) letto 1496 volte
Read l'opzione "sync" in NFS (05/07/2016 - 11:37) letto 1659 volte
Read connessione backup ppp (2) (01/10/2015 - 09:47) letto 2355 volte
Read controllo linea ADSL (centrale) (11/09/2015 - 21:10) letto 1792 volte
Read condivisione samba (24/06/2014 - 09:58) letto 1859 volte
Read costruire fedora da kickstart (15/01/2014 - 09:34) letto 1981 volte
Read hamachi, una VPN semplice e efficace (24/11/2012 - 10:20) letto 1931 volte
Read script aggiornamento ftp (10/01/2009 - 14:02) letto 1648 volte
Read BOINC su ppc (20/02/2008 - 17:12) letto 2032 volte
Read aggiornamento bookmarks (4) (24/01/2008 - 09:38) letto 1733 volte

Tutte le notizie relative a questo argomento
network.png

original template by Aran Down.
FlatNuke Valid HTML 4.01! Valid CSS! Get RSS 2.0 Feed Mail me!
This is a free software released under the GNU General Public License. | Cookie Policy
Page generated in 0.0174 seconds.