Server :: Root Filesystem Keeps Going Read Only / Why This Happening?

May 21, 2009

I'm running CentOS 4.3 on a VM which is an application server for Quinstreet. trouble is when i keep coming in during the mornings it seems to keep making this root filesystem read only. There is no pattern for this and neither is it clear in the messages log why this keeps happening.

View 5 Replies


ADVERTISEMENT

General :: Remount Root Filesystem As Read/write After Modify Readonly-root File?

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

General :: Read On Pty Files Is Not Happening ?

Aug 10, 2009

I have 2 pty devices (/dev/ptya0 -master & /dev/ttya0 -slave). i am able to open both devices. Both devices file descriptor is same. i am writing to master pty but while reading from the slave its not reading.

Sample code:

Slave:

View 1 Replies View Related

General :: Server Filesystem Enters Read Only Mode Automatically?

Nov 28, 2010

I am running a dedicated server with linux cent os 5.5 32 bit with lighttpd, php 5.2.14 and mysql

I am getting problem in my server. The filesystem enters read only mode automatically and then I can't edit any file in my server. This happens by itself. I tried to run fsck command and it gives the following output:

Code:
[root@server]# fsck -A -y
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
/: recovering journal
Clearing orphaned inode 11108656 (uid=0, gid=0, mode=0140777, size=0)
Clearing orphaned inode 13631499 (uid=27, gid=27, mode=0100600, size=0)

[Code]....

View 2 Replies View Related

General :: External Drive Read Only - WARNING! Running E2fsck On A Mounted Filesystem May Cause SEVERE Filesystem Damage

Mar 24, 2010

I've had a look at some similar threads but as I'm very new to linux they're already a bit technical for me. Sorry, this calls for someone with patience. I gather from other threads that disconnecting an external drive without unmounting is a no-no, and this seems to be the likely cause. Now the disk is read only and I'm unable to change any settings through the usual control panel on ubuntu. I'm just not familiar with the terminal instructions. I tried to cut and past a few command lines from other threads but I got some warnings that proceding could damage data. Like this one: WARNING! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.

View 5 Replies View Related

OpenSUSE Install :: Unknown Filesystem Type 'reiserfs' Could Not Mount Root Filesystem - Exiting To /bin/sh

Mar 27, 2010

When I try to boot to OpenSUSE I get the following error during boot-up: unknown filesystem type 'reiserfs' could not mount root filesystem - exiting to /bin/sh$

This only started happening quite recently - before this I could boot to Linux quite happily.

View 6 Replies View Related

Debian Configuration :: Start X Server In A Read Only Root File System?

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

OpenSUSE :: Filesystem Has Become Read-only?

Aug 1, 2010

