Revin la ideea lui Dragos cu xfs_freeze:
man xfs_freeze :

 xfs_freeze halts new access to the  filesystem  and  creates  a  stable
image  on disk.  
xfs_freeze is intended to be used with volume managers
and hardware RAID devices that support the creation of snapshots.


.....


 The -f flag requests the specified XFS filesystem to be frozen from new
 modifications.   When this is selected, all ongoing transactions in the
 filesystem are allowed to complete, new write system calls are  halted,
 other calls which modify the filesystem are halted, and all dirty data,
 metadata, and  log  information  are  written  to  disk.   Any  process
 attempting to write to the frozen filesystem will block waiting for the
 filesystem to be unfrozen.

...ceea ce in caz ca "ongoing transactions" inseamna si un fisier
deschis +w cred ca este exact ce vrei tu - singurul inconvenient este ca
trebuie sa folosesti xfs.



_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui