mount: /dev/sdb1 already mounted or /mnt/hdb busy 导致NameNode无法启动

最近,公司由于断电导致的服务器关机,等到来电了,重启集群发现Namenode无法启动,查看原因是由于无法加在faimage文件,在查看一下Namenode的磁盘挂在情况(df -h命令查看),发现磁盘并有挂在上,于是执行mount -a命令 出现mount: /dev/sdb1 already mounted or /mnt/hdb busy。于是百度一下解决了。解决方法如下:

在挂载硬盘分区的时候,会出现mount: /dev/sdd1 already mounted or /data3 busy或者是在执行格式化分区的时候也会出现

/dev/hdb1 is apparently in use by the system; will not make a filesystem here!

解决方法:
[[email protected] ~]# dmsetup status

ResultFromHadoop-ResultFromHadoop: 0 3907026944 linear
ResultFromHadoop-ResultFromHadoop: 3907026944 3907026944 linear
ResultFromHadoop-ResultFromHadoop: 7814053888 3907026944 linear

[[email protected] ~]# dmsetup remove_all

[[email protected] ~]# dmsetup status

No devices found

再次执行mount /dev/sdd1 /data3就可以进行挂载了

时间: 2024-12-22 21:13:11

mount: /dev/sdb1 already mounted or /mnt/hdb busy 导致NameNode无法启动的相关文章

umount: /dev/sdb1: not mounted

今天在使用mount和unmount的时候经常会出现not mount. umount: /dev/sdb1: not mounted 如下 [[email protected] /]# umount /dev/sdb1 umount: /dev/sdb1: not mounted 经过研究: 这里是没有对新建的磁盘进行格式化. 需使用以下命令: 以下的命令:(根据自己设置的磁盘格式进行选择) mkfs.vfat /dev/sdb1 (fat32分区) mkfs.ext4 /dev/sdb1 (

mount: /dev/sdb already mounted or /sheepdog1 busy(multipath,wwid,uuid,udev)

正常处理逻辑: 先umount /dev/sdb或是umount /backup如果还是显示的busy,你试试下面的方法fuser -m /dev/sdb查看一下是否sdb1正在被使用,或是有进程正在使用它然后fuser -km /dev/sdb强制杀掉所有使用/dev/sdb目录的进程最后umount /dev/sdb1或是umount /backup再试着mount /dev/sdb1 /backup. 安装上面的方法操作了,还是提示设备忙. fuser -m /dev/sdb查看,发现mu

Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sdb1简单解决方法

使用CentOS连接U盘时,刚连接时,可能会报一下错误: Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail  or so 初步的解决方法是将U盘里的资料备份后,重

pvcreate出错: Can't open /dev/sdb7 exclusively. Mounted filesystem?

环境:VMware Workstation Centos7.2 x64 出现故障: 在两块磁盘上划分两个分区做PV(Physical Volume): 修改两个分区ID为8e pvcreate /dev/sdb7 /dev/sdc7 Can't open /dev/sdb7 exclusively.  Mounted filesystem? 因为这两块磁盘之前用来做过软Raid5,所以先卸载Raid5,然后删除. umount /dev/md5 mdadm -S /dev/md5 //停止md5

dev/sda2 is mounted; will not make a filesystem here!

Linux:我输入如下命令#mkfs.ext2 /dev/sda2 屏幕的提示信息为:mke2fs 1.32 (09-Nov-2002)/dev/sda2 is mounted; will not make a filesystem here! 一定要记住,不可以在分区之后再进行格式化!! 在错误提示当中可以看出你的分区已经了.先将这个分区卸载了再重新格式化: umount //sda2 mkfs.ext2 //sda2 这样就没有问题了.然后你再重新分区.

挂载磁盘的问题(/dev/sdb1 is apparently in use by the system; will not make a 文件系统 here!)

用fdisk给新磁盘分区后.然后要创建文件系统 [[email protected] ~]# mkfs.ext4 /dev/sdb1mke2fs 1.41.12 (17-May-2010)/dev/sdb1 is apparently in use by the system; will not make a 文件系统 here! 提示.dev/sdb1正在被使用. [[email protected] new]# dmsetup statusvgdate-lvdata1: 0 1024000

Device /dev/sdb1 not found (or ignored by filtering)

/etc/lvm/lvm.conf filters

linux文件系统和mount(硬盘,win分区,光驱,U盘)

fdisk –l查看dos/win/ext2分区(partiton,不是slice,slice是solaris分区) [[email protected] etc]# /sbin/fdisk -l Disk /dev/hda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot     

CentOS iSCSI服务器搭建------Initiator篇

服务器信息: [[email protected] ~]# cat /etc/redhat-release CentOS release 6.6 (Final) [[email protected] ~]# uname -a Linux initiator 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 04:27:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux [[email protected] ~]# ifconfig