当前位置:网站首页 > 产品管理 > 正文

lvcreate创建逻辑卷(简述逻辑卷管理lvm创建的主要步骤节点)



  $sudofdisk /dev/sdb
  Welcome to fdisk (util-linux 2.23.2).
  Changes will remain in memory only, until you decide to write them.
  Be careful before using the write command.
  Device does not contain a recognized partition table
  Building a new DOS disklabel with disk identifier 0xa6bc9924.Command (m for help): m #查看一下命令
  Command action
  a toggle a bootable flag
  b edit bsd disklabel
  c toggle the dos compatibility flag
  d delete a partition
  g create a new empty GPT partition table
  G create an IRIX (SGI) partition table
  l list known partition types
  m print this menu
  n add a new partition
  o create a new empty DOS partition table
  p print the partition table
  q quit without saving changes
  s create a new empty Sun disklabel
  t change a partition's system id
  u change display/entry units
  v verify the partition table
  w write table to disk and exit
  x extra functionality (experts only)Command (m for help): n #n 表示 添加新分区
  Partition type:
  p primary (0 primary, 0 extended, 4 free)
  e extendedSelect (default p): # 一个硬盘可以有4个主分区,多个扩展分区,使用默认即可
  Using default response pPartition number (1-4, default 1): #默认创建 第一个主分区,默认即可
  First sector (2048-, default 2048): #第一个主分区的开始扇区,默认即可
  Using default value 2048Last sector, +sectors or +size{K,M,G} (2048-, default ): #第一个主分区的结束扇区,默认即可
  Using default value
  Partition 1 of type Linux and of size 8 GiB is setCommand (m for help): p #打印一下分区表的 信息,确认一下
  Disk /dev/sdb: 8589 MB, bytes, 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 label type: dos
  Disk identifier: 0xa6bc9924
  Device Boot Start End Blocks Id System
  /dev/sdb1 2048 83 LinuxCommand (m for help): w #将分区表写入磁盘并退出
  The partition table has been altered!
  Calling ioctl() to re-read partition table.
  Syncing disks.
到此这篇lvcreate创建逻辑卷(简述逻辑卷管理lvm创建的主要步骤节点)的文章就介绍到这了,更多相关内容请继续浏览下面的相关 推荐文章,希望大家都能在编程的领域有一番成就!

版权声明


相关文章:

  • 电脑怎么打开任务管理器(电脑怎么打开任务管理器win10)2026-04-10 12:45:04
  • 日志管理组件(日志管理框架)2026-04-10 12:45:04
  • 文件管理音频导入相册失败(文件管理中的音频怎么导出)2026-04-10 12:45:04
  • 产品经理有哪些证书(产品经理有哪些证书类型)2026-04-10 12:45:04
  • win10进程管理快捷键(windows10进程管理)2026-04-10 12:45:04
  • spring 日志管理(spring5日志)2026-04-10 12:45:04
  • 文件管理的回收站在哪儿(文件回收站在哪里)2026-04-10 12:45:04
  • 文件管理系统为用户提供(文件管理系统为用户提供什么)2026-04-10 12:45:04
  • 工具类产品设计(工具设计案例)2026-04-10 12:45:04
  • rbac权限模型er图(rbac权限管理系统)2026-04-10 12:45:04
  • 全屏图片