Hello,

I have a script which mount read-write a filesystem and then
runs rsync to synchronize. The strange thing is, that although
the filesystem is read-write for the OS, rsync still has some
problem with that.

%>---

+ mount
+ grep /dev/sd0f
/dev/sd0f on /mfs/log type ffs (local, nodev, noexec, nosuid, read-only)
+ mount -uw /dev/sd0f
+ mount
+ grep /dev/sd0f
/dev/sd0f on /mfs/log type ffs (local, nodev, noexec, nosuid)
+ printf Synchronizing in memory /var/log to /log backup ... 
Synchronizing in memory /var/log to /log backup ... + /usr/local/bin/rsync 
-vhaz /var/log/ /mfs/log/
sending incremental file list
pflog
rsync: mkstemp "/mfs/log/.pflog.czoYN2" failed: Read-only file system (30)

sent 5.96K bytes  received 34 bytes  11.99K bytes/sec
total size is 2.62M  speedup is 437.81
rsync error: some files/attrs were not transferred (see previous errors) (code 
23) at main.c(1052) [sender=3.0.9]
+ mount -ur /dev/sd0f

---<%

Any help would be appreciated.

jirib

Reply via email to