[SunHELP] root partition read only fs

Matthew Hattersley MatthewHattersley at businessserve.co.uk
Thu Jan 22 03:20:24 CST 2004


This is usually because the file system has been flagged as corrupt in some
way. I know it sounds simple, but have you 

fsck -y -T ufs /dev/rdsk/c0t8d0s0

This is the most common cause.

Cheers

Mat
-----Original Message-----
From: Asif Iqbal [mailto:iqbala at qwestip.net] 
Sent: 21 January 2004 21:23
To: solaris-users at filibeto.org; The SunHELP List;
sunmanagers at sunmanagers.org
Subject: [SunHELP] root partition read only fs

Hi All

I am getting this message on one of my sparc sol 8 E 250R

mount: /dev/dsk/c0t8d0s0 is not this fstype.
failed to open /etc/coreadm.conf
syseventd: Unable to open daemon lock file '/etc/sysevent/syseventd_lock':
'Read-only file system'The system is coming up.
Please wait.
/sbin/mountall: /tmp/sh740: cannot create
rm: Unable to remove directory /tmp: Read-only file system
mkdir: Failed to make directory "/tmp"; Read-only file system
chown: /tmp: Read-only file system
ps: open("/tmp/ps.OoaGla") for write failed, Read-only file system
ps: Please notify your System Administrator


This is how my /etc/vfstab looks like

#device         device          mount           FS      fsck    mount
mount
#to mount       to fsck         point           type    pass    at boot
options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/dsk/c0t8d0s1       -       -       swap    -       no      -
/dev/dsk/c0t8d0s0       /dev/rdsk/c0t8d0s0      /       ufs     1       no
-
/dev/dsk/c0t8d0s3       /dev/rdsk/c0t8d0s3      /usr    ufs     1       no
-
/dev/dsk/c0t8d0s4       /dev/rdsk/c0t8d0s4      /var    ufs     1       no
-
/dev/dsk/c0t8d0s5       /dev/rdsk/c0t8d0s5      /opt    ufs     2       yes
-
swap    -       /tmp    tmpfs   -       yes     -


This is how the format reports it

Part      Tag    Flag     Cylinders        Size            Blocks
  0 unassigned    wm       0 - 1086        2.44GB    (1087/0/0)  5121944
  1 unassigned    wm    1087 - 1977        2.00GB    (891/0/0)   4198392
  2     backup    wm       0 - 7505       16.86GB    (7506/0/0) 35368272
  3 unassigned    wm    1978 - 3499        3.42GB    (1522/0/0)  7171664
  4 unassigned    wm    3500 - 5021        3.42GB    (1522/0/0)  7171664
  5 unassigned    wm    5022 - 7461        5.48GB    (2440/0/0) 11497280
  6 unassigned    wm    7462 - 7483       50.62MB    (22/0/0)     103664
  7 unassigned    wm    7484 - 7505       50.62MB    (22/0/0)     103664


Any idea why my root filesystem is mounting as read-only

I can mount the root file sytem manually after the system comes back up on
/a as
rw

mount /dev/dsk/c0t8d0s0 /a and then can write to it fine. Not sure why it is
not
automatically mount as rw

Any help/suggestion would be greatly appreciated

Thanks

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
There's no place like 127.0.0.1
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list