系统之家 - Windows操作系统&装机软件下载网站!

当前位置: 首页  >  教程资讯  >  电脑教程 linux中挂载硬盘报错(you must specify the filesystem type)

linux中挂载硬盘报错(you must specify the filesystem type)

时间:2023-06-02 16:16:41 来源: 人气:

   今天自己的虚拟机磁盘用完成,于是想加一磁盘,当挂载时发现报错you must specify the filesystem type。(注:我的系统环境是lcentos6.3装在virtualbox的虚拟机),  原来是因为该磁盘没有格式分区导致的于是有了以下操作:,  1)先查看一下当前的系统情况,新加的盘是sdb,[root@test ~]# lsblk NAME                        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT sr0                          11:0    1  1024M  0 rom  sda                           8:0    0     8G  0 disk ├─sda1                        8:1    0   500M  0 part /boot └─sda2                        8:2    0   7.5G  0 part   ├─VolGroup-lv_root (dm-0) 253:0    0   6.6G  0 lvm  /   └─VolGroup-lv_swap (dm-1) 253:1    0   992M  0 lvm  [SWAP] sdb                           8:16   0     8G  0 disk,  2)尝试挂载,报错,  mount: you must specify the filesystem type,  3)格式化该磁盘,  4)挂载成功,[root@test ~]# cd /disk/ [root@test disk]# ls lost+found,  5)增加开机启动,

作者

教程资讯

电脑教程排行

系统教程

系统主题