/ is getting mounted in read-only!

 
Thread Tools Search this Thread
Operating Systems Linux Debian / is getting mounted in read-only!
# 1  
Old 02-28-2006
/ is getting mounted in read-only!

once after the
Code:
fsck

during booting linux(debian 3.0) found some corruption in root (/) partition. Then it corrected it; but problem here is root partition is getting mounted in readonly. Other partitions like /home /tmp /boot are normal (rw).

after doing
Code:
fsck -f

for the root partion it finds some errors in fs and then cleans it. Now if i do reboot then for some short time (may be 2-3 mins) root is mounted as rw. then it gets to its ro state.

any solution to this!
treat is granted!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Mounted and unmounted

Hi Guys I'm new here, and I need urgent help. This my first steps to be Aix admin and I have this task -instal Oracle database on Aix machine and create mounting point /u02 of size 100GB for Oracle Standalone database installation. -download and install the following OS patches - IV42025... (5 Replies)
Discussion started by: khaled_ly84
5 Replies

2. Solaris

Are these SAN LUNs really not mounted?

Hello everyone. I've been asked to check if something is wrong with the storage setup on these two SunOS 5.10 machines, which are being used as database servers with Oracle RAC configuration. Seems to be that the DB guy is complaining, telling that they are nearly out of space, which sounds... (4 Replies)
Discussion started by: kacareu
4 Replies

3. UNIX for Dummies Questions & Answers

New mounted directory

Hello I need to install a new application on my linux server but needs to have a new directory e.g /opt/InCharge as this is the directory that the application would ask for during installation .This directory needs to be mounted if df -h it should appear as mounted (9 Replies)
Discussion started by: DOkuwa
9 Replies

4. Ubuntu

how to make others have read/write permission when the aotu mounted usb flash disk pluge in ?

hi all: as we know , when usb flash disk plug in and aotu mounted , the default permission of the usb flash disk is 700. that means others have no permission . the question: how to make others have read/write permission when the aotu mounted usb flash disk pluge in ? thanks !! (0 Replies)
Discussion started by: arnold.king
0 Replies

5. UNIX for Dummies Questions & Answers

mounted filesystems

how to check the record of previously mounted remote filesystems after the filesystems are unmounted .operating system is solaris 10 (0 Replies)
Discussion started by: ravijanjanam12
0 Replies

6. SCO

file system not getting mounted in read write mode after system power failure

After System power get failed File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies

7. Linux

How to edit /etc/fstab when root was mounted as read only

can somebody help me out in editing the /etc/fstab. I am on RHEL5 (Tikanga). **The problem is that i have given a wrong LABEL in /etc/fstab for root volume and so after reboot, it is unable to resolve the wrong LABEL; so, i have to edit the /etc/fstab :-( -ilan (3 Replies)
Discussion started by: ilan
3 Replies

8. UNIX for Dummies Questions & Answers

/ filesystem is mounted read only

how do you fsck the / filesystem? I know it does it automatically the next time I boot up following a switch on the wall shutdown but is there a flad somewhere that forces this on next boot up? Thanks (2 Replies)
Discussion started by: DGK
2 Replies

9. Shell Programming and Scripting

tape is mounted

Hi I would like to write a shell script which should first check wheather the tape is placed in the tape drive . if the tape is there it should rewind it like mt -f /dev/rmt/0m rew if the tape is missing from the tape drive then send a mail saying that the tape is missing and exit. ... (2 Replies)
Discussion started by: xiamin
2 Replies

10. UNIX for Dummies Questions & Answers

mounted filesystems

If you have multiple hard drives and multiple mounted filesystems, how can you tell which filesystem resides on which disk? (3 Replies)
Discussion started by: jalburger
3 Replies
Login or Register to Ask a Question
FSCK(8) 						       System Administration							   FSCK(8)

NAME
fsck.minix - check consistency of Minix filesystem SYNOPSIS
fsck.minix [-larvsmf] device DESCRIPTION
fsck.minix performs a consistency check for the Linux MINIX filesystem. The current version supports the 14 character and 30 character filename options. The program assumes the filesystem is quiescent. fsck.minix should not be used on a mounted device unless you can be sure nobody is writ- ing to it (and remember that the kernel can write to it when it searches for files). The device name will usually have the following form: /dev/hda[1-63] (IDE disk 1) /dev/hdb[1-63] (IDE disk 2) /dev/sda[1-15] (SCSI disk 1) /dev/sdb[1-15] (SCSI disk 2) If the filesystem was changed (i.e., repaired), then fsck.minix will print "FILE SYSTEM HAS CHANGED" and will sync(2) three times before exiting. Since Linux does not currently have raw devices, there is no need to reboot at this time. WARNING
fsck.minix should not be used on a mounted filesystem. Using fsck.minix on a mounted filesystem is very dangerous, due to the possibility that deleted files are still in use, and can seriously damage a perfectly good filesystem! If you absolutely have to run fsck.minix on a mounted filesystem (i.e., the root filesystem), make sure nothing is writing to the disk, and that no files are "zombies" waiting for dele- tion. OPTIONS
-l List all filenames. -r Perform interactive repairs. -a Perform automatic repairs. (This option implies -r and serves to answer all of the questions asked with the default.) Note that this can be extremely dangerous in the case of extensive filesystem damage. -v Be verbose. -s Output super-block information. -m Activate MINIX-like "mode not cleared" warnings. -f Force a filesystem check even if the filesystem was marked as valid (this marking is done by the kernel when the filesystem is unmounted). SEE ALSO
fsck(8), fsck.ext(8), fsck.ext2(8), fsck.xiafs(8), mkfs(8), mkfs.minix(8), mkfs.ext(8), mkfs.ext2(8), mkfs.xiafs(8), reboot(8) DIAGNOSTICS
There are numerous diagnostic messages. The ones mentioned here are the most commonly seen in normal usage. If the device does not exist, fsck.minix will print "unable to read super block". If the device exists, but is not a MINIX filesystem, fsck.minix will print "bad magic number in super-block". EXIT CODES
The exit code returned by fsck.minix is the sum of the following: 0 No errors 3 Filesystem errors corrected, system should be rebooted if filesystem was mounted 4 Filesystem errors left uncorrected 8 Operational error 16 Usage or syntax error In point of fact, only 0, 3, 4, 7, 8, and 16 can ever be returned. AUTHOR
Linus Torvalds (torvalds@cs.helsinki.fi) Error code values by Rik Faith (faith@cs.unc.edu) Added support for filesystem valid flag: Dr. Wettstein (greg%wind.uucp@plains.nodak.edu) Check to prevent fsck of mounted filesystem added by Daniel Quinlan (quinlan@yggdrasil.com) Minix v2 fs support by Andreas Schwab (schwab@issan.informatik.uni-dortmund.de), updated by Nicolai Langfeldt (janl@math.uio.no) Portability patch by Russell King (rmk@ecs.soton.ac.uk). AVAILABILITY
The fsck.minix command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. util-linux July 1996 FSCK(8)