The slices "usr", "opt", "tmp" disappeared!!! Help please.

The system don't boot.
on the screen appears following:

press enter to maintenance (or type CTRL-D to continue)...

I checked with format command.

... the slices "0-root","1-swap","2-backup" exist.

...the slises "3-var","6-usr" -unassigned. :frowning:

Post contents of /etc/vfstab .

#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/c0t0d0s1    -    -    swap    -    no    -
/dev/dsk/c0t0d0s0    /dev/rdsk/c0t0d0s0    /    ufs    1    no    -
/devices    -    /devices    devfs    -    no    -
sharefs-                     /etc/dfs/sharefs         sarefs-
ctfs    -    /system/contract    ctfs    -    no    -
objfs    -    /system/object    objfs    -    no    -
swap -             /tmp       tmpfs                                   yes



---------- Post updated at 11:15 AM ---------- Previous update was at 11:13 AM ----------

# vi /etc/vfstab
"/var/tmp/ExREa4fa" Read-only fille system
#

/etc/vfstab indicates that /opt and /usr are not separate slices, but part of the root filesystem.

believe me Bartus11 /usr slice was separate still 24 hours ago.

if it was, why is there no sign in vfstab?

Do you have some archived output of mount command from before the reboot?

I don't know why...

How to see archived output?

Hello everybody.
I need change wrong entries on vfstab.
But I can't save it.

#vi /etc/vfstab
"/var/tmp/Exgzaica" Read-only file system
# mount -0 remount /

then the file opens and I can edit once...
But I can't save it :frowning:

after saving following issue: /sbin/sh: wq: not found

P.S. I used "!wq" command

Please post the error message you get.

It would seem that /var/tmp is somehow on a read only filesystem.

Post output of mount .

Root password for system maintanence (control-d to bypass)

That should be mount -o remount / , not mount -0 remount /

That should be :wq! not :!wq

If your system is backed up regularly, you should have a good backup of /etc/vfstab. Copy the file from the backup. It's better that way than manually making changes to /etc/vfstab.

Also, the command to remount a file system in rw mode is like this:

mount -o remount,rw /

Please be advised to take a good look at the system's access and security. Somehow /etc/vfstab entry got changed overnight without your knowledge - this is not really good sign of proper access control.

Hi everybody.
I added entries of S6, S3, S4, S5 in vfstab and saved it .
But unfortunately the OS didn't start up. :frowning:

I made backup and reinstalled Sol10. That's simply for me than find a problem in the days.

The right path would have been to:

  • boot from cdrom,
  • use format to find where to /usr and other filesystems are located.
  • mount the root partition RW on /a.
  • edit vfstab and add the correct entries
  • reboot

Cheers

Juan