pvcreate
Use the pvcreate command to add devices to lvm. This example shows how to add
a disk (or hardware RAID device) to lvm.
[root@RHEL5 ~]# pvcreate /dev/sdb
Physical volume "/dev/sdb" successfully created
[root@RHEL5 ~]#
This example shows how to add a partition to lvm.
[root@RHEL5 ~]# pvcreate /dev/sdc1
Physical volume "/dev/sdc1" successfully created
[root@RHEL5 ~]#
You can also add multiple disks or partitions as target to pvcreate. This example adds
three disks to lvm.
[root@RHEL5 ~]# pvcreate /dev/sde /dev/sdf /dev/sdg
Physical volume "/dev/sde" successfully created
Physical volume "/dev/sdf" successfully created
Physical volume "/dev/sdg" successfully created
[root@RHEL5 ~]#
www.newstips24.blogspot.com
Use the pvcreate command to add devices to lvm. This example shows how to add
a disk (or hardware RAID device) to lvm.
[root@RHEL5 ~]# pvcreate /dev/sdb
Physical volume "/dev/sdb" successfully created
[root@RHEL5 ~]#
This example shows how to add a partition to lvm.
[root@RHEL5 ~]# pvcreate /dev/sdc1
Physical volume "/dev/sdc1" successfully created
[root@RHEL5 ~]#
You can also add multiple disks or partitions as target to pvcreate. This example adds
three disks to lvm.
[root@RHEL5 ~]# pvcreate /dev/sde /dev/sdf /dev/sdg
Physical volume "/dev/sde" successfully created
Physical volume "/dev/sdf" successfully created
Physical volume "/dev/sdg" successfully created
[root@RHEL5 ~]#
www.newstips24.blogspot.com
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন