As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [read-only]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
276 views

OSError: [Errno 30] Read-only file system: <relative_path_to_file>

(On Ubuntu 22.04 LTS) When trying to create or edit any file or directory on my hard drive I get a 'Read-only file system'-error (two days ago I could still do that): $ whoami mattia $ mkdir example ...
Asterix's user avatar
0 votes
1 answer
30 views

Can't `lvconvert` when root is readonly

My root is mounted readonly (on purpose). I have a separate, read-write vg where I want to lvconvert --merge a thin snapshot. I'm getting Cannot archive volume group metadata for $VG to read-only ...
Duncan Townsend's user avatar
0 votes
0 answers
53 views

How to enable password policy on readonly filesystem?

I'm using a read-only filesystem (squashfs). I've used the overlays file system to mount /etc directory. I can change the password using passwd command. I've included libpam & libpwquality ...
vishnumotghare's user avatar
0 votes
0 answers
71 views

Cannot edit journald.conf

I'm working with a embedded linux machine that was made with Buildroot. The default user is root and I would like to edit /etc/systemd/journald.conf to set the SystemMaxUse to prevent the log files ...
Life Impactor's user avatar
0 votes
0 answers
49 views

rsync: failed to set times on "/opt/dcm4chee-2.18.3-mysql/server/default/archive/2021/11/16/15": Read-only file system (30)

Jul 24 22:41:28 simpelpacs systemd[1]: Stopping MySQL Community Server Jul 24 22:41:28 simpelpacs systemd[1]: Stopped MySQL Community Server Warning: Journal has been rotated since unit was started. ...
Yabes Situmorang's user avatar
0 votes
1 answer
361 views

In the bind mount "hostPath:containerPath:ro" what dose the ro part do?

How do I know I need to add the ro or not? I know the ro stands for read only but why would you need a read only bind mount? How would it effect my docker-composer-yml Example: Containerizing a ...
Andrew's user avatar
  • 1
0 votes
0 answers
51 views

Block users from accessing anything outside home folder and run any executables on Windows

I am facing a quite complex problem and I do not know how to approach it in the best way. In short I need to block access (browse, display, run etc.) to anything outside of the profile/home directory ...
BrX's user avatar
  • 13
1 vote
1 answer
2k views

Debian server showing "read only file system" repeatedly

I am having issues with being unable to SSH into my server, running Debian 11. If I try to make a folder or file, I get an error that says mkdir: cannot create directory ‘/tmp/test’: Read-only file ...
Josh Loecker's user avatar
0 votes
1 answer
32 views

VM in Read-Only - no commands executed

A Ubuntu 18.04 LTS server VM has entered Read-Only Mode, to the point that basic commands such as ls are not executed anymore, and return the error message -bash: /usr/bin/ls: Input/output error, ...
PalomaLVP's user avatar
3 votes
1 answer
943 views

Why can I change the the reserved blocks on a read only mounted ext4 filesystem?

I would have expected an error, sorry FS is read-only, but it is possible. This is unexpected & counter intuitive is there a reason? Linux files 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 ...
lithium7's user avatar
1 vote
0 answers
287 views

exportfs with rw not working , fstab either. Mount point still read only on my setup machine

I have a VM that other VMs and servers mount from. This vm has an ip of say: 10.10.1.1 The folder that others mount is \export\images So one VM mounts this in its fstab: 10.10.1.1:/export/images ...
Codejoy's user avatar
  • 97
3 votes
1 answer
652 views

Gluster Read-Only file system

I'm stuck with this problem and I can't solve it, we have a website so people can upload their videos on it in some path (Temp directory for example) then our admins go and move these video to another ...
GKaveH's user avatar
  • 31
0 votes
0 answers
585 views

nslookup domain does not return RODC

i have a subnet which contains an RODC, however a prejoined domain-server cant authenticate inside the subnet. Running a "nslookup domain.com" does return a list of every DC except the RODC. I found ...
Shaeldon's user avatar
  • 101
1 vote
0 answers
3k views

NFS read/write mountpoint returns read-only file system error when written

I have two nodes running CentOS Linux release 7.3.1611 (Core), one for computing (mu01), the other for storage (io01). As root, I mounted a directory /data on io01 to /data on mu01 by mount -t nfs -o ...
wdg's user avatar
  • 143
0 votes
0 answers
448 views

Unable to remove Read-Only attribute from folder

I have a Windows Server 2012R2VM File Server on an ESXi host (lab environment, domain joined). Everything seems to work just fine on the the environment. I am testing a new software which utilises SQL ...
pantelis's user avatar
0 votes
2 answers
447 views

DB2 10.5 HADR read only standby applications don't reconnect to primary

Scenario: server SERV_A, database DBNAME primary server SERV_B, database DBNAME standby with DB2_HADR_ROS enabled Then this situation occurs: connection CON is made from client to DBNAME when ...
Aljaz Vidmar's user avatar
1 vote
0 answers
5k views

Cannot change /etc/hosts in docker container with read_only root filesystem

