Skip to header Skip to main navigation 跳转到主要内容

页首综合菜单

  • 优惠申请
  • 留学服务
  • 研学与学业咨询
  • 生态放羊黑山羊
  • 随想碎碎念
首页
留学专家 George老师

学术兴趣分类

  • IT技术
  • 交通运输与物流
  • 人文科学、通识教育与人文学科
  • 传播、新闻及相关项目
  • 健康专业及相关项目
  • 公共行政与社会服务
  • 公园、娱乐、休闲、健身与运动学
  • 军事技术与应用科学
  • 农业与自然资源
  • 商业
  • 国土安全、执法与消防
  • 图书馆学
  • 地区、民族、文化、性别与群体研究
  • 外语、文学与语言学
  • 家庭与消费科学/人类科学
  • 工程学
  • 工程技术
  • 建筑及相关服务
  • 数学与统计学
  • 法律专业与研究
  • 物理科学与科学技术
  • 生物与生物医学科学
  • 社会科学与历史
  • 神学与宗教职业
  • 精密生产
  • 英语语言与文学/文学
  • 视觉与表演艺术
  • 跨学科/多学科研究
  • 通信技术
  • 哲学
  • 建筑学
  • 心理学
  • 教育学
  • 留学&跨国教育
  • 研学
  • 科学
  • 经济学
  • 英语学习
  • 语言学
  • 资料分享
  • 金融

“Read-only File System” Error and Solutions

面包屑

  • 首页
  • Blog
  • “Read-only File System” Error and Solutions
旧博客配图

昨天要给我的一些ape music转换格式为flac,但是musicbee告知我文件是写保护的。我是通过windows的samba协议和我的nas链接获取文件的,首先是试了一下在windows explorer里面创建一个文本文件,发现整个mout的网络磁盘都不能写入。这就有点尴尬了。

然后就回到NAS的终端,用root来改权限试试,

试着用 chmod 777 -R ./ 来更改权限,但是想不到提示了有一个error,就是 Read-only File System。

所以这是没办法了吗?

这不就得找个解决办法嘛。

但是想不到最简答的第一个办法就解决了,那就是重启了一下我的NAS。

然后再执行 chmod 777 -R ./,就顺利通过了。

看起来真的是计算机世界的基本操作,遇事不决先重启!

参考自:

https://linuxtect.com/read-only-file-system-error-and-solutions/

 

The “Read-only file system …” is an error that is related to the file system. This error may occur in different situations for different reasons. This error simply expresses that the target file system is mounted as read-only mode and it can not be written or changed.

Read-only File System Error Cases

There may be different “read-only file system” error cases. Generally, they are not directly causing this error. The main reason is the file system is mounted as read-only for different reasons. Below we list some cases of this error.

While trying to restart apache2 web server you may get this error like below.

$ sudo service apache2 start
password for username:
sudo: unable to open /var/lib/sudo/user: Read-only file system  
* Starting web server apache2                                      

List Mounted File Systems

First, we will list already mounted file systems. The mount command can be used to listed mounted file systems. The output may a bit long but just find the lines related to the root path and home path.

mount

Re-Mount File System

The first step to solving a read-only file system error is remounted file system. Because the file system may be mounted as read-only for different reasons which occur once in a time. So remounting file system will mount it in a normal state. Specified file systems located in the /etc/fstab configuration file can be remounted with the following command. This operation requires root privileges as expected.

sudo mount -o remount /

Reboot System

Another way to solve read-only file system error is rebooting the system. Rebooting the system make a fresh start where prevous error are cleared which may be related libraries, configuration, temporary changes etc.

sudo reboot

Check File System For Errors

Rebooting the system generally checks the file system for errors and if it is errors they are fixed. But in some cases, this may not work. We can explicitly check errors and fix them automatically by using the fsck command.

sudo fsck.ext4 -f /dev/sda2

Re-Mount File System In Read-Write

