[olug] Network drives on a laptop?

Luke -Jr luke at dashjr.org
Wed Jan 9 02:39:36 UTC 2008


On Monday 07 January 2008, Christopher Cashell wrote:
> On Jan 7, 2008 8:54 PM, Luke -Jr <luke at dashjr.org> wrote:
> > Why would there be data loss in the above situation? Tail is read-only
> > would only have a problem with this situation if the logfile were
> > truncated or modified in a non-appending way during the downtime.
>
> The reference to data loss was not regarding tail, but the general
> incidence of having open files on a network share that you lose
> connectivity to, especially if you were to setup something to forcibly
> unmount a share upon entering sleep mode (which would likely require
> killing processes that have any open files).  While tail is obviously
> a read-only operation, if you had a file open for editing or
> modification, there would be a very real risk of data loss.

Yes, however Linux already can differentiate between read and write. I would 
expect it to safely handle a sleep/resume situation when mount -o remount,ro 
is allowed.



More information about the OLUG mailing list