더북(TheBook)

5. /etc/swift 디렉터리에 복사된 Ring 파일들과 swift.conf 파일의 소유권을 root:swift로 변경합니다.

root@compute:/etc/swift# chown -R root:swift /etc/swift
root@compute:/etc/swift# ll
total 56
drwxr-xr-x   2 root swift  4096 Jun 22 19:19 ./
drwxr-xr-x 112 root root   4096 Jun 22 19:13 ../
-rw-r–r–   1 root swift   228 Jun 22 19:18 account.ring.gz
-rw-r–r–   1 root swift  6633 Jun 22 18:11 account-server.conf
-rw-r–r–   1 root swift   229 Jun 22 19:18 container.ring.gz
-rw-r–r–   1 root swift  7492 Jun 22 18:13 container-server.conf
-rw-r–r–   1 root swift   226 Jun 22 19:18 object.ring.gz
-rw-r–r–   1 root swift 12278 Jun 22 18:15 object-server.conf
-rw-r–r–   1 root swift  7591 Jun 22 19:17 swift.conf


6. 이번에는 컨트롤러 노드의 /etc/swift 디렉터리 내용도 모두 소유권을 root:swift로 변경합니다.

root@controller:/etc/swift# chown -R root:swift /etc/swift
root@controller:/etc/swift# ll
total 100
drwxr-xr-x   3 root swift  4096 Jun 22 18:41 ./
drwxr-xr-x 114 root root   4096 Jun 19 11:02 ../
-rw-r–r–   1 root swift  9295 Jun 22 18:23 account.builder
-rw-r–r–   1 root swift   228 Jun 22 18:23 account.ring.gz
drwxr-xr-x   2 root swift  4096 Jun 22 18:28 backups/
-rw-r–r–   1 root swift  9295 Jun 22 18:25 container.builder
-rw-r–r–   1 root swift   229 Jun 22 18:25 container.ring.gz
-rw-r–r–   1 root swift  9295 Jun 22 18:28 object.builder
-rw-r–r–   1 root swift   226 Jun 22 18:28 object.ring.gz
-rw-r–r–   1 root swift 31446 Jun 19 10:16 proxy-server.conf
-rw-r–r–   1 root swift  7591 Jun 22 18:40 swift.conf
root@controller:/etc/swift# cd

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.