Ubuntu Servers :: Root File System Keeps Getting Remounted Read Only?
May 13, 2010
I have a 9.04 64bit Ubuntu server that I use for a home file server and for downloading duties, every few days the root filesystem gets remounted as read only, usually requiring a reboot and fsck to get everything running again. The box is tucked away in the roof space to keep the noise down so it's a bit of a pain to keep pulling it out to get console access.troubleshoot what might be causing this?/ is on a raid 1 array on 2 8GB usb sticks last few lines of DMESG EXT3-fs error (device md3): ext3_journal_start_sb: Detected aborted journal
Code:
[632280.290419] journal_bmap: journal block not found at offset 23180 on md3
[632280.290470] Aborting journal on device md3.
[code]....
View 9 Replies
ADVERTISEMENT
Dec 20, 2010
I just installed ubuntu on to a brand new samsung N310 series netbook, I opted for ext4 as I figure it should be stable, but awhile ago the laptop shut off with no visible reason, when I restarted I noticed that this is happening. What gives?
[ 202.405576] EXT4-fs (sda6): re-mounted. Opts: errors=remount-ro,commit=0
[ 243.500906] EXT4-fs (sda6): re-mounted. Opts: errors=remount-ro,commit=0
[ 303.782887] EXT4-fs (sda6): re-mounted. Opts: errors=remount-ro,commit=0
[code]....
View 3 Replies
View Related
Sep 29, 2010
I am using linux kernel 2.6.10 after some time one of the file system is becoming read only. Here is the kernel dump
Freeing unused kernel memory: 160k init
kjournald starting. Commit interval 5 seconds
EXT3-fs warning (device hda1): ext3_clear_journal_err: Filesystem error recorded from previous mount: IO failure
[code]....
View 6 Replies
View Related
Jun 23, 2009
I am interested in making the root file system is read-only. I've moved /var and /tmp file systems to another partitions. There are two files in the /etc directory that need to be writable.
These are:
I've moved this files to /var and linked it. I've added command to the /etc/rc.d/rc.local file:
That's it. Are there other solutions to make the root file system is read-only?
View 1 Replies
View Related
Apr 27, 2010
For my project, it's absolutely necessary to have a read-only root partition system. I have a writable /opt/project partition.But, I also need to start x server. startx This tries to write to some temporary files and fails as / is readonly. Is there any how-to on how to move this temporary files to the writable portions of the file system.
View 3 Replies
View Related
Sep 27, 2010
I am using Gentoo Linux and for a while now, the root file system is mounted read-only on booting. For obvious reasons, this is quite annoying as most services do not start up correctly (I do not use a separate file system for /var). After the system is up, I have to log in, remount the root file system read-write, fix /etc/mtab, mount all other file systems in from /etc/fstab and then start up all the missing daemons. I know that there are ways to make a system run properly with a read-only file system, but I would rather restore the old behaviour of a writable root file system.
The strange thing is that after running mount / -o remount,rw, the file system is mounted in writable mode without any errors. I suspected some problem with fsck, but now I have disabled automatic file system checks on the partition (tune2fs -c0 -i0).When I run dmesg, only these lines mention the partition at all, although I am not sure if not something gets lost because /var/log is not writable:
EXT3-fs (sda5): mounted filesystem with writeback data mode</code>
EXT3-fs (sda5): using internal journal
The line in /etc/fstab looks like this:
[code]....
View 2 Replies
View Related
Dec 21, 2010
My linux distro is CentOS 5.3. Today I edited /etc/sysconfig/readonly-root and set "READONLY" to yes, now my /etc/sysconfig/readonly-root file is like this:
# Set to 'yes' to mount the system filesystems read-only.
READONLY=yes
# Set to 'yes' to mount various temporary state as either tmpfs
[code]...
View 3 Replies
View Related
May 2, 2010
I bought a new SD card which I intend to put some MP3s on - except that I can't write to it because it tells me the destination is Read Only. No-probs thinks I: I'll just reformat it.
"Error creating file system: helper exited with exit code 1: cannot open /dev/mmcblk0p1: Read-only file system"
Various chmod commands all result in Read-only file system. I tried umount then mount commands, but it couldn't find it to mount once I'd unmounted it using the same /media/ file path (I assume it's the only one).
View 9 Replies
View Related
Jul 12, 2010
My Redhat Enterprise Linux 4 with 6x partitions (/, /boot,/home, /usr, /var, /tmp) of 6.0 GB IDE Hardisk was working quite fine. I decided to create LVM on /home and /var partitions but due to some errors occured and I delete the /home partitions. That's why partition table altered. I then delete 4,5,and 6th partitions (/home, /var, /tmp) partitions and now try to create one by one but following error is coming:-
[Code]....
The Super block could not be read or do not describe a clear ext2 file system. E2fsck b 8193 <device> I have tried following commands,but could not successful:- e2fsck -p /dev/hda7 (where hda7 was created but afterthat it was deleted) e2fsck -a /dev/hda7
View 2 Replies
View Related
Feb 2, 2010
Have just assembled a new computer and thought I would install the 64 bit version of openSUSE 11.2 in a "Windows free zone". After a hiccup or two I have managed to get a system of sorts running but on trying to copy files from my old computer(via a memory stick) it tells me that Vfat is an unknown file system.On my old computer I am running 32 bit openSUSE 11.2 as a dual boot system with Windows XP and have no problems moving files between the two different file systems.Is it possible to get a 64 bit file system to read 32 bit file system drives and if so how do I do it?
View 7 Replies
View Related
Jun 2, 2010
Remember back in the days of MS-DOS, a file could have 4 different attributes: archive, read-only, hidden, system. As you know, MS-DOS didn't have any user rights or privileges. Files had no owner. If you were at the command line, you could do whatever you wanted, you could change or delete any files you wanted to... so long as they weren't read-only. Under MS-DOS, if you had a read-only file and tried to delete it, you would get an error saying "Cannot delete read-only file". There was a simple remedy to this, just turn off the read-onlyness:
Code:
attrib -r hello.txt
The point I'm trying to make here is that even though you had full permissions over the file, you still had to turn off its read-onlyness before you could make a change. Well I'm trying to do something similar in Linux. Under Linux, the root user has full permissions over every file. But I need to make a particular file read-only so that not even the root user can alter it. I have a few programs on my computer that need to be run as root because they do some low-level networking (raw sockets and the like), and these programs alter my "/etc/resolv.conf" file. Well I need to find a way of making my "/etc/resolv.conf" file READ-ONLY, even for the root user. It doesn't seem as though the Linux filesystem provides a means of doing this, reason being that the root user will always be able to alter any file it wants to. I was thinking though... there's some way I could turn my "/etc/resolv.conf" file into a virtual file of some sort, like maybe I could use some sort of mount program to mount the file as read-only... ?
View 9 Replies
View Related
Jul 21, 2010
I plugged in my USb drive into my computer yesterday and tried to delete a folder. I was unable to do so and got the following message
Cannot move file to trash, do you want to delete immediately? The file "my file" cannot be moved to the trash. Show Details Unable to create trashing info file: Read-only file system
So when I click on delete I get another error message:
Error while deleting.
There was an error deleting Case Study Database. Show Details Error removing file: Read-only file system
At this point I can only click on Skip, Skip All, or Cancel.
I have not changed anything on the stick recently so I dont know what is causing the problem.
View 7 Replies
View Related
Jan 28, 2011
Can windows read files from a home file server with an ext4 file system? or do I have to partition the drive with the server (ext4) and an ntfs partition with the files on?
View 4 Replies
View Related
Jun 15, 2011
I've done a lot of search and already kind of fixed part of the problem, so this is where the fun comes in. I went away for the week, and not until the day I got back I lost power while out, and my computer rebooted after the power outage to Mac osx, which it's supposed to do as I'm using a Mac Pro and have a regular version of OSX 10.5 on there and my ubuntu server. I restart my computer and I get a few errors and my raid5(3 1tb drives) doesn't mount and says read only for everything else. I finally found a way to remount that raid which while in root I could create new folders and move folders, but only on that raid. I wasn't able to do anything with my boot drive. The weird part is, that now I can't ssh into the server and webmin won't even load. I'm still relatively new(little over a year, but honestly, not much has gone wrong to need to troubleshoot) to ubuntu server, so I'm not that best at troubleshooting it. I won't be home till later tonight, but any tips/tricks/ideas I can try when I get home would be great, or if you need any info, I can get it to you.
View 9 Replies
View Related
Apr 12, 2011
I came across this issue today and it changes everything I know about file permissions in linux. I created the following files in my system :
Code:
/tmp> ls -lad /tmp/testperm/
drwx------ 2 sagi users 4096 Apr 12 20:23 /tmp/testperm/
/tmp> ls -lad /tmp/testperm/file.txt
-rw------- 1 sagi users 12 Apr 12 20:23 /tmp/testperm/file.txt
[code]....
One more thing, as you can see I also set that only the owner of the directory (which is me again) can read and cd (the execute bit) to the directory. how come user 'root' can read the content of the file ?
Code:
# id
uid=0(root) gid=0(root) groups=0(root)
# cat /tmp/testperm/file.txt
Hello world
[code]....
View 9 Replies
View Related
Jun 16, 2009
All my torrents go to my home/username/Download/ folder, I could read/write yesterday but now I cant even copy the files to a flash drive.The error i get is "Cannot create regular file '/home/username/Download/file' : Read only file system.
View 14 Replies
View Related
Jul 27, 2011
I've restarted Apache after making changes to the php.ini file (/etc/php5/apache2) and no changes are reflected in phpinfo() which indicates that I am editing the correct file. I'm quite familiar with the process as I've done it many times before with no issues.
View 9 Replies
View Related
Jun 23, 2010
My server is not accessible any longer locally (192.168.0.2). If I attach a keyboard and login (I have done one pass of recovery from the Ubuntu live CD which helped) and check the IP address it seems to be set. However looking at the syslog file there is a line which says ext3-fs: info: recovery required on read only files system.
Is there a more extensive ext3 recovery facility I can use bearing in mind I will not (?) be able to install it?
I think I'm running 8.6 but not sure where to look to find it.
View 4 Replies
View Related
Nov 8, 2010
yesterday my downloads stopped working in transmission and gave an error: 'read-only file system'i have since found that all files on my eternal hard drive are now read only.i think it may have something to do with me recently changing the download location to my external hard drive in transmission. how i can rectify this and make it so i can read write again
View 2 Replies
View Related
Feb 10, 2010
I have sandisk usb and want to get rid of the "U3" partition that's on it, but its a read-only file system. can't chmod to 777 from root
View 3 Replies
View Related
Apr 25, 2010
I have a problem with my USB drive. When i try to make a file transfer, i get the error message which says that it is a 'read only file system' and i can not transfer any files. While looking for a way to solve the problem, i came across another case similar to what i have now which discussed in this thread: [URL]
However, i didn't understand how to resolve the problem from that thread.
View 6 Replies
View Related
Sep 7, 2010
I have a file system that I can't seem to read and write to. I've tried everything I can think of.
Code:
root@xubuntu:/mnt/t1# ls -la
ls: cannot access .Trash-1000: Input/output error
[code]....
View 2 Replies
View Related
Jan 28, 2011
I made a modification to the /etc/fstab using Ubuntu 10.04 and now it wont boot correctly. I can get the cli but when I enter /etc/fstab and make an edit it says" changing permission of /etc/fstab: read only file system"How can I mount the partition so that I can edit it
View 6 Replies
View Related
Oct 9, 2009
i want to edit the file menu.lst in /boot/grub i m facing a problem of not to enter in to the graphical interphase, so i m using only the boot terminal whn i try to edit this file it says the file is read only. i tried to change the permission of file with chmod also
but it is also not working i tried the comand gksu gedit /boot/grub/menu.lst but it is not opening the file to edit since the graphical interphase is not there.
View 5 Replies
View Related
Jan 16, 2010
I insert a certain cdrom into my DVD drive, the cd is mounted meaning I do can see the cd rom icon on my desktop. The cd rom icon name is the correct label of the cdrom but when I try to open the cdrom it results to be empty.
Then on the same computer I have installed Virtual Box and the Windows 7 image does read the content of the cdrom.
How can I read the content of the cdrom with ubuntu 9.10?
View 3 Replies
View Related
May 22, 2010
I can't insert songs in my iPod nano.There is an error occurs which says that it is a 'read only file system' in ubuntu
View 7 Replies
View Related
Oct 2, 2010
When trying to copy files from a local folder into a directory that is a mapping of my QNAP server I get an error message " Read-only file system" - and this only since a couple of days.Trying to change ownership with sudo chown also failed.
View 9 Replies
View Related
Dec 15, 2010
I am trying ti set up a NFS server using the guide on [URL] However, the NFS mounts on the client side as a read-only file system, so I cannot modify nothing. Here is my /etc/export file on the server side:
Code:
/home/acrocephalus/ 192.168.1.35 (rw,async,no_root_squash)
and this is my /etc/fstab file relevant line on the client side
Code:
192.168.1.33:/home/acrocephalus/ /home/acrocephalus/AcrocephalusServer/ nfs rsize=8192,wsize=8192,timeo=14,intr
Then, I mount the system using the command
Code:
sudo mount /home/acrocephalus/AcrocephalusServer/
.
how to mount the NFS with full read-write permissions?
View 3 Replies
View Related
Jan 28, 2011
I made a modification to the /etc/fstab using Ubuntu 10.04 and now it wont boot correctly. I can get the cli but when I enter /etc/fstab and make an edit it says" changing permission of /etc/fstab: read only file system" This is what I get when the system boots:
PHP Code:
[code]....
so if I choose manual I get to the cli and whenever I attempt to edit the file I get the above error. I used another machine and attempted to mount the drive but I get the same error I added notaime option to my fstab by accident so if I choose manual I get to the cli and whenever I attempt to edit the file I get the above error. I used another machine and attempted to mount the drive but I get the same error. I tried
PHP Code:
[code]...
and I get
PHP Code:
[code]....
How can I mount the partition so that I can edit it?
View 2 Replies
View Related
Feb 4, 2010
What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.
View 1 Replies
View Related