Hi,
There was a power outage and I had to restart my solaris machine:
SunOS mymachine 5.7 Generic_106541-18 sun4u sparc SUNW,Ultra-5_10
Now whan I attempt to make any write on the /usr drive I get the
following type of message:
cp: cannot create ../mc3.tar: Read-only file system
Here is the line in my vfstab file:
/dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /usr ufs 1
no -
Here is the corresponding line in the mnttab file:
/dev/dsk/c0t0d0s7 /usr ufs ro,suid,dev=2200007,largefiles
1112694631
Any ideas on this one.
Enda
|
|
0
|
|
|
|
Reply
|
keepyourstupidspam
|
4/5/2005 10:13:59 AM |
|
Enda Mannioooo napisa�(a):
> Hi,
>
> There was a power outage and I had to restart my solaris machine:
> SunOS mymachine 5.7 Generic_106541-18 sun4u sparc SUNW,Ultra-5_10
>
> Now whan I attempt to make any write on the /usr drive I get the
> following type of message:
> cp: cannot create ../mc3.tar: Read-only file system
>
> Here is the line in my vfstab file:
> /dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /usr ufs 1
> no -
>
> Here is the corresponding line in the mnttab file:
> /dev/dsk/c0t0d0s7 /usr ufs ro,suid,dev=2200007,largefiles
> 1112694631
>
> Any ideas on this one.
> Enda
change:
/dev/dsk/c0t0d0s7 /usr ufs RW,suid,dev=2200007,largefiles
1112694631
reboot now.
ro says read-only filesystem
--
d.
|
|
0
|
|
|
|
Reply
|
d
|
4/5/2005 10:46:18 AM
|
|
Enda Mannioooo napisa�(a):
> Hi,
>
> There was a power outage and I had to restart my solaris machine:
> SunOS mymachine 5.7 Generic_106541-18 sun4u sparc SUNW,Ultra-5_10
>
> Now whan I attempt to make any write on the /usr drive I get the
> following type of message:
> cp: cannot create ../mc3.tar: Read-only file system
>
> Here is the line in my vfstab file:
> /dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /usr ufs 1
> no -
>
> Here is the corresponding line in the mnttab file:
> /dev/dsk/c0t0d0s7 /usr ufs ro,suid,dev=2200007,largefiles
> 1112694631
>
> Any ideas on this one.
> Enda
and the "no" in vfstab line says "no mount in boot time"
man vfstab
man mount
--
d.
|
|
0
|
|
|
|
Reply
|
d
|
4/5/2005 10:50:03 AM
|
|
Enda Mannioooo wrote:
> There was a power outage and I had to restart my solaris machine:
> SunOS mymachine 5.7 Generic_106541-18 sun4u sparc SUNW,Ultra-5_10
>
> Now whan I attempt to make any write on the /usr drive I get the
> following type of message:
> cp: cannot create ../mc3.tar: Read-only file system
The filesystem might have been corrupted. Try to "fsck" and remount "rw"
> Here is the line in my vfstab file:
> /dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /usr ufs 1
> no -
You might want to add "logging" to the mount options (man mount_ufs).
You might have to patch up the system first (I think "logging" was added
in a kernel patch of SunOS 5.7). Apply the latest Recommended Patch Cluster
|
|
0
|
|
|
|
Reply
|
Oscar
|
4/5/2005 12:17:14 PM
|
|
d. wrote:
>> Here is the corresponding line in the mnttab file:
>> /dev/dsk/c0t0d0s7 /usr ufs ro,suid,dev=2200007,largefiles
>> 1112694631
> change:
> /dev/dsk/c0t0d0s7 /usr ufs RW,suid,dev=2200007,largefiles
> 1112694631
do not edit mnttab
|
|
0
|
|
|
|
Reply
|
Oscar
|
4/5/2005 12:18:22 PM
|
|
d. wrote:
> and the "no" in vfstab line says "no mount in boot time"
Which is correct for / and /usr - do not change it
|
|
0
|
|
|
|
Reply
|
Oscar
|
4/5/2005 12:19:04 PM
|
|
d.
your rtfm suggestion did not work, I had exhausted that particular
avenue already.
What fixed my problem was running the following command during startup
console mode (or whatever its called).
fsck -F ufs /dev/rdsk/c0t0d0s7
Thanks all for help and suggestions.
em
|
|
0
|
|
|
|
Reply
|
keepyourstupidspam
|
4/5/2005 12:41:02 PM
|
|
Oscar del Rio napisa�(a):
> Enda Mannioooo wrote:
>
>> There was a power outage and I had to restart my solaris machine:
>> SunOS mymachine 5.7 Generic_106541-18 sun4u sparc SUNW,Ultra-5_10
>>
>> Now whan I attempt to make any write on the /usr drive I get the
>> following type of message:
>> cp: cannot create ../mc3.tar: Read-only file system
>
>
> The filesystem might have been corrupted. Try to "fsck" and remount "rw"
>
>> Here is the line in my vfstab file:
>> /dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /usr ufs 1
>> no -
>
>
> You might want to add "logging" to the mount options (man mount_ufs).
> You might have to patch up the system first (I think "logging" was added
> in a kernel patch of SunOS 5.7). Apply the latest Recommended Patch
> Cluster
you were right i was wrong.
as always I do sth too fast
--
d.
|
|
0
|
|
|
|
Reply
|
d
|
4/6/2005 5:47:07 AM
|
|
|
7 Replies
253 Views
(page loaded in 0.686 seconds)
Similiar Articles: Boot hangs on "Setting default IPv4 interface" - comp.unix.solaris ...... not one but two power outages ... after which the system hangs. That message is issued only after ... from where you can boot - s and then either modify the nsswitch file ... Installing Solaris 450 on a Sun 450 - help! - comp.unix.solaris ...... now. > > I did the following: > boot cdrom -s ... state > > > > mkdir: "/a/var/sadm/launcher": Read-only file system ... Enterprise 450 power on/power up problem woes ... Any tutorial for umount the fie system and do the fsck? - comp ...Read-only file system When you get to the ... can't mount metadevice at boot - comp.unix.solaris ... Restoring a root (/) File System ... Sun workstation. and lost power ... Error Booting... putting me in system maintence mode - comp.unix ...[ system/boot-archive:default failed (see 'svcs -x ... comp.dcom.sys.cisco ..... coming up after a power ... mode - Toolbox for IT Groups Ignore any Read-only file system ... Command is respawning too rapidly - comp.sys.hp.hpux... uucp/uugetty -r -t 60 -h ttyd0p7 .... /var: file system ... Script to verify route commands - same after reboot ... servers which were shut down due to a power outage(I don ... Unable to label a disk - comp.sys.sun.admin... partitions, the file systems were made etc. After ... OK prompt, typed 'boot', but get a "Can't read ... one), halt the system (maybe even power-down and up again), boot ... need help with corrupt MAIL.MAI file - comp.os.vms... MAIL.BCK (the BACKUP copy of the corrupt file) with some read-only ... the 3rd member died (problem with the power ... on the > =A0 =A0first volume, then boot the system and ... MicroVAX 3100-30 - won't boot... - comp.os.vms... set at power-up (or perhaps boot, I think power ... because it holds an ODS2 file system, not ... for the first part of the boot and only switches to the VMS drivers after VMS ... Solaris 10 install on Sunfire 280R-Can't open boot device - comp ...... from either power off...or from openboot: ----- boot cdrom Boot device: /pci@8,700000/scsi@6/disk@6,0:f File ... Removable Read Only ... V210, with the system ... Issue: Adding new disk from SAN (EMC) to Solaris 10 OS - comp.sys ...... couldn't see that new 100gb disk. even after reboot ... Maybe you need to read the manual first ... disk - comp.unix.solaris This is calid only ... Solaris Operating System ... Read-only file system after power outage and rebootsoftware.itags.org: Solaris Operating System question: Read-only file system after power outage and reboot, created at:Sun, 25 May 2008 12:17:00 GMT with 575 bytes ... File System Corruption after Power Outage or System Crash - CSSERVERFile System Corruption after Power Outage or System Crash ... the Linux boot process will continue normally. Should a file system ... mounts the root file system "read-only" ... 7/15/2012 4:02:37 AM
|