SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
rdiff-backup remounts partition readonly?
Author Message
Post rdiff-backup remounts partition readonly? 
Hi everyone,

I am running rdiff-backup for sometime now on a FC3 box which I
recently update it to FC4. Since the python path changed I moved all
the required libraries to the new python path and the backups start
working again smoothly. I am doing backups localy to an external usb
drive, which is mounted only when the script runs and then unmounts to
keep the backup safe.

However today the backup failed and the error message is below. I
was monitoring /proc/mounts and the partition is mounted read-write
from the mount command but when the rdiff-backup starts it remounts
the partition as read-only.

Has anybody come accross this problem. Am I doing something wrong
here? If you need more info let me know.

Regards,
Christos

<output>


Previous backup seems to have failed, regressing destination now.
Regressing to Thu Jun 23 02:02:14 2005
Regressing file .adobe/Acrobat/7.0/Cache/AcroFnt07.lst
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
254, in Main
take_action(rps)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
226, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
264, in Backup
backup_init_dirs(rpin, rpout)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
296, in backup_init_dirs
checkdest_if_necessary(rpout)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
672, in checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.4/site-packages/rdiff_backup/regress.py",
line 70, in Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/usr/lib/python2.4/site-packages/rdiff_backup/rorpiter.py",
line 279, in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.4/site-packages/rdiff_backup/regress.py",
line 231, in fast_process
if rf.metadata_rorp.isreg(): self.restore_orig_regfile(rf)
File "/usr/lib/python2.4/site-packages/rdiff_backup/regress.py",
line 253, in restore_orig_regfile
tf.write_from_fileobj(rf.get_restore_fp())
File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line
828, in write_from_fileobj
outfp = self.open("wb", compress = compress)
File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line
808, in open
else: return open(self.path, mode)
IOError: [Errno 30] Read-only file system:
'/mnt/usbdrive/backups/homes2/user/.adobe/Acrobat/7.0/Cache/rdiff-backup.tmp.0'
$

</output>

Post rdiff-backup remounts partition readonly? 
Hello,

On Fri, 24 Jun 2005 12:06:44 +0100, Christos Tachtatzis wrote:
I
was monitoring /proc/mounts and the partition is mounted read-write
from the mount command but when the rdiff-backup starts it remounts
the partition as read-only.

I very much doubt that rdiff-backup would mount/unmount/remount anything.
What you might be seeing is that the kernel discovers a problem with
I/O to the partition on the external disk. In such a situation, the kernel
remounts the partition read-only.

Have you checked your system log?

--
Greetings from Troels Arvin, Copenhagen, Denmark

Post rdiff-backup remounts partition readonly? 
i would guess you've got a disk error, and you've got the filesystem
mounted with the option "errors=remount-ro" -- which causes it to be
remounted read-only after an error.

see man 8 mount for more information on the mount options... and see
"dmesg" to see if the kernel has been complaining about one of your
drives.

rdiff-backup never mounts or remounts filesystems... this problem would be
caused by any program trying to access the file with the disk error.

-dean

On Fri, 24 Jun 2005, Christos Tachtatzis wrote:

Hi everyone,

I am running rdiff-backup for sometime now on a FC3 box which I
recently update it to FC4. Since the python path changed I moved all
the required libraries to the new python path and the backups start
working again smoothly. I am doing backups localy to an external usb
drive, which is mounted only when the script runs and then unmounts to
keep the backup safe.

However today the backup failed and the error message is below. I
was monitoring /proc/mounts and the partition is mounted read-write
from the mount command but when the rdiff-backup starts it remounts
the partition as read-only.

Has anybody come accross this problem. Am I doing something wrong
here? If you need more info let me know.

Regards,
Christos

<output>


Previous backup seems to have failed, regressing destination now.
Regressing to Thu Jun 23 02:02:14 2005
Regressing file .adobe/Acrobat/7.0/Cache/AcroFnt07.lst
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
254, in Main
take_action(rps)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
226, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
264, in Backup
backup_init_dirs(rpin, rpout)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
296, in backup_init_dirs
checkdest_if_necessary(rpout)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
672, in checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.4/site-packages/rdiff_backup/regress.py",
line 70, in Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/usr/lib/python2.4/site-packages/rdiff_backup/rorpiter.py",
line 279, in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.4/site-packages/rdiff_backup/regress.py",
line 231, in fast_process
if rf.metadata_rorp.isreg(): self.restore_orig_regfile(rf)
File "/usr/lib/python2.4/site-packages/rdiff_backup/regress.py",
line 253, in restore_orig_regfile
tf.write_from_fileobj(rf.get_restore_fp())
File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line
828, in write_from_fileobj
outfp = self.open("wb", compress = compress)
File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line
808, in open
else: return open(self.path, mode)
IOError: [Errno 30] Read-only file system:
'/mnt/usbdrive/backups/homes2/user/.adobe/Acrobat/7.0/Cache/rdiff-backup.tmp.0'
$

</output>


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki


Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB