반응형
file
※ 1GB 하드디스크 3개 추가
#apt install mdadm lvm2 nfs-kernel-server -y
#mdadm –-create /dev/md0 –-level=5 –-raid-devices=3 /dev/sdb /dev/sdc /dev/sdd
#update-initramfs -u
#pvcreate /dev/md0
#vgcreate file /dev/md0
#lvcreate -l 100%FREE -n data file /dev/md0
#mkfs.ext4 /dev/file/data
#mkdir /data
#vim /etc/fstab
.
#mount -a
#mkdir /data/documents
#mkdir /data/home
#chmod 777 /data/*
#vi /etc/exports
#systemctl restart nfs-kernel-server
client1
#mkdir –p /mnt/documents/ /data/home/
#chmod 777 /mnt/documents /data/home
#vim /etc/fstab
#mount -a
반응형
'OS > Linux' 카테고리의 다른 글
[기능대회] Samba Share 구성 (0) | 2021.11.09 |
---|---|
[기능대회] 1과제 LDAP Service 구성 (0) | 2021.11.09 |
[기능대회] 1과제 Site-to-Site VPN 구성 (0) | 2021.11.09 |
[기능대회] 1과제 NAT & Firewall Service 구성 (0) | 2021.11.09 |
[기능대회] 1과제 DNS Service 구성 하기 (0) | 2021.11.09 |