The file system is configured to be mounted as read-only by default. But these file systems can be also mounted as read and write. The rw option can be used to mount read and write.

sudo mount -oremount,rw /

linux
IT技术

评论

关于文本格式
  • 不允许使用HTML标签。
  • 自动断行和分段。
  • 网页和电子邮件地址自动转换为链接。

编辑手记和后续补充

名人名言集锦-点击翻看名言

Flipbox Container

Front Side Content

茨威格

茨威格

Back Side Content

life never gives anything for nothing, and that a price is always exacted for what fate bestows.

生活从不会平白无故地给予任何东西,命运所赋予的一切,总是要付出代价的。

阅读全文

Front Side Content

梵高

梵高组品左耳

Back Side Content

过快乐的生活比自杀好!

阅读全文

Front Side Content

梵高

梵高组品左耳

Back Side Content

快乐的活着比自杀好!

阅读全文

Front Side Content

胡适

胡适-父母于子女无恩-留学专家菊叔

Back Side Content

我们要深信:今日的失败,都由于过去的不努力。我们要深信:今日的努力,必定有将来的大收成。佛典里有一句话:‘福不唐捐。’唐捐就是白白地丢了。我们也应该说:‘功不唐捐!’没有一点努力是会白白地丢了的。在我们看不见想不到的时候,在我们看不见想不到的方向,你瞧

阅读全文

Front Side Content

佚名anonymous

用鲁迅代替佚名-留学专家菊叔

Back Side Content

你并不是一个独特的受害者,你只是一个普通人,遇到了常规的险与恶,因此不要过度可怜自己,应当像千千万万的其他人一样,找到一种方式跨越,然后继续走下去。

阅读全文

Front Side Content

李大钊

李大钊——留学专家菊叔

Back Side Content

学要学得踏实,玩要玩得痛快

阅读全文

Front Side Content

陈丹青

陈丹青-留学专家菊叔

Back Side Content

"每个人应该自己救自己,就是忠实自己的感觉,认真做每一件事,不要烦,不要放弃,不要敷衍。哪怕写文章时标点符号弄清楚,不要有错别字——这就是我所谓的自己救自己。"

阅读全文

Front Side Content

胡适

胡适-父母于子女无恩-留学专家菊叔

Back Side Content

治学有无成绩,有无结果,不是单靠方法就可以做得到的。在方法之前还须有更重要的先决条件,那些先觉条件不具备,即有方法也是没有用的。

第一要有博大的准备

第二要有好的习惯

阅读全文

Front Side Content

胡适

胡适-父母于子女无恩-留学专家菊叔

Back Side Content

今日世界文明之基础所以不坚牢者,以其础石非人道也,乃兽道也。今日世界如道行之人至歧路之口,不知向左向右,而又不能不抉择:将循旧径而行兽道乎?抑将改途易辙而行人道也?世界如此,吾辈之世界会亦复如是,吾辈将前进耶?抑退缩耶?

——At the Parting of the Way

阅读全文

Front Side Content

艾德勒(胡适老师)

艾德勒-胡适的老师之一-留学专家菊叔

Back Side Content

学习的目的在于成长,而我们的思想,与我们的身体不同,可以继续成长,只要我们继续生活。

阅读全文

Front Side Content

司马迁

司马迁-留学专家菊叔

Back Side Content

众口铄金,积毁销骨。

——《史记 张仪列传》

阅读全文

Front Side Content

胡适

胡适-父母于子女无恩-留学专家菊叔

Back Side Content

《病中得冬秀书》:岂不爱自由?此意无人晓。情愿不自由,也是自由了。

阅读全文

Front Side Content

Robert Lee Frost

罗伯特李福斯特-未选择的路-留学专家菊叔

Back Side Content

The Road Not Taken

Two roads diverged in a yellow wood,

And sorry I could not travel both

And be one traveler, long I stood

And looked

阅读全文

Front Side Content

佚名anonymous