openSuse v9.3 (Yes, it's old)linux 2.6.11.4-21.17-smp i686At some time after July 28 the entire filesystem has become read-only. It was functional on July 28, the last time I logged into the machine and edited a file. Even as the superuser when I attempt to change, say, the permissions of a file, I get:

Code:
> # chmod 777 /opt
chmod: changing permissions of `/opt': Read-only file system

[code].....

View 9 Replies View Related

CentOS 5 :: Filesystem Became Read-only?

Jul 17, 2009

I have 64bit install with CentOS release 5.3 (Final)It's been stable for about six months. What happened a while ago is really weird, I haven't messed with anything lately but the entire /home filesystem became read-only. Can't write, can't delete to anything on /home. The other filesystems are fine. I am root, and the permissions look normal. My directories and files are writable and readable.

root@atlanta [/home]# touch foo.txt
touch: cannot touch `foo.txt': Read-only file system
root@atlanta [/home]# ls -l

[code]....

View 7 Replies View Related

Ubuntu :: 11.04 - Read Only Filesystem (And Lost)

Jun 14, 2011

This is very bad even in 11.04! I have an usb disk 40 Gb. And I was loading it with data real fast (svn). At once I could no more write, Read-only file system was reported. I reckon that problem from years ago on redhat, so I try to fix it. But It became worse. It was severe damaged. I created a new filesystem while the disk was out the usb-box and directly connected to de IDE. Started all over, and the error also. Tried to repair with no luck. It looks like the journal get overrun but I'm not sure. However I do think its reproducible. I did it 3 times now and now I am very sick of it. This is happening on a updated 10:10 to 11:04 system, a few weeks ago.

View 3 Replies View Related

Ubuntu :: Read Out Superblock Of A Filesystem?

Mar 31, 2010

How can i read out the superblock of a filesystem?

View 5 Replies View Related

General :: How To Write To A Read-only Filesystem

Feb 19, 2011

I have been given a headless linux system running from a SD card. I get into it by putty, directly to root, not other user and even /home dir. Whatever I copy or write will dissapear because is ro.

my etc/fstab file is:

none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda1 /boot vfatnoauto,rw 0 0

View 5 Replies View Related

CentOS 5 :: Read-only Filesystem With Some Rw Files?

Jun 8, 2011

I'm attempting to build a load balancing cluster for shared web hosting clients and the only thing left is security. Given the track record with some of these sites, I don't trust them being centralized. We've had rootkits on some of the other servers that replaced system binaries, mostly ssh to capture passwords. I figured the only real way to lock it down tight enough to keep this from happening is to use a live cd for the filesystem or read-only toggle USB stick. But I also need to mount a rw drive to store the clients data and config files that are bound to change.

Is this really the way to go about this? If so do I simply make a live cd iso and edit the files within to handle mounting a rw hard drive and linking data and configuration files to that drive? I've considered just leaving all the data on the physical hard disk and mounting it as ro on boot for binaries and such but can't that just be changed with the right permissions?

View 2 Replies View Related

OpenSUSE Hardware :: 11.4 Filesystem Goes Read-only In VMware?

Aug 23, 2011

Yesterday I post this note, because I've an urgent issue with the filesystem in opensuse 11.4, used like VMWare guest OS, over VMware Server 2 for w2k3 64bit like a host) opensuse 11.4 Filesystem goes read-only in VMware

But, Novell have a fix published for SLES 10, with the 2.6.16.46-0.12 kernel version .

I'm using a Opensuse 11.4 with the 2.6.37.6-0.5-desktop kernel version. May be related with the LSI virtual scsi hardware?

Because exists a fix for SLES 9, 10, RedHat EL 4,5 and Ubuntu 7.10, but doesn't work in opensuse 11.4

View 1 Replies View Related

OpenSUSE Install :: Error - Read Only Filesystem ?

May 25, 2010

I have double boot (windows7 and Opensuse) on my laptop.

My problem is when try to login Opensuse says Read only file system.(While booting a lot of things FAILS(written red) because of Read only file system). So i can't login.

Cause of this problem is want to reach my Opensuse filesystem from windows7.I installed Ext2fsd software to windows7.After installed software can see my opensuse filesystem.But it looks empty from windows7.So uninstalled the software.

After that day try to login my Opensuse.While booting alot of thing fails to load it says "FAILED".and when entered my password after entering my username cant login it says ..... Read Only File System.

How can i make the filesystem Read/write permissions to my opensuse operating system.

I can't use any command beceause can't login. (I will try to boot with Opensuse Dvd)

View 9 Replies View Related

OpenSUSE Install :: 11.4 Filesystem Goes Read-only In VMware

Aug 22, 2011

I'm a issue with a opensuse 11.4 guest VM. The root partition goes read-only while the VM was running normally.

I note this /var/log/messages:

Code:
Aug 22 10:57:02 guest1 kernel: [508161.475307] mptscsih: ioc0: attempting task abort! (sc=dc29c5c0)
Aug 22 10:57:02 guest1 kernel: [508161.475380] sd 2:0:0:0: [sda] CDB: Write(10):
Aug 22 10:57:02 guest1 kernel: [508161.475582] mptscsih: ioc0: task abort: SUCCESS

[Code]....

View 1 Replies View Related

Ubuntu Installation :: Errno 30 - Read Only Filesystem

Mar 11, 2011

I am installing Ubuntu 9.04 Desktop on my system. using entire disk. my disk is new one. first time i installed ubuntu on it successfully, used it and installed new kernel and some upgrades. all were successful.but on installing some drivers, its files system corrupted. so I had the need to re-install the OS again. NOW , when i am installing the OS, it gives error "(Errno 30] Read only filesystem" explaining that either CD/DVD is corrupt or HDD is corrupt. temperature of the environment may be high. I changed the system , ehanged the environment, moved to some cool place, changed CD drive and CD (after making new one from ISO), changed the HDD but all useless, error is there,

while installation is in progress my sda1 is mount on /target. when i see fstab, here in the line of /dev/sda1 ,error=remount-ro is observed. sometime installation gives error no 5 sometimes it gives error no 30 but both the errors convey almost same message explaining that either HDD is corrupt or CD. As i have explained that I changed every thing including HDD and CD but the error is same.

View 5 Replies View Related

Ubuntu :: 11.04 Live-CD Cannot Read Ext4 Filesystem?

Aug 18, 2011

I want to install 11.04 next to my working 10.04 system. First I need to make room for the new system so I have booted from a live cd and started GParted. In GParted the partition with the 10.04 system on it, /dev/sda1, has a red circle with an exclamation mark in it and I cannot resize it. When I doubleclick on /dev/sda1 there is the following warning

Quote:

Failed to change to directory '.'(Stale NFS file handle)
Failed to change to directory '.'(Stale NFS file handle)
Unable to read the contents of this file system!
Because of this some operations may be unavailable.

The following list of software packages is required for ext4 file system support: e2fsprogs v1.41+.

The 10.04 system is working and has worked like a dream for a couple of years and the machine has never had any other system on it. Why would the live CD not be able to read ext4 fs?

View 4 Replies View Related

General :: Script To Check If A Filesystem Is Read-only?

Jul 6, 2010

write a script that will check all filesystems to see if they are read-only.

I have come up with ...

df -h > /tmp/mount.lst
awk '{print $6}' /tmp/mount.lst > /tmp/mounted_systems.lst

This gives me ..

Mounted
/
/boot
/dev/shm
/proc

So now I have ..

How do I automatically get rid of the 'Mounted' header in my /tmp/mounted_systems.lst file ?

Also, I don't want to check the /proc filesystem, so how do I remove that within the script too.

Then I will run ...

while read dir
do
touch $dir/read_only_test
done < /tmp/mounted_systems.lst

If the filesystem is read only, I want that filesystem name to be listed into another file.

View 3 Replies View Related

Ubuntu :: Changed Folder Ownership - Filesystem Read Only

Jul 3, 2010

I accidentally changed etc., folder ownership, and now my computer doesn't even start up. I tried starting up in failsafe mode and changing the ownership from the root console, but somehow I wasn't allowed to do that. Then I loaded kubuntu from a live disk and I changed etc ownership to root. I thought that would clear up the mess, but apparently live disk's root is not equivalent to system's: when I try to start up the computer I get a message saying the filesystem is readonly. I'm not too concerned, because I have a complete backup, but I'd rather avoid the time of re-installing all my software again.

View 8 Replies View Related

Programming :: C Library Or Some Functions To Read Proc Filesystem

Dec 6, 2010

I have a requirement, to read the complete proc filesystem from the linux pc.. Does linux provide some functions to read the proc filesystem means the directories and files present in the filesystem.. in short I want to create a treeview of proc filesystem. and if a user selects the file in the proc.. I should show the contents in the respective file. So I want some library or functions to read the proc filesystem..

View 1 Replies View Related

General :: Cant Read Filesystem Type On Windows Partition?

May 27, 2011

I had installed ubuntu 11.04 on my system along with windows vista. After a few days, i decided to remove ubuntu so i just logged into windows and formatted the ubuntu partition using the windows partitioner, then extended my main c: drive to span the whole disk so that i was left with a single partition with only windows vista on it.Later when trying to restart my system couldn't log back into windows.I kept getting a prompt sayinggrub rescue>After googling around a bit i shrinked and created another partition the disk again and installed ubuntu on it again.still. =/GRUB doesn't show any windows entry.I noticed something strange though that when i tried viewing my partitions using parted i didnt see any filesystem type listed besides my windows partition (/dev/sda3). I doubt that is why GRUB does not show any windows entry.Also i manually tried to boot into windows from the grub prompt using commands...root(hd0,3)chainloader +1bootbut it says 'invalid signature'Did i somehow corrupted my windows partition during resizing and installing/un-installing? Plus i also booted with the windows installation dvd and when i typed bootmgr /fixbootit said something like no valid filesystem found.

View 5 Replies View Related

Ubuntu :: A Software Has Turned Flash Drive's Filesystem Into Read Only?

Aug 5, 2010

Some moments ago, I plugged my drive into a computer with some strange data protection software. It turned my drive's filesystem into read only and now it can neither be formatted nor mounted with write option. I've tried

Code:
$ sudo dd if=/dev/zero of=/dev/sdb
but it doesn't work.

The problem is, the computer and the software that have caused this problem has lost forever.

View 3 Replies View Related

Ubuntu :: Superblock Could Not Be Read Or Does Not Describe A Correct Ext2 Filesystem

Jul 12, 2010

[URL]

This problem has arrived again.......I tried the same solution but didn't work out...the problem is described below.

I use Ubuntu 9.10 .

I did this in Ubuntu 9.10 live CD.

quote from terminal :-

ubuntu@ubuntu:~$ sudo mkdir /win
ubuntu@ubuntu:~$ sudo mount /dev/sda5 /win
ubuntu@ubuntu:~$ sudo mkdir /vdisk
ubuntu@ubuntu:~$ sudo mount -o loop /win/ubuntu/disks/root.disk /vdisk

[Code]....

The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:

e2fsck -b 8193 <device>
ubuntu@ubuntu:~$ "
> ^C
ubuntu@ubuntu:~$
^^ quote ends.

View 4 Replies View Related

OpenSUSE Install :: Read All Others Already ... Error: Mount: Unknown Filesystem Type 'crypto_LUKS'

Feb 21, 2010

Formated new drive with ext3 on external drive on Suse 11.1 When upgraded to 11.2, drive was not connected... Could not get mounted after that... Set up another boot drive, could not get to mount. Found post with following:

>cryptsetup luksOpen /dev/sde1 restore
>mkdir /restore
>mount /dev/sde1 /restore

Error as follows: mount: unknown filesystem type 'crypto_LUKS' Have also got to another point where superblock was incorrect. I can use terminal, but am not a linux guru... Have looked at other posts under luks, but can not find a solution.

View 6 Replies View Related

Fedora :: Trying To Build A Root Filesystem?

Aug 13, 2009

I am trying to build a root file system for using it with the user mode linux on a fc 11 system.

View 5 Replies View Related

Ubuntu :: Use Tftp Instead Of Nfs For PXE Root Filesystem?

Mar 19, 2010

I have a custom Ubuntu distro that run both from a CD and PXE boot. The problem I have is that I need to boot in an environment that has to be routed through a router that can't forward NFS (the protocol doesn't use a standard port) I found that the Ubuntu based Clonezilla Live CD has a option like "fetch tftp://server/folder/filesystem.squashfs" I can borrow the kernel and initrd and it works, but how do I add this feature myself? Is there a package I need to install or a initrd option I need to add?

View 1 Replies View Related

Ubuntu :: Root Filesystem Is Getting Filled Up

Jun 18, 2010

Lately however my root filesystem is getting filled up every night-- I come in in the morning and have notices that I have 0 bytes remaining. There's tons of room on the disk, but the root is full. Here's what it looks like with a df -h:

[Code]....

View 4 Replies View Related

Ubuntu :: No Root Filesystem Defined?

Mar 1, 2010

ive been recently experiencing some problems with my ubuntu studio 9.10 setup, with the filesystem failing to mount. after deciding to try a new hard drive and cable, as well as clean install ubuntu, fedora and now mint, im still finding no filesystem.im using a live cd created for mint (like it ). having clicked install to hard drive, all is well until the partition manager, where all the boxes are greyed out. clicking forward produces a box saying "no root filesystem defined". i see there are a few on here from a few years back and having read through them, cannot find a fix for myself.

View 9 Replies View Related

Ubuntu :: No Root Filesystem Is Defined

Jan 10, 2011

Using Ubuntu 10.10, 64-bit, installing after LiveCD testing.sda3 can't really be erased due to its contents, something I can't exactly get back or transfer.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved