?
Solved

Suse system keeps booting Read Only

Posted on 2003-02-19
4
Medium Priority
?
344 Views
Last Modified: 2013-12-15
I have a suse 8.0 (2.4.14) system that has been working fine until reboot last night.  Now the boot drive keeps going read only on boot and I cannot get it back to a normal boot.

I can log in as root, mount the drive and work in the shell.  A check on the drive shows no errors so I think something is flagged to protect it.  It is a resierFS and has worked great for almost a year now.  It is serving as a PDC for a small LAN of 11 XP boxes.

The services that normally load on boot give the error of the fs being ro.

All partitions are on a 3.2 GB HDA2 drive.  Is there any ideas to get this booting normal again?

Where is a good place to look for a file that would force the FS to be read only on boot.

Many thanks.

0
Comment
Question by:MikeSampson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 3

Expert Comment

by:naccad
ID: 7982378
i never used reiser, but look in /etc/fstab
there is where the mount points, devices, options and perms
are declared.

tc
-nick
0
 

Author Comment

by:MikeSampson
ID: 7984870
fstab is fine.  Even restored one.  Here are some of the errors I get.

clm-6006: writing inode 938 on readonly FS

"command here" /dev/null: Read-only file system

"on login as root" I get...
Bash: /dev/null: Read-only file system

failed write cache flush: disabling ordered write support

no flushcache support

Could it be a permissions problem or a corrupt file?

It looks like it will be fine until it starts loading commands like smbd, httpd, and more.  The initial boot loads the file systems and then they are back to read only.  I can only scroll up a bit on my screen.  Not all the way to the top of the boot log.

I have run lilo -v, reiserfsck, mk_initrd, booted from a floppy and tried to load the local fs and more.

Is there a way to delete /dev/null and recreate it with 666 permissions?

Thanks again all.



0
 
LVL 3

Accepted Solution

by:
naccad earned 200 total points
ID: 7990707
there is always MAKEDEV

cd /dev/
./MAKEDEV null

should recreate the node.

good luck
-nick
0
 

Author Comment

by:MikeSampson
ID: 7991193
Thanks for the direction Nick.  I did not have the MAKEDEV command on my system but it got me looking for an alternative  in the SUSE newsgroups.  A post from 2000 was listed and the result was this command to delete and recreate the dir

rm -r /dev/null
mknod /dev/null c 1 3
chmod 666 /dev/null

After a reboot I am back in business.

Many thanks
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month8 days, 10 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question