I am trying to add a line in /etc/hosts file with a specific IP and a hostname. The IP is static and the hostname is retrievable from the /etc/hostname. However, I want my root file system to be read-...
belabrinel's user avatar
0 votes
2 answers
10k views

How to tell if linux disk is READ ONLY

I have a sata disk on module which has a hardware switch which can lock the disk from being written in a READ ONLY MODE. Is there a way to tell in software whether or not that switch has been switched ...
Rusty Weber's user avatar
1 vote
3 answers
3k views

innodb-read-only prevent mysql replication? Table 'gtid_slave_pos' is read only

I set up a couple of maraidb v10.2.10 containers with the official docker image. Master can read/write and slave is read-only with this my.cnf. [mysqld] server_id=2 read_only=1 innodb_read_only=1 ...
kujiy's user avatar
  • 466
0 votes
1 answer
1k views

Read-only DC lost connection and client can't sign in

we have two site (office & factory). in factory site we have read-only Domain controller. connection of two sites is radio wireless and yesterday we lost connection because of storm. now users can'...
Bheid's user avatar
  • 23
0 votes
1 answer
2k views

VM starts with system disk in read-only mode

My vm starts with the system disk in read-only mode, so system can't load anything properly. The instance was created with the disk of and old vm, but in the instance properties disk is "boot, read/...
Fernando's user avatar
1 vote
2 answers
6k views

Permission to read a specific file with sudo

For reasons, I need to read /root/.ssh/authorized_keys with a user who hasn't the right to read it. Obviously, I can't change the rights (nor the ACL) of the file, because ssh wouldn't like it. I ...
Shan-x's user avatar
  • 168
1 vote
0 answers
3k views

80090308: LdapErr: DSID-0C0903D9, comment: AcceptSecurityContext error, data 0, v2580

Trying to fastbind against an RODC and I'm getting the following error: 80090308: LdapErr: DSID-0C0903D9, comment: AcceptSecurityContext error, data 0, v2580 I have googled around and don't have ...
Stelly's user avatar
  • 11
1 vote
0 answers
26 views

How do you 'bake' a Red Hat Atomic image in read-only mode?

Many people are talking up the security benefits of Red Hat Atomic - being a read-only operating system - means substantially fewer vulnerabilities - particularly important in the cloud. When I ...
Hawkeye's user avatar
  • 2,689
0 votes
0 answers
30 views

What configuration change read only task of log files

What configuration changes required in jboss-server standalone.xml file for generating read only server log. Jboss server runing on linux machine. Can I achieve read only task on changing xml ...
Ram Kumar's user avatar
-1 votes
1 answer
8k views

VM filesystem in read-only mode

I have a VirtualBox Ubuntu VM with a virtual disk that is mounting as a read-only filesystem. I'm not sure why that is, and my attempts to remount as read/write haven't worked. One of the last things ...
Jeff Schuler's user avatar
0 votes
1 answer
315 views

Mount partition as read-only until reboot

Is it possible on Linux to mount a partition as read-only at boot time and make sure it cannot be re-mounted as read-write until next boot / power off?
Silviu's user avatar
  • 3
0 votes
1 answer
2k views

Can't remove mongod.lock

all. I want to remove mongod.lock. When I try sudo rm -rf mongod.lock I got this rm: cannot remove ‘mongod.lock’: Read-only file system Can anyone tell me how to force remove it? Thanks, Ami
Aminah Nuraini's user avatar
0 votes
1 answer
409 views

SharePoint Foundation 2010 Existing files after upgrade are read only

Over the weekend we upgraded our server, including SharePoint. Previously we were using WSS3.0 on Server 2008R2. We moved to SharePoint Foundation 2010 on Server 2012R2. We also have Exchange 2016 ...
Cory's user avatar
  • 101
0 votes
1 answer
214 views

Lock a specific mysql database in shared mysql database

I am trying to migrate a database from one cluster to another cluster. In order to avoid any data loss during the migration, I am trying to lock my database with the WRITE operations. But the lock ...
rajkumarts's user avatar
0 votes
1 answer
694 views

Server 2012 - how to make files in a folder readonly to everyone but creator/owner

I'd like to setup a shared folder on my Windows Server 2012 box where all the managers can put files that they can edit, and other users can open, read and print, but can't change or delete. It ...
Jim Brundle's user avatar
-2 votes
1 answer
466 views

XEN Server NFS SR read only

We have two Boxes running XEN XCP. One SR is located on an FreeNAS 9 NFS share. For some reason the NFS share turned read only which is pretty bad for one VM whose VDIs are located on the NFS SR. I ...
Rob's user avatar
  • 1
1 vote
1 answer
3k views

Windows Hyper-V Debian going into Read Only mode

I am running Debian 7.8 (wheezy) which is installed on a Windows Hyper-V server (not managed by me). However, the server frequently goes into 'read only' mode and I am not sure why. I have looked in ...
Dudedolf's user avatar
0 votes
1 answer
204 views

