Questions tagged [read-only]

The tag has no usage guidance.

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

md0 mount comes read-only after some writing

So I got a RAID 6 array (monitored) and I mount it to my filesystem (/mnt/mounting_point for this example). After some writing, for example: sudo fio --name=seqwrite --filename=/test/seqwrite.0.0 --rw=...
user2143364's user avatar
0 votes
0 answers
58 views

On linux filesystem becoming RO, how to reliably reboot?

When the main Linux partition becomes ro for some reason (errors), I am trying to use cron job to check and reboot (so that fsck can run and attempt a fix), but I see that even the cron may not run! ...
Ani's user avatar
  • 32
0 votes
0 answers
64 views

"/etc/nginx/nginx.conf is meant to be read-only" when editing with nano after upgrading Ubuntu 20.04 to Ubuntu 22.04

I am recently upgraded Ubuntu Server 20.04 to Ubuntu Server 22.04. It is a LEMP server running the latest Mainline version of Nginx. After the upgrade, when I try modifying the /etc/nginx/nginx.conf ...
DanRan's user avatar
  • 73
4 votes
1 answer
224 views

why read is faster when using O_DIRECT flag?

I copied a 10GB of file in my SSD which has read bandwidth of around 3.3GB/s, benchmarked using fio command. Here is the ref: https://cloud.google.com/compute/docs/disks/benchmarking-pd-performance I ...
Abdul Wadood's user avatar
0 votes
1 answer
36 views

BTRFS partition auto mounts ro

i have my /home/ on a btrfs partition and it appears like after loggingf in to Plasma with my default userm, it becomes mounted ro (rw after boot before login). I booted a USB live system asnd ran ...
stdcerr's user avatar
  • 246
0 votes
0 answers
395 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
54 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
64 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
112 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
1 answer
515 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
72 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
39 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
1k 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
303 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
  • 129
3 votes
1 answer
704 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
664 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
2 votes
0 answers
4k 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
  • 153
0 votes
0 answers
497 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
487 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
6k 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
  • 123
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
7k 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
27 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,699
0 votes
0 answers
31 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
337 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
410 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
254 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
703 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
499 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
207 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.7k
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
52 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
669 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
708 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
468 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
9 votes
4 answers
14k 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
72k 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