whenever booting, goes to emergency mode

General support questions
Post Reply
zethro
Posts: 47
Joined: 2017/05/29 18:43:10
Location: SEOUL,SOUTH KOREA
Contact:

whenever booting, goes to emergency mode

Post by zethro » 2018/05/08 01:43:52

lvs.txt
(336 Bytes) Downloaded 158 times
lvs.txt
(336 Bytes) Downloaded 158 times
i am a newbie for these kinds of errors!! could somebody help me!!

whenever boot up, goes to emergency mode to refer to check journalctl -xb. then i read the journal, i found these error messages like :

Code: Select all

-- The start-up result is done.
 5월 02 05:05:32 localhost.localdomain systemd[1]: Starting Swap.
-- Subject: Unit swap.target has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit swap.target has begun starting up.
 5월 02 05:06:47 localhost.localdomain systemd[1]: Job dev-sdb.device/start timed out.
 5월 02 05:06:47 localhost.localdomain systemd[1]: Timed out waiting for device dev-sdb.device.
-- Subject: Unit dev-sdb.device has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit dev-sdb.device has failed.
-- 
-- The result is timeout.
 5월 02 05:06:47 localhost.localdomain systemd[1]: Dependency failed for File System Check on /dev/sdb.
-- Subject: Unit systemd-fsck@dev-sdb.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-fsck@dev-sdb.service has failed.
-- 
-- The result is dependency.
 5월 02 05:06:47 localhost.localdomain systemd[1]: Dependency failed for /data.
-- Subject: Unit data.mount has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit data.mount has failed.
-- 
-- The result is dependency.
 5월 02 05:06:47 localhost.localdomain systemd[1]: Dependency failed for NFS server and services.
-- Subject: Unit nfs-server.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit nfs-server.service has failed.
-- 
-- The result is dependency.
 5월 02 05:06:47 localhost.localdomain systemd[1]: Dependency failed for NFSv4 ID-name mapping service.
-- Subject: Unit nfs-idmapd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit nfs-idmapd.service has failed.
-- 
-- The result is dependency.
 5월 02 05:06:47 localhost.localdomain systemd[1]: Job nfs-idmapd.service/start failed with result 'dependency'.
 5월 02 05:06:47 localhost.localdomain systemd[1]: Dependency failed for NFS Mount Daemon.
-- Subject: Unit nfs-mountd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit nfs-mountd.service has failed.
-- 
-- The result is dependency.
 5월 02 05:06:47 localhost.localdomain systemd[1]: Job nfs-mountd.service/start failed with result 'dependency'.
 5월 02 05:06:47 localhost.localdomain systemd[1]: Job nfs-server.service/start failed with result 'dependency'.
 5월 02 05:06:47 localhost.localdomain systemd[1]: Dependency failed for Local File Systems.
-- Subject: Unit local-fs.target has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit local-fs.target has failed.
-- 
-- The result is dependency.
 5월 02 05:06:47 localhost.localdomain systemd[1]: Dependency failed for Mark the need to relabel after reboot.
-- Subject: Unit rhel-autorelabel-mark.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit rhel-autorelabel-mark.service has failed.
-- 
-- The result is dependency.
 5월 02 05:06:47 localhost.localdomain systemd[1]: Job rhel-autorelabel-mark.service/start failed with result 'dependency'.
 5월 02 05:06:47 localhost.localdomain systemd[1]: Dependency failed for Migrate local SELinux policy changes from the old store structure to the new structure.
-- Subject: Unit selinux-policy-migrate-local-changes@targeted.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit selinux-policy-migrate-local-changes@targeted.service has failed.
-- 
-- The result is dependency.
 5월 02 05:06:47 localhost.localdomain systemd[1]: Job selinux-policy-migrate-local-changes@targeted.service/start failed with result 'dependency'.
 5월 02 05:06:47 localhost.localdomain systemd[1]: Dependency failed for Relabel all filesystems, if necessary.
-- Subject: Unit rhel-autorelabel.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit rhel-autorelabel.service has failed.
pvs is:
PV VG Fmt Attr PSize PFree
/dev/sda3 centos lvm2 a-- <3.64t 4.00m
and also these file attached!!! ::: fdisk -l_txt, lvs.txt, cat /etc/fstab_txt
please check these files to fix my problem!!
Attachments
fstab.txt
(625 Bytes) Downloaded 438 times
fdisk.txt
(2.52 KiB) Downloaded 212 times

User avatar
TrevorH
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: whenever booting, goes to emergency mode

Post by TrevorH » 2018/05/08 15:20:17

I suspect you have an error in your /etc/fstab for /data as it is refusing to mount. Edit that file and comment the line out and reboot to see if that helps. Next time you modify that file, umount the new filesystem you added to it and run mount -a which will syntax check it and mount anything that isn't mounted that should be.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

zethro
Posts: 47
Joined: 2017/05/29 18:43:10
Location: SEOUL,SOUTH KOREA
Contact:

Re: whenever booting, goes to emergency mode

Post by zethro » 2018/05/08 20:03:50

thanks a lot!!!
as you advised, i edited /etc/fstab to '/dev/sda /data ext4 defaults 1 2'
means /dev/sdb to /dev/sba :D :D
then, normally succeed to boot on, thanx again....

Post Reply