Linux CentOS: A server throws weird error messages, can you speculate why?

There's a server in my company which is part of the production environment. On the server there's an ActiveMQ server running. I logged into the Active-MQ UI and tried to create a new queue. When I did,...
Itai Ganot's user avatar
  • 10.6k
2 votes
1 answer
7k views

Bitlocker Drive cannot save files on this drive [closed]

I have a freshly installed Windows 2008 R2 Server with a C drive containing the operating system and d drive as a normal data drive. Ive turned on encryption on the d drive using Bitlocker. The ...
Peter Jamsmenson's user avatar
0 votes
1 answer
50 views

Unable to read some files on hard disk

Our server has two independent hard disks without RAID. One hard drive just for storing junk/temporary data where we generally delete temporary data using LRU algorithm. We have a 10k file in that ...
khizar ansari's user avatar
-5 votes
1 answer
9k views

MySQL : How to lock all write in all databases? [closed]

I need to block all writes (insert , update, delete) on all databases. How can I do that ? Put all database in Read Only for a period time.
AssoumaniSaïd's user avatar
0 votes
2 answers
2k views

How to backup your MySQL database when /tmp is read only?

I have an Ubuntu server 12.04 with a corrupted ext4 file system on my /tmp partition : $ dmesg | tail [25300713.878456] end_request: I/O error, dev vda, sector 2019854 [25300713.882430] Aborting ...
Bite code's user avatar
  • 409
0 votes
1 answer
657 views

AuFS read only branch as another read only branch

My goal is to use an AuFS read only branch as another read only branch: I've got a directory dir0, then I make : mount -t aufs -o br=dir2=rw:dir0=ro none dir1 This gives me - dir0 - dir1 #read ...
rmonjo's user avatar
  • 231
1 vote
1 answer
2k views

Portable Webserver (PHP, MySQL) on CD-ROM

For a school project, I programmed something based on PHP using a MySQL database. for evaluation, it is necessary to hand the program together with the documentation three times to the teacher -- but ...
Lukas Juhrich's user avatar
1 vote
1 answer
706 views

Server Fileshare Office Documents Read Only until Closing and Reopening

Have a customer that has a strange issue with Microsoft Office Documents on their file server. It does not happen every time they open an office file but it is pretty consistent. They get a read only ...
Garrett's user avatar
  • 11
1 vote
1 answer
9k views

Ubuntu server mounted in read-only? [closed]

This morning my Ubuntu server suddenly appeared in read-only mode. Google says this can happen after updates. I restarted the server and it booted with fsck errors: Inodes that were parts of a ...
Martin's user avatar
  • 220
-1 votes
1 answer
458 views

How to create a readonly root linux: Can be mounted as writeable for persistent changes? [closed]

I'd like a read only file system that runs almost entirely in RAM but the compact flash or hardrive can be mounted and made writeable to make persistent changes. How do I do this on Linux? I've ...
Mr Anderson's user avatar
8 votes
4 answers
13k views

Write once, read many (WORM) using Linux file system

I have a requirement to write files to a Linux file system that can not be subsequently overwritten, appended to, updated in any way, or deleted. Not by a sudo-er, root, or anybody. I am attempting to ...
phil_ayres's user avatar
14 votes
6 answers
83k views

How to find cause of main file system going to read only mode

Ubuntu 12.04 File system goes to readonly mode frequently. First of all I have read this question file system is going into read only mode frequently already. But I have to know if it's not caused ...
user606521's user avatar
3 votes
5 answers
70k views

How to mount a filesystem in a read-only environment?

I have the problem that my machine turned the root filesystem into readonly mode and remounting it as writeable won't work: # mount -o remount,rw /dev/sda1 / mount: block device /dev/sda1 is write-...
Gregor Müllegger's user avatar
2 votes
3 answers
3k views

Running mysqldump on a debian system that has gone into read-only mode

An old Debian system of mine has recently had the primary hard drive go into read-only mode due to some disk problem. I have a MySQL database on the server that I would like to backup before trying ...
Nada_Surf's user avatar
  • 193
28 votes
5 answers
109k views

Why is an nfs server mounted as rw returning read only filesystem errors

I am working on a Ubuntu Server 64bit. I have mounted an nfs as rw, but whenever I try to edit anything on the mountpoint in question, I get a read-only filesystem error my etc/fstab reads: # <...
stupac8908's user avatar
0 votes
1 answer
1k views

install vmware tools in zeroshell 2.0

Situation I'm using the 2.0 RC2 iso from http://www.zeroshell.org in a VMware ESXi 5.1 virtual machine and am trying to adapt the instructions on HowTo: vmware-tools in ZeroShell for v2.0 as the file ...
BeowulfNode42's user avatar
1 vote
1 answer
6k views

file system is going into read only mode frequently

My server file system is going into read only mode frequently. If I reboot my system, It is performing a fsck operation on disks. But, It is exited with exit status 4 ( File system errors left ...
sat's user avatar
  • 1,233