Questions tagged [read-only]
105 questions
30
votes
5 answers
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
- 413
18
votes
7 answers
How do you re-mount an ext3 fs readwrite after it gets mounted readonly from a disk error?
Its a relatively common problem when something goes wrong in a SAN for ext3 to detect the disk write errors and remount the filesystem read-only. Thats all well and good, only when the SAN is fixed I can't figure out how to re-re-mount the…
cagenut
- 4,868
17
votes
4 answers
Read only bind-mount?
I use mount -o bind to mount directories inside chroots, which works really well. The problem is that I'd like some of these bind-mounted directories to be read only in chroot.
Is it possible? If not - any other way to achieve it?
I was thinking…
user13185
16
votes
3 answers
How do I create a read only MySQL user for backup purposes with mysqldump?
I'm using the automysqlbackup script to dump my mysql databases, but I want to have a read-only user to do this with so that I'm not storing my root database password in a plaintext file.
I've created a user like so:
grant select, lock tables on *.*…
stickmangumby
- 546
14
votes
6 answers
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 by something else than dying hard drive. This is…
user606521
- 251
14
votes
4 answers
mount: cannot remount block device /dev/sda5 read-write, is write-protected
Everything is working as usual except the disk is read-only and don't want to change back.
thanks.
root@NODE02:/tmp# df .
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda5 461490504 179502128 258545928 41%…
Marc Riera
- 1,697
11
votes
2 answers
Crate a new, read-only user in postgres
I would like to create a new user in an existing postgresql database on an Ubuntu machine. I want to grant this user a read-only access to all the tables.
How do I do it? Do I need to create a new user on Ubuntu, too?
Thanks,
Udi
Adam Matan
- 14,084
10
votes
4 answers
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 meet the requirements of the financial services…
phil_ayres
- 201
8
votes
3 answers
Linux: Force fsck of a read-only mounted filesystem?
I'm developing for a headless embedded appliance, running CentOS 6.2. The user can connect a keyboard, but not a monitor, and a serial console would require opening the case, something we don't want the user to have to do. This all pretty much…
Timothy Miller
- 291
8
votes
1 answer
Does the Read-Only configuration of a DC apply only to Active Directory?
Firstly, I'm not sure how friendly the users of this site are to students but my question seems to be well suited.
I am configuring a domain with multiple Windows Server 2008 machines and am curious whether I can successfully install certain roles…
BrianR
7
votes
1 answer
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 cleared out the cache using this "sync; echo 3 >…
Abdul Wadood
- 73
6
votes
1 answer
VirtualBox: vboxsf filesystem wrongly detected as readonly?
I have VirtualBox (Windows XP host) running a CentOS 6.0 virtual machine, with one shared folder.
Here is the list of mounted devices:
[root@localhost ~]# mount -l
...
www on /media/sf_www type vboxsf (gid=501,rw)
Looks like it's read/write.
Now if…
BenMorel
- 4,685
5
votes
5 answers
Read Only Domain Controller for standalone/off-site testing location
In a bit of a pinch: a client needs to test an Active Directory enabled CRM system that consists of a SQL 2008 Server and a Windows 2008 Standard Server (the application server). As far as I know, Active Directory is required for end-user…
gravyface
- 13,987
5
votes
3 answers
SVN: How to setup a read-only branch in Subversion?
As lead web developer for my employer's organization, I'm responsible for configuring and maintaining an SVN repository for each of our web applications. Each has several archived versions and at least a couple of branches.
Currently, to deploy the…
Brian Lacy
- 1,123
- 4
- 16
- 23
5
votes
4 answers
Running Linux on a read only disk - possible?
I'm wondering if it is possible to run a Linux server from a read only disk, specifically CentOS 5.4.
Our system has a number of Linux machines each with their own disk with it's OS installed. Everything is read/write enabled at the moment. We're…
fwg
- 241