반응형
1. LVM 이란?
- LVM ( Logical Volume Manager )는 논리 볼륨 관리자라는 의미로 커널의 한 부분이다.
- LVM을 이용하여 여러 개의 디스크를 하나의 논리적인 볼륨 그룹(VG)로 묶은 뒤, 논리 볼륨(LV)으로 나누고 할당하여 사용이 가능하다.
- 각 논리 볼륨(LV)은 독립적이기 때문에 필요한 파일 시스템을 각각 설치하여 사용 할 수 있다.
2. LVM 장점
- 유연한 용량 조절이 가능하다. ( 크기 변경 시 기존 데이터의 이전이 필요하지 않음 )
- 크기 조절이 가능한 Storage pool
- 편의에 따른 장치 이름 지정
3. LVM 관련 용어 및 구성
- PV ( Physical Volume ) : 실제 디스크 장치를 분할한 파티션 된 상태로 "LVM"에서 사용하기 위한 개념
- PE ( Physical Extent ) : PV를 구성하는 일정한 크기의 Block으로 일반적으로 1PE는 4MB에 해당된다.
- VG ( Volume Group ) : PV들이 모여서 생성된 그룹으로 LV를 할당 할 수 있는 공간
- LV ( Logical Volume ) : 사용자가 사용하기 위해 할당 받는 단위로 LE로 이루어져 있다.
- LE ( Logical Extent ) : LV의 저장 공간을 가리키는 단위로, PE와 1:1로 대응한다.
4. LVM 구성
0.
- 현재 파일 시스템 마운트 상태 확인
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 1.9G 11M 1.9G 1% /run
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/mapper/centos-root 50G 1.3G 49G 3% /
/dev/sda1 1014M 150M 865M 15% /boot
/dev/mapper/centos-home 46G 33M 46G 1% /home
tmpfs 376M 0 376M 0% /run/user/0
- 추가된 디스크 확인
[root@localhost ~]# fdisk -l /dev/sdb
Disk /dev/sdb: 53.7 GB, 53687091200 bytes, 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes
[root@localhost ~]# fdisk -l /dev/sdc
Disk /dev/sdc: 53.7 GB, 53687091200 bytes, 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes
1. 물리 디스크를 사용해 파티션 생성
- sdb를 이용해 파티션 생성
[root@localhost ~]# fdisk /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 0xb01ddc0b.
The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.
Command (m for help): n // 새 파티션 추가
Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-104857599, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-104857599, default 104857599):
Using default value 104857599
Partition 1 of type Linux and of size 50 GiB is set
Command (m for help): p // (프린트) 현재 파티션 정보 출력
Disk /dev/sdb: 53.7 GB, 53687091200 bytes, 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes
Disk label type: dos
Disk identifier: 0xb01ddc0b
Device Boot Start End Blocks Id System
/dev/sdb1 2048 104857599 52427776 83 Linux
Command (m for help): t // (파티션 시스템 id 변경)
Selected partition 1
Hex code (type L to list all codes): 8e // Linux LVM Type Code = 8e
Changed type of partition 'Linux' to 'Linux LVM'
Command (m for help): p
Disk /dev/sdb: 53.7 GB, 53687091200 bytes, 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes
Disk label type: dos
Disk identifier: 0xb01ddc0b
Device Boot Start End Blocks Id System
/dev/sdb1 2048 104857599 52427776 8e Linux LVM // LVM으로 변경 완료
Command (m for help): w // 설정값 저장
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
- sdc를 이용해 파티션 생성
[root@localhost ~]# fdisk /dev/sdc
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 0x3718ceae.
The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.
Command (m for help): n
Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-104857599, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-104857599, default 104857599):
Using default value 104857599
Partition 1 of type Linux and of size 50 GiB is set
Command (m for help): p
Disk /dev/sdc: 53.7 GB, 53687091200 bytes, 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes
Disk label type: dos
Disk identifier: 0x3718ceae
Device Boot Start End Blocks Id System
/dev/sdc1 2048 104857599 52427776 83 Linux
Command (m for help): t
Selected partition 1
Hex code (type L to list all codes): 8e
Changed type of partition 'Linux' to 'Linux LVM'
Command (m for help): p
Disk /dev/sdc: 53.7 GB, 53687091200 bytes, 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes
Disk label type: dos
Disk identifier: 0x3718ceae
Device Boot Start End Blocks Id System
/dev/sdc1 2048 104857599 52427776 8e Linux LVM
Command (m for help): p
Disk /dev/sdc: 53.7 GB, 53687091200 bytes, 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes
Disk label type: dos
Disk identifier: 0x3718ceae
Device Boot Start End Blocks Id System
/dev/sdc1 2048 104857599 52427776 8e Linux LVM
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
2. PV 생성
- 현재 PV 정보 확인
- Command : pvs 혹은 pvdisplay
[root@localhost ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 centos lvm2 a-- <99.00g 4.00m
[root@localhost ~]# pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name centos
PV Size <99.00 GiB / not usable 3.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 25343
Free PE 1
Allocated PE 25342
PV UUID pnsi31-xuOp-1vcy-DdPy-FQah-27cu-44UgQO
- PV 생성
- Command : pvcreate [ 파티션 ]
[root@localhost ~]# pvcreate /dev/sdb1
Physical volume "/dev/sdb1" successfully created.
[root@localhost ~]# pvcreate /dev/sdc1
Physical volume "/dev/sdc1" successfully created.
[root@localhost ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 centos lvm2 a-- <99.00g 4.00m
/dev/sdb1 lvm2 --- <50.00g <50.00g
/dev/sdc1 lvm2 --- <50.00g <50.00g
[root@localhost ~]# pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name centos
PV Size <99.00 GiB / not usable 3.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 25343
Free PE 1
Allocated PE 25342
PV UUID pnsi31-xuOp-1vcy-DdPy-FQah-27cu-44UgQO
"/dev/sdc1" is a new physical volume of "<50.00 GiB"
--- NEW Physical volume ---
PV Name /dev/sdc1
VG Name
PV Size <50.00 GiB
Allocatable NO
PE Size 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID QYcdtG-Ekpk-1EA4-pCdj-uZpR-qJYk-TDQ22T
"/dev/sdb1" is a new physical volume of "<50.00 GiB"
--- NEW Physical volume ---
PV Name /dev/sdb1
VG Name
PV Size <50.00 GiB
Allocatable NO
PE Size 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID prU3XO-wXRT-vRIU-h1o5-GZT7-d5wh-gz84Uq
3. VG 생성
- 현재 VG 정보 확인
- Command : vgs 혹은 vgdisplay
[root@localhost ~]# vgs
VG #PV #LV #SN Attr VSize VFree
centos 1 3 0 wz--n- <99.00g 4.00m
[root@localhost ~]# vgdisplay
--- Volume group ---
VG Name centos
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 3
Max PV 0
Cur PV 1
Act PV 1
VG Size <99.00 GiB
PE Size 4.00 MiB
Total PE 25343
Alloc PE / Size 25342 / 98.99 GiB
Free PE / Size 1 / 4.00 MiB
VG UUID JWHHLV-TI71-0eJD-OifG-Cvlk-1AN0-zV2fbL
- VG 생성
- Command : vgcreate [ 볼륨그룹명 ] [ 물리적볼륨 PV ]
[root@localhost ~]# vgcreate vg-volume1 /dev/sdb1
Volume group "vg-volume1" successfully created
[root@localhost ~]# vgcreate vg-volume2 /dev/sdc1
Volume group "vg-volume2" successfully created
[root@localhost ~]# vgs
VG #PV #LV #SN Attr VSize VFree
centos 1 3 0 wz--n- <99.00g 4.00m
vg-volume1 1 0 0 wz--n- <50.00g <50.00g
vg-volume2 1 0 0 wz--n- <50.00g <50.00g
[root@localhost ~]# vgdisplay
--- Volume group ---
VG Name vg-volume2
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 1
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size <50.00 GiB
PE Size 4.00 MiB
Total PE 12799
Alloc PE / Size 0 / 0
Free PE / Size 12799 / <50.00 GiB
VG UUID jlwmqy-Jrb4-ekMF-qJXG-kDVG-bT0z-Dp0OFC
--- Volume group ---
VG Name centos
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 3
Max PV 0
Cur PV 1
Act PV 1
VG Size <99.00 GiB
PE Size 4.00 MiB
Total PE 25343
Alloc PE / Size 25342 / 98.99 GiB
Free PE / Size 1 / 4.00 MiB
VG UUID JWHHLV-TI71-0eJD-OifG-Cvlk-1AN0-zV2fbL
--- Volume group ---
VG Name vg-volume1
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 1
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size <50.00 GiB
PE Size 4.00 MiB
Total PE 12799
Alloc PE / Size 0 / 0
Free PE / Size 12799 / <50.00 GiB
VG UUID WF0CTV-qbC4-PRsE-OeSs-pbOJ-8GrE-61jEEE
4. LV 생성
- 현재 LV 정보 확인
- Command : lvs 혹은 lvdisplay
[root@localhost ~]# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
home centos -wi-ao---- <45.12g
root centos -wi-ao---- 50.00g
swap centos -wi-ao---- <3.88g
[root@localhost ~]# lvdisplay
--- Logical volume ---
LV Path /dev/centos/swap
LV Name swap
VG Name centos
LV UUID 80HPrb-hDLI-Y6c8-4n1x-GZfI-U9qI-zMYmn1
LV Write Access read/write
LV Creation host, time localhost, 2023-07-19 20:11:36 -0400
LV Status available
# open 2
LV Size <3.88 GiB
Current LE 992
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:1
--- Logical volume ---
LV Path /dev/centos/home
LV Name home
VG Name centos
LV UUID 7TNJI6-WBN4-IJrH-OB9Z-JuIL-e7cA-VKfIuY
LV Write Access read/write
LV Creation host, time localhost, 2023-07-19 20:11:37 -0400
LV Status available
# open 1
LV Size <45.12 GiB
Current LE 11550
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:2
--- Logical volume ---
LV Path /dev/centos/root
LV Name root
VG Name centos
LV UUID MPkKt3-2yNl-2Ejp-FlMc-OM3y-Q605-zQiPkb
LV Write Access read/write
LV Creation host, time localhost, 2023-07-19 20:11:38 -0400
LV Status available
# open 1
LV Size 50.00 GiB
Current LE 12800
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:0
- LV 생성
- Command ->
- -L 옵션을 사용하여 K, M, G, T 단위로 사이즈 지정하는 명령어
- lvcreate -n [ LV이름 ] -L [ LV용량 ] [ VG 이름 ]
- -l 옵션을 사용하여, pe 개수로 용량을 설정하는 명령어 ( 1pe = 4MB )
- lvcreate -n [ LV이름 ] -l [ pe개수 ] [ VG 이름 ]
- Command ->
[root@localhost ~]# lvcreate -n volume1lv -L 49G vg-volume1
Logical volume "volume1lv" created.
[root@localhost ~]# lvcreate -n volume2lv -l 100%FREE vg-volume2
Logical volume "volume2lv" created.
[root@localhost ~]# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
home centos -wi-ao---- <45.12g
root centos -wi-ao---- 50.00g
swap centos -wi-ao---- <3.88g
volume1lv vg-volume1 -wi-a----- 49.00g
volume2lv vg-volume2 -wi-a----- <50.00g
- LV 확장
- Command : lvextend [ -l | -L ] [ LV 용량 ] [ VG 이름 ]
[root@localhost ~]# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
home centos -wi-ao---- <45.12g
root centos -wi-ao---- 50.00g
swap centos -wi-ao---- <3.88g
volume1lv vg-volume1 -wi-a----- 49.00g
volume2lv vg-volume2 -wi-a----- <50.00g
[root@localhost ~]# lvextend -l +100%FREE /dev/vg-volume1/volume1lv
Size of logical volume vg-volume1/volume1lv changed from 49.00 GiB (12544 extents) to <50.00 GiB (12799 extents).
Logical volume vg-volume1/volume1lv successfully resized.
[root@localhost ~]# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
home centos -wi-ao---- <45.12g
root centos -wi-ao---- 50.00g
swap centos -wi-ao---- <3.88g
volume1lv vg-volume1 -wi-a----- <50.00g
volume2lv vg-volume2 -wi-a----- <50.00g
5. 파일시스템 생성
- Command : mkfs.[ Hexa Code ] [ 블록스토리지 경로 ]
[root@localhost ~]# mkfs.ext4 /dev/vg-volume1/volume1lv
mke2fs 1.42.9 (28-Dec-2013)
Discarding device blocks: done
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=256 blocks
3276800 inodes, 13106176 blocks
655308 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2162163712
400 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
[root@localhost ~]# mkfs.ext4 /dev/vg-volume2/volume2lv
mke2fs 1.42.9 (28-Dec-2013)
Discarding device blocks: done
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=256 blocks
3276800 inodes, 13106176 blocks
655308 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2162163712
400 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
6. 마운트
- 마운트 포인트 생성 ( 마운트 할 디렉토리 생성 )
- Command : mkdir [ -p ] [ directory path | directory name ]
[root@localhost ~]# mkdir -p /volume1
[root@localhost ~]# mkdir -p /volume2
- LV 마운트
- Command : mount [ option ] [ device ] [ directory ]
[root@localhost /]# mount /dev/vg-volume1/volume1lv /volume1
[root@localhost /]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 1.9G 11M 1.9G 1% /run
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/mapper/centos-root 50G 1.3G 49G 3% /
/dev/sda1 1014M 150M 865M 15% /boot
/dev/mapper/centos-home 46G 33M 46G 1% /home
tmpfs 376M 0 376M 0% /run/user/0
/dev/mapper/vg--volume1-volume1lv 50G 53M 47G 1% /volume1
[root@localhost /]# mount /dev/vg-volume2/volume2lv /volume2
[root@localhost /]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 1.9G 11M 1.9G 1% /run
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/mapper/centos-root 50G 1.3G 49G 3% /
/dev/sda1 1014M 150M 865M 15% /boot
/dev/mapper/centos-home 46G 33M 46G 1% /home
tmpfs 376M 0 376M 0% /run/user/0
/dev/mapper/vg--volume1-volume1lv 50G 53M 47G 1% /volume1
/dev/mapper/vg--volume2-volume2lv 50G 53M 47G 1% /volume2
- fstab 파일을 이용한 자동 마운트
✓ /etc/fstab은 부팅 단계에서 마운트 되어야 할 볼륨 정보들이 저장되는 곳
[root@localhost etc]# cat fstab
#
# /etc/fstab
# Created by anaconda on Wed Jul 19 20:11:39 2023
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos-root / xfs defaults 0 0
UUID=aef31d2f-8529-4597-bd38-ea7403f9cd51 / boot xfs defaults 0 0
/dev/mapper/centos-home / home xfs defaults 0 0
/dev/mapper/centos-swap swap swap defaults 0 0
[root@localhost etc]# vi fstab
#
# /etc/fstab
# Created by anaconda on Wed Jul 19 20:11:39 2023
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos-root / xfs defaults 0 0
UUID=aef31d2f-8529-4597-bd38-ea7403f9cd51 /boot xfs defaults 0 0
/dev/mapper/centos-home /home xfs defaults 0 0
/dev/mapper/centos-swap swap swap defaults 0 0
/dev/vg-volume1/volume1lv /volume1 ext4 defaults 0 0
/dev/vg-volume2/volume2lv /volume2 ext4 defaults 0 0
[root@localhost etc]# df -TH
Filesystem Type Size Used Avail Use% Mounted on
devtmpfs devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs tmpfs 2.0G 11M 2.0G 1% /run
tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/mapper/centos-root xfs 54G 1.4G 53G 3% /
/dev/sda1 xfs 1.1G 157M 907M 15% /boot
/dev/mapper/centos-home xfs 49G 34M 49G 1% /home
/dev/mapper/vg--volume1-volume1lv ext4 53G 55M 50G 1% /volume1
/dev/mapper/vg--volume2-volume2lv ext4 53G 55M 50G 1% /volume2
[root@localhost etc]# umount -a
umount: /: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /sys/fs/cgroup/systemd: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /sys/fs/cgroup: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /run: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /dev: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
[root@localhost etc]# df -TH
Filesystem Type Size Used Avail Use% Mounted on
devtmpfs devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs tmpfs 2.0G 11M 2.0G 1% /run
tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/mapper/centos-root xfs 54G 1.4G 53G 3% /
[root@localhost etc]# mount -a
[root@localhost etc]# df -TH
Filesystem Type Size Used Avail Use% Mounted on
devtmpfs devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs tmpfs 2.0G 11M 2.0G 1% /run
tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/mapper/centos-root xfs 54G 1.4G 53G 3% /
/dev/sda1 xfs 1.1G 157M 907M 15% /boot
/dev/mapper/centos-home xfs 49G 34M 49G 1% /home
/dev/mapper/vg--volume1-volume1lv ext4 53G 55M 50G 1% /volume1
/dev/mapper/vg--volume2-volume2lv ext4 53G 55M 50G 1% /volume2
Ref
🙋♂️ 궁금한 점이나 잘못된 내용을 댓글로 적어주시면 감사하겠습니다 !!
반응형
'Infra > LINUX' 카테고리의 다른 글
# [Linux] VirtualBox 설치 에러 ( Microsoft Visual C++ 2019 ) (0) | 2024.03.19 |
---|---|
# [Linux] VirtualBox 설치 (3) | 2024.03.19 |
# [Linux] tmux 설치 (0) | 2023.05.17 |
# [Linux] Tmux (0) | 2023.05.16 |
# [Linux] Alias with arguments ( 매개변수를 이용한 별명 ) (0) | 2023.04.18 |