Linux:磁盘挂载报错Welcome to emergency mode! After logging in, type “journalctl -xb”to viewsystem logs

一、问题描述

服务器原来挂载的u01盘找不到了,u01文件下无任何内容

二、原因

磁盘自动挂载失败,需要手动挂载

lvdisplay
 mount /dev/u01/lvm01 /u01

mount 逻辑卷 路径

三、设置开机自动挂载

vim /etc/fstab

四、系统重启后报错,提示

Welcome to emergency mode! After logging in, type "journalctl -xb”to view system logs,“systemctl reboot” to reboot,“systemctl default” or ^D to try again to boot into default mode .
Give rootpassword for maintenance(or press Control-D to continue):


原因:

设置的磁盘自动挂载没有挂在上,产生的报错

解决办法

vim /etc/fstab

注释掉直接设置的自动挂载那行,重启系统

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Logging system failed to initialize using configuration from 'classpath:logback-custom.xml'的误是因为找不到配置文件'logback-custom.xml'。根据提供的引用内容,有两种方式可以解决这个问题。 方式一是修改log日志文件名为'logback-spring.xml',这样就不会了。 方式二是直接将配置文件中的log日志配置注释掉,即将以下内容注释掉: ``` # 配置log日志 # logging: # 指定log日志文件 # config: classpath:logback.xml ``` 这样也可以避免。 需要注意的是,若以上两种方式都不起作用,还需要进一步检查配置文件的路径是否正确,并确保配置文件存在于指定的路径中。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* [Logging system failed to initialize using configuration from 'classpath:logback.xml'](https://blog.csdn.net/qq_43648299/article/details/103832227)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *3* [Logging system failed to initialize using configuration from 'classpath:logback-test.xml'](https://blog.csdn.net/qq_25900743/article/details/79299861)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值