linux文件系统的管理方法,Linux文件系统的管理

[root@rhel63-9 ~]# fdisk -l

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes

255 heads, 63 sectors/track, 121601 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

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

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

Disk identifier: 0x73c64f67

Device Boot      Start         End      Blocks   Id  System

/dev/sdb1               1      121601   976760001   83  Linux

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes

255 heads, 63 sectors/track, 121601 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

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

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

Disk identifier: 0x000ad0c8

Device Boot      Start         End      Blocks   Id  System

/dev/sda1   *           1       12749   102400000   83  Linux

/dev/sda2           12749       15298    20480000   82  Linux swap / Solaris

/dev/sda3           15298      121601   853879008+  83  Linux

[root@rhel63-9 ~]#pvdisplay

"/dev/sda3" is a new physical volume of "814.32 GiB"

--- NEW Physical volume ---

PV Name               /dev/sda3

VG Name

PV Size               814.32 GiB

Allocatable           NO

PE Size               0

Total PE              0

Free PE               0

Allocated PE          0

PV UUID               v0hWNX-j0pA-ISds-edVp-n7Fj-8LlV-UujcDF

[root@rhel63-9 ~]# pvremove /dev/sda3

Labels on physical volume "/dev/sda3" successfully wiped

[root@rhel63-9 ~]# pvdisplay

[root@rhel63-9 ~]#pvcreate /dev/sda3 /dev/sdb1

Writing physical volume data to disk "/dev/sda3"

Physical volume "/dev/sda3" successfully created

Writing physical volume data to disk "/dev/sdb1"

Physical volume "/dev/sdb1" successfully created

[root@rhel63-9 ~]# pvdisplay

"/dev/sda3" is a new physical volume of "814.32 GiB"

--- NEW Physical volume ---

PV Name               /dev/sda3

VG Name

PV Size               814.32 GiB

Allocatable           NO

PE Size               0

Total PE              0

Free PE               0

Allocated PE          0

PV UUID               8BcbtW-cjs9-koIY-GUSy-osAr-hpmJ-rKSvW9

"/dev/sdb1" is a new physical volume of "931.51 GiB"

--- NEW Physical volume ---

PV Name               /dev/sdb1

VG Name

PV Size               931.51 GiB

Allocatable           NO

PE Size               0

Total PE              0

Free PE               0

Allocated PE          0

PV UUID               GMJOhb-m111-928y-xgrv-eXZO-cr37-37N5NC

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值