728x90

리눅스 3

Centos7 LVM root 용량 증설 하는 방법

가상머신에서 OS 운영 하다보면 disk 용량이 부족한 경우가 발생 한다. LVM 파티션으로 설치 했다면 디스크 추가 없이 용량 증설이 가능하다. 30GB disk를 50GB 증설 완료 - 기존 root 파티션에는 26GB 잡혀 있다. [root@localhost ~]# fdisk -l Disk /dev/xvda: 53.7 GB, 53687091200 bytes, 104857600 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: dos Disk identi..

IT/LINUX 2023.05.10

Linux에서 NFS 서버를 설정하는 방법

NFS Server #firewalld disable systemctl stop firewalld systemctl disable firewalld # nfs 설치 yum -y install nfs-utils # 서비스 시작 / 부팅 시 자동 시작 systemctl start nfs-server systemctl start rpcbind systemctl enable nfs-server systemctl enable rpcbind # 공유할 디렉토리 생성 mkdir /nfstest chmod 777 /nfstest # mount 설정 # 읽고 쓰기(rw) 가능, 클라이언트의 계정을 root로 매핑(no_root_squash), 서버-클라이언트 동기화(rync) /etc/exports /nfstest 19..

IT/LINUX 2023.05.03
728x90