linux没有sdb文件夹,linux – mkfs抱怨说:“/ dev / sdb显然是系统使用的;不会在这里制作文件系统“...

这是Ubuntu服务器11.10.

/ dev / sdb未挂载(请参阅下面的输出),并且我没有看到任何进程使用它.它也不用于交换.这是服务器中的第二个IDE驱动器,连接到辅助IDE,并在硬件raid中设置为阵列2.

我无法安装驱动器,因为我可能已经在使用它.我确实运行了fdisk,删除了所有以前的分区并创建了一个主分区.

root@sargent:/home/harel# fdisk -l /dev/sdb

Disk /dev/sdb: 122.9 GB, 122942324736 bytes

226 heads, 63 sectors/track, 16864 cylinders, total 240121728 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00083711

Device Boot Start End Blocks Id System

/dev/sdb1 2048 240121727 120059840 83 Linux

root@sargent:/home/harel# mkfs -t ext4 /dev/sdb

mke2fs 1.41.14 (22-Dec-2010)

/dev/sdb is entire device, not just one partition!

Proceed anyway? (y,n) y

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

root@sargent:/home/harel# cat /proc/swaps

Filename Type Size Used Priority

/dev/sda5 partition 2619388 0 -1

root@sargent:/home/harel# mount

/dev/sda1 on / type ext4 (rw,errors=remount-ro)

proc on /proc type proc (rw,noexec,nosuid,nodev)

sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)

fusectl on /sys/fs/fuse/connections type fusectl (rw)

none on /sys/kernel/debug type debugfs (rw)

none on /sys/kernel/security type securityfs (rw)

udev on /dev type devtmpfs (rw,mode=0755)

devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)

tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)

none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)

none on /run/shm type tmpfs (rw,nosuid,nodev)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值