Cannot enter home directory. Using /

Hi, when I reboot my PC, I got this error and cannot login the system except administrator. I know there existed same thread in this forum, but as I’m very new in Linux, I’m not sure what I should do next. So I seek further help here. I have followed the commands suggested in this thread and list the responses below:

#df
Filesystem    1K-blocks        Used    Available    Use%    Mounted on
/dev/sda3      20510716    13442848    6002912    70%     /
devtmpfs       16389384          32     16389352      1%    /dev
tmpfs          16402256           0       16402256       0%    /dev/shm
tmpfs          16402256        6532       16395724       1%    /run
tmpfs          16402256           0       16402256       0%    /sysfs/cgroup
tmpfs          16402256        6532       16395724       1%    /var/lock
tmpfs          16402256        6532       16395724       1%    /var/run
/dev/sda1        204580         384       204196       1%    /boot/efi
/dev/sda4    1899810060  1394027420       503836028       74%    /tmp
#mount
devtmpfs on /dev type devtmpfs (rw,relatime,size=16389384k,nr_inodes=4097364,mode=755)
tmpfs on /dev/shm type tmpfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
/dev/sda3 on / type ext4 (rw,relatime,data=ordered)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/fireware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
tmpfs on /var/lock type tmpfs (rw,nosuid,nodev,relatime,mode=755)
tmpfs on /var/run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=002,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/sda4 on /tmp type ext4 (rw,relatime,data=ordered)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
#cat /etc/fstab
/dev/disk/by-id/ata-ST2000DM001-1CH164-Z1F5MXYH-part2    swap    swap    defaults 0 0
/dev/disk/by-id/ata-ST2000DM001-1CH164-Z1F5MXYH-part3    /       ext4    acl,user_xattr 1 1
/dev/disk/by-id/ata-ST2000DM001-1CH164-Z1F5MXYH-part1    /boot/efi    vfat    umask=002,utf8=true 0 0
/dev/disk/by-id/ata-ST2000DM001-1CH164-Z1F5MXYH-part4    /tmp    ext4    acl,user_xattr 1 2
192.168.1.1:/home    /home    nfs    defaults 0 0
#ls
total 8
drwxr-xr-x  2 root root  4096 Apr 22 2015 .
drwxr-xr-x 24 root root  4096 Feb 11 15:49 ..

When I enter into

/home

directory, it’s empty. In fact, the folder with all user names are listed under

/tmp

directory. I’m using

openSUSE 13.1 (Bottle) (x86_64)

and no other systems are installed on the PC. Since the OS is installed by others, not me, what should I do to pick up all users and login using these users? Thanks.

You are mounting home from a NFS location ie some file server. Is it available??? Is that really what you want?? Actually it looks like the /tmp mount is your home and thus should be mounted as home. You can change in the /etc/fstab or make the change from Yast-partitioner

Note please tell which openSUSE version it may be important

Perhaps this one, g? :wink:

:shame:

Opps

Even so the problem is an attempt to mount a NFS as home which may or may not be there and the local home appears to be currently mounted as /tmp

Thanks.

I have learned the functionality of

/etc/fstab

file carefully. It tried to mount /home which is set on other server. So I checked the local network and made it worked. Now the problem solved.