티스토리 뷰
반응형
- auth.allow 등록 - 기본이 * 이며 등록 되면 나머지 아이피는 인증 실패로 마운트 불가하다.
[root@reni-glusterfs01 brick1]# gluster volume set glusterfs-storage auth.allow 192.168.0.18
volume set: success
- allow 확인
[root@reni-ansible ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 2.0G 9.1M 2.0G 1% /run
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/mapper/centos-root 46G 2.2G 43G 5% /
/dev/xvda1 1014M 140M 875M 14% /boot
tmpfs 393M 0 393M 0% /run/user/0
gluster01:glusterfs-storage 50G 545M 50G 2% /storage-volume
[root@reni-ansible ~]# umount /storage-volume
[root@reni-ansible ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 2.0G 9.1M 2.0G 1% /run
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/mapper/centos-root 46G 2.2G 43G 5% /
/dev/xvda1 1014M 140M 875M 14% /boot
tmpfs 393M 0 393M 0% /run/user/0
[root@reni-ansible ~]# mount -t glusterfs gluster01:glusterfs-storage /storage-volume
[root@reni-ansible ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 2.0G 9.1M 2.0G 1% /run
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/mapper/centos-root 46G 2.2G 43G 5% /
/dev/xvda1 1014M 140M 875M 14% /boot
tmpfs 393M 0 393M 0% /run/user/0
gluster01:glusterfs-storage 50G 545M 50G 2% /storage-volume
[root@reni-ansible ~]#
- reject 확인
[root@reni-proxy glusterfs]# mount -t glusterfs gluster01:glusterfs-storage /storage-volume
Mount failed. Check the log file for more details.
[root@reni-proxy glusterfs]# tail -f storage-volume.log
[2021-10-28 15:38:18.693573 +0000] E [fuse-bridge.c:6484:notify] 0-fuse: Server authenication failed. Shutting down.
[root@reni-proxy glusterfs]#
### reni-glusterfs01 서버에서 auth allow 추가
[root@reni-glusterfs01 ~]# gluster volume set glusterfs-storage auth.allow 192.168.0.18,192.168.0.17
volume set: success
[root@reni-glusterfs01 ~]# gluster volume get glusterfs-storage auth.allow
Option Value
------ -----
auth.allow 192.168.0.18,192.168.0.17
[root@reni-glusterfs01 ~]#
### reni-proxy 서버에서 auth allow 등록 후 확인
[root@reni-proxy /]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 2.0G 9.1M 2.0G 1% /run
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/mapper/centos-root 46G 1.6G 44G 4% /
/dev/xvda1 1014M 140M 875M 14% /boot
tmpfs 393M 0 393M 0% /run/user/0
gluster01:glusterfs-storage 50G 545M 50G 2% /storage-volume
[root@reni-proxy /]#
반응형
'linux' 카테고리의 다른 글
리눅스 파일 시스템 동기화 lsync (0) | 2021.11.05 |
---|---|
quotas to glusterfs (0) | 2021.10.29 |
install glusterfs on centos7 (0) | 2021.10.28 |
OS 종료시 특정 스크립트 기동 하는 방법 (0) | 2021.10.26 |
부팅시 프로세스 우선 순위 설정 (Centos 7) (0) | 2021.10.26 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- linux command log
- 윈도우서버 계정 관려
- dl20
- 리눅스 커맨드 로그남기기
- nxos ansible
- ios ansible
- 특정 문구 치환
- dl20 centos7
- cmd로 계정 생성
- CentOS 7 GUI
- shell connmad log
- DL20 GEN9 장비에 CentOS 7
- cgroup
- kernel 변경
- dl20 g9 centos7 설치
- ansible ios
- chrony
- cisco ansible
- oracle linux8 kernel
- 특정 라인삭제
- centos7 ntp
- ISCSI 볼륨 RAC
- ipmi
- ILO
- 윈도우 cmd 계정 관리
- windows.old 강제삭제
- ansible network
- cmd로 윈도우 계정 관리
- nutanix rac
- vm rac
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함