1. Attach Physical Hard Disk (하드디스크 장착)
2. Partitioning Disk
#> fdisk -l #> fdisk [DEVICE_PATH]
- Create partition
- Select partition type
3. Create physical volumn (PV 생성)
#> fdisk -l #> pvcreate [DEVICE_PATH]
4. Create Volume Group
If you want to create new volume group, create volume group#> vgcreate [VG_NAME] [PV_NAME]
5. Create Logical Volume
#> lvcreate -l [PE_SIZE] [LV_NAME] [VG_NAME]
6. Make filesytem
#> mkfs.ext4 [LV_PATH]
7. Mount LV
#> mount -t [TYPE] [LV_PATH] [MOUNT_PATH]
8. Register in file system table
#> vi /etc/fstab
/dev/extvg1/extlv1 /home ext4 defaults 0 0
No comments:
Post a Comment