vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Think I may have typo in 'vfstab' and get /dev/rdsk/c1t0d0s6: is clean. /sbin/rcS: /etc/dfs/sharetab: cannot create failed to open /etc/coreadm.confsyseventd: Unable to open daemon lock file '/etc /sysevent/syseventd_lock': 'Read-only file system' INIT: Cannot create /var/adm/utmpx INIT: failed write of utmpx entry:" " INIT: failed write of utmpx entry:" " , on boot System will come up single user , with readonly file system What are my options to fix this? Thank GC |
| |||
| Hello Gordon, Gordon Chapman wrote: > Think I may have typo in 'vfstab' and get > > /dev/rdsk/c1t0d0s6: is clean. > /sbin/rcS: /etc/dfs/sharetab: cannot create > failed to open /etc/coreadm.confsyseventd: Unable to open daemon lock file > '/etc > /sysevent/syseventd_lock': 'Read-only file system' > INIT: Cannot create /var/adm/utmpx > > INIT: failed write of utmpx entry:" " > > INIT: failed write of utmpx entry:" " , on boot > > > System will come up single user , with readonly file system > > What are my options to fix this? > Your best option is to boot off the CD or the network into single user mode and then mount the disk and replace whatever the bad entry is. I would recommend taking care if the disk was mirrored, but it appears that it is not, so do not worry. Please note, this is hand typed and there may be some typos in it. ok> boot cdrom -s password: #mount /dev/dsk/c1t0d0s2 /mnt #edit /etc/vfstab do stuff here #umount /mnt #sync #init 6 I hope this helps. Regards, Nathan Dietsch |
| |||
| "Gordon Chapman" <gordonchapman@nospam_hotmail.com> writes: > Think I may have typo in 'vfstab' and get > > /dev/rdsk/c1t0d0s6: is clean. > /sbin/rcS: /etc/dfs/sharetab: cannot create > failed to open /etc/coreadm.confsyseventd: Unable to open daemon lock file > '/etc > /sysevent/syseventd_lock': 'Read-only file system' > INIT: Cannot create /var/adm/utmpx > > INIT: failed write of utmpx entry:" " > > INIT: failed write of utmpx entry:" " , on boot > > > System will come up single user , with readonly file system > > What are my options to fix this? You may try: uadmin 4 0 and then edit your vfstab, if it didn't panic of course :-) "uadmin 4 0" sets the root device read/write without consulting vfstab. > > Thank > > GC > > Good luck, Thomas |
| |||
| Nathan Dietsch <usenet@ndietsch.com> writes: > >Your best option is to boot off the CD or the network into single user >mode and then mount the disk and replace whatever the bad entry is. I >would recommend taking care if the disk was mirrored, but it appears >that it is not, so do not worry. > >Please note, this is hand typed and there may be some typos in it. > >ok> boot cdrom -s >password: >#mount /dev/dsk/c1t0d0s2 /mnt >#edit /etc/vfstab that would be /mnt/etc/vfstab > do stuff here >#umount /mnt >#sync >#init 6 > -Greg -- Do NOT reply via e-mail. Reply in the newsgroup. |
| |||
| On Sun, 24 Oct 2004 22:26:09 +1000, Nathan Dietsch wrote: > Your best option is to boot off the CD or the network into single user > mode and then mount the disk and replace whatever the bad entry is. I > would recommend taking care if the disk was mirrored, but it appears > that it is not, so do not worry. > > Please note, this is hand typed and there may be some typos in it. > > ok> boot cdrom -s > password: No password is requested when booting single user from cdrom. > #mount /dev/dsk/c1t0d0s2 /mnt There should not even be a filesystem on that partition. The root partition is normally on s0. > #edit /etc/vfstab > do stuff here vi is available on the miniroot. Also it is preferable to fsck the root partition before attempting to mount it. |
| |||
| User-Agent: Unison/1.5.2 On 2004-10-24 21:23:25 +0100, Thomas Tornblom <thomas@Hax.SE.remove-to-reply> said: > > You may try: > > uadmin 4 0 Am I imagining it, or would mount -o remount,rw /dev/dsk/c0t0d0s0 / (replacing c0t0d0s0 with wherever the root filesystem is, of course). Also do the trick? -- Tony |
| ||||
| Tony Walton wrote: > User-Agent: Unison/1.5.2 > > On 2004-10-24 21:23:25 +0100, Thomas Tornblom > <thomas@Hax.SE.remove-to-reply> said: > >> >> You may try: >> >> uadmin 4 0 > > > Am I imagining it, or would > > mount -o remount,rw /dev/dsk/c0t0d0s0 / > > (replacing c0t0d0s0 with wherever the root filesystem is, of course). > > Also do the trick? > Probably, but I thought that you would be the first person to resort to uadmin... if only for brevity of command line ;-) |