用鲁迅代替佚名-留学专家菊叔

Back Side Content

真正的关心只有三种:一是精神上让人愉悦;二是物质上给予支持;三是人生道路上能给出具有实际价值的建设性意见。

阅读全文

Front Side Content

Saul Bellow

Saul bellow

Back Side Content

期待其他人类的陪伴是一种致命的错误。

阅读全文

Front Side Content

胡适

胡适-父母于子女无恩-留学专家菊叔

Back Side Content

“吾国旧教育之大病,在于放弃官能之训练,诵读习字之外,他无所授。”

阅读全文

Front Side Content

裴多菲·山陀尔(Petőfi Sándor)

裴多菲——留学专家菊叔

Back Side Content

Szabadság, szerelem! E kettö kell nekem. Szerelmemért föláldozom Az életet, Szabadságért föláldozom Szerelmenet. 

自由,爱情! 这两样我都想要。 为了爱情,我献出生命,

阅读全文

Front Side Content

古龙

古龙-有人的地方就有江湖-留学专家菊叔

Back Side Content

有人的地方,就有江湖。

阅读全文

Front Side Content

胡适

胡适-父母于子女无恩-留学专家菊叔

Back Side Content

《我的儿子》
我实在不要儿子,
儿子自己来了。
“无后主义’的招牌,
于今挂不起来了!
譬如树上开花,
花落偶然结果。
那果便是你,
那树便是我。
树本无心结子,
我也无恩于你。
但是你既来了,
我不能不养你教你,
那是我对人道的义务,
并不是待你的恩谊。
将来你长大时,
莫忘了我怎样教训儿子:
我要你做一个堂堂

阅读全文

Front Side Content

艾德勒(胡适老师)

艾德勒-胡适的老师之一-留学专家菊叔

Back Side Content

“道德的责任并不是外烁的戒律;而是能让他人——例如所爱的人——把最完美的自我展现出来的一种不得不为的行为;

“我们只有透过关切他人或外界,才可能常保活力和正直”;

“人生的要义在生趣盎然地(vitally)影响他人”;

“影响他人之道在让他们不妄自菲薄”

这些出自胡适的《留学日记》

阅读全文

Front Side Content

达尔文

2002年在中山大学南校区生命科学院曾宪梓北楼门前与达尔文雕像合影-留学专家菊叔

Back Side Content

自然选择只是利用微细的、连续的变异而发生作用;她大自然从来不能采取巨大而突然的飞跃。

《物种起源》

阅读全文

Front Side Content

古龙

古龙-有人的地方就有江湖-留学专家菊叔

Back Side Content

在他的作品里说过的一些名言:

    人在江湖,真的身不由己啊!还有人可以相思至少总比没有人相思好。骄傲本就是件愚蠢的事哪。路本是同样的路,只看你怎么样去走而已。棋局就是人生,只要一著走错,就非错不可。一个人的命运如何,本就是他自己造成的,所以正直勤勉的人,总是会有很运气。世上绝不会有那么
阅读全文

Front Side Content

胡适

胡适-父母于子女无恩-留学专家菊叔

Back Side Content

我们必须把国家视为只是促进其所组成的个人的福祉与自由发展的工具而已。

阅读全文

Front Side Content

鲁迅

鲁迅一张修复了的旧照片-留学专家菊叔

Back Side Content

一篇是《论他妈的》 。“他妈的”是中国的“国骂” ,不登大雅之堂,也从来没有人写过文章谈“他妈的” ,鲁迅不仅谈了,还要做出论文,考证了“他妈的”作为国骂是从什么时候开始的,他考证的结果是从晋代开始的,晋代有门阀制度,讲究出身,出身大家族就一切前途光明,出身寒门就什么都没有

阅读全文
more

Powered by Drupal Copyright © 2025 留学专家菊叔-中山大学放羊哥 - All rights reserved

Developed & Designed by https://wangjueju.cn