我正在尝试删除rdiff备份文件夹,因为备份过程中出现了一些问题,需要删除它的历史记录并重试.但是,当我跑:
rm -r -f rdiff-backup-data
rm: cannot remove `X': Read-only file system
这是我运行mount时得到的:
/dev/sdb1 on /media/usbdisk type ext3 (rw)
这表明驱动器是rw?
ls -la / media / usbdisk给出以下内容:
[root@localhost v5]# ls -la /media/usbdisk total 36 drwxr-xr-x 5 root root 4096 Mar 31 2010 . drwxrwxrwx 9 root root 4096 Dec 15 2009 .. drwxrwxrwx 39 501 501 4096 Aug 19 09:04 development-backup drwx------ 2 root root 16384 Mar 30 2010 lost+found drwxr-xr-x 8 root 501 4096 Aug 19 00:00 officeshare-backup
任何人都知道发生了什么以及如何解决它?
UPDATE
发现驱动器是在/ proc / mounts中运行所以运行下面提到的remount命令并获得以下内容:
ext3_abort called. EXT3-fs error (device sda1): ext3_remount: Abort forced by user mount: block device LABEL=USBDISK1 is write-protected,mounting read-only ext3_abort called. EXT3-fs error (device sda1): ext3_remount: Abort forced by user