zoukankan      html  css  js  c++  java
  • 挂载磁盘的问题(/dev/sdb1 is apparently in use by the system; will not make a 文件系统 here!)

    用fdisk给新磁盘分区后。然后要创建文件系统

    [root@cuizhipeng ~]# mkfs.ext4 /dev/sdb1
    mke2fs 1.41.12 (17-May-2010)
    /dev/sdb1 is apparently in use by the system; will not make a 文件系统 here!

    提示、dev/sdb1正在被使用。

    [root@cuizhipeng new]# dmsetup status
    vgdate-lvdata1: 0 1024000 linear
    vg_cuizhipeng-lv_swap: 0 4194304 linear
    vg_cuizhipeng-lv_root: 0 36716544 linear

    [root@cuizhipeng new]# dmsetup remove_all


    [root@cuizhipeng new]# dmsetup status
    vg_cuizhipeng-lv_swap: 0 4194304 linear
    vg_cuizhipeng-lv_root: 0 36716544 linear

    [root@cuizhipeng new]# mke2fs -t ext4 /dev/sdb1
    mke2fs 1.41.12 (17-May-2010)
    文件系统标签=
    操作系统:Linux
    块大小=4096 (log=2)
    分块大小=4096 (log=2)
    Stride=0 blocks, Stripe width=0 blocks
    146880 inodes, 586372 blocks
    29318 blocks (5.00%) reserved for the super user
    第一个数据块=0
    Maximum filesystem blocks=603979776
    18 block groups
    32768 blocks per group, 32768 fragments per group
    8160 inodes per group
    Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912

    正在写入inode表: 完成
    Creating journal (16384 blocks): 完成
    Writing superblocks and filesystem accounting information: 完成

    This filesystem will be automatically checked every 34 mounts or
    180 days, whichever comes first. Use tune2fs -c or -i to override.

  • 相关阅读:
    HTML5结构
    HTML5新增的非主体元素header元素、footer元素、hgroup元素、adress元素
    CF GYM 100703G Game of numbers
    CF GYM 100703I Endeavor for perfection
    CF GYM 100703K Word order
    CF GYM 100703L Many questions
    CF GYM 100703M It's complicate
    HDU 5313 Bipartite Graph
    CF 560e Gerald and Giant Chess
    POJ 2479 Maximum sum
  • 原文地址:https://www.cnblogs.com/cuizhipeng/p/4288302.html
Copyright © 2011-2022 走看看