linux如何删除别的lvm分区,求助:怎样删除LVM分区????

我安装fedora时,只选择安装了第一块硬盘。当装完后,我发现第二块硬盘也被格式化成了Linux LVM格式:

Device Boot      Start         End      Blocks   Id  System

/dev/sda1   *           1          25      200781   83  Linux

/dev/sda2              26        8924    71481217+  8e  Linux LVM

Disk /dev/sdb: 73.4 GB, 73407865856 bytes

255 heads, 63 sectors/track, 8924 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Disk identifier: 0x000371b6

Device Boot      Start         End      Blocks   Id  System

/dev/sdb1   *           1        8924    71681998+  8e  Linux LVM

我想把第二块硬盘变成空白盘,但是不知道怎么弄。我先用fdisk /dev/sdb1进去后,删除分区,说没有分区。那我就直接创建分区,但是又没法使用新的分区表,重起也没有用,这是怎么回事啊?

Command (m for help): p

Disk /dev/sdb1: 73.4 GB, 73402366464 bytes

255 heads, 63 sectors/track, 8923 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Disk identifier: 0x4ebb2507

Device Boot      Start         End      Blocks   Id  System

/dev/sdb1p1               1        1024     8225248+  83  Linux

/dev/sdb1p2            1025        8923    63448717+   5  Extended

/dev/sdb1p5            1025        2048     8225248+  83  Linux

/dev/sdb1p6            2049        4096    16450528+  83  Linux

=================================================

Command (m for help): w

The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 22: Invalid argument.

The kernel still uses the old table.

The new table will be used at the next reboot.

Syncing disks.

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值