Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning

FAILED
--------------------
Pups::ExecError: rm -fr /var/run/postgresql failed with return #<Process::Status: pid 44 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params "rm -fr /var/run/postgresql"
e2dc80ecc95d1d10a46a3c68e6061159517aba616346c7489fb242a0ad4e1232
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

Info
titleDocker 설치시 경고 메시지

WARNING: the devicemapper storage-driver is deprecated, and will be removed in a future release.

WARNING: devicemapper: usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.


Info
titleDocker공식 페이지의 storage-driver

출처 : https://docs.docker.com/storage/storagedriver/select-storage-driver/

The devicemapper storage driver is deprecated in Docker Engine 18.09, and will be removed in a future release. It is recommended that users of the devicemapper storage driver migrate to overlay2.



해결방안

Info

Disk 생성시 Docker 호완 Filesystem으로 설정합니다.


자세한 정보는 아래 URL을 참조

https://linuxer.pro/2017/03/fix-chown-error-discourse-bootstrap/


BPV-TDEV-COMMWAS01 서버 정보

Code Block
titleBPV-TDEV-COMMWAS01
collapsetrue
[svcapp_su@BPV-TDEV-COMMWAS01 ~]$ cat /etc/*-release
CentOS release 6.5 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
CentOS release 6.5 (Final)
CentOS release 6.5 (Final)
-----------------------------------------------------------------
[svcapp_su@BPV-TDEV-COMMWAS01 ~]$ sudo docker info
Containers: 1
Images: 8
Storage Driver: devicemapper
 Pool Name: docker-8:1-1052558-pool
 Pool Blocksize: 65.54 kB
 Backing Filesystem: extfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 5.9 GB
 Data Space Total: 107.4 GB
 Data Space Available: 9.353 GB
 Metadata Space Used: 4.039 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.143 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.95-RHEL6 (2015-09-08)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.3.0-1.el6.elrepo.x86_64
Operating System: <unknown>
CPUs: 4
Total Memory: 7.797 GiB
Name: BPV-TDEV-COMMWAS01
ID: 2SUX:LOIQ:4C3K:MIPS:HZET:GA6B:D3IT:LLTB:DMDX:VALV:3ZNM:4U4P
WARNING: No swap limit support
[svcapp_su@BPV-TDEV-COMMWAS01 ~]$ 
----------------------------------------------------------------
[svcapp_su@BPV-TDEV-COMMWAS01 ~]$ cat /etc/fstab 

#
# /etc/fstab
# Created by anaconda on Fri May 22 13:38:39 2015
#
# 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
#
UUID=044f8a19-4e80-4602-b252-827d91907b9d /                       ext4    defaults        1 1
UUID=46085d43-40db-4b32-8126-0d1cd6e98567 swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults,size=4G        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/mapper/VG01-srv    /srv                    ext4    defaults        0 0
/dev/mapper/VG02-com    /community              ext4    defaults        0 0
#cgroup /sys/fs/cgroup cgroup defaults 0 0
[svcapp_su@BPV-TDEV-COMMWAS01 ~]$
----------------------------------------------------------------
[svcapp_ro@BPV-TDEV-COMMWAS01 /]$ ls -al
합계 172
dr-xr-xr-x.  31 root   root    4096 2017-09-23 09:09 .
dr-xr-xr-x.  31 root   root    4096 2017-09-23 09:09 ..
-rw-r--r--    1 root   root       0 2017-09-23 09:09 .autofsck
-rw-r--r--    1 root   root       0 2015-05-22 14:20 .autorelabel
drwx------.   3 root   root    4096 2015-05-22 13:54 .dbus
drwx------.   2 root   root    4096 2015-05-22 13:54 .pulse
-rw-------.   1 root   root     256 2015-05-22 13:54 .pulse-cookie
drwxr-xr-x    2 root   root    4096 2015-05-29 11:20 baas-data
dr-xr-xr-x.   2 root   root    4096 2017-09-19 03:35 bin
dr-xr-xr-x.   4 root   root    4096 2016-01-26 20:04 boot
drwxrwxrwx.  10 root   root    4096 2017-03-22 17:42 cgroup
drwx------    5    102    107  4096 2016-01-27 15:13 community
------------------------------------------------------------------
[svcapp_su@BPV-TDEV-COMMWAS01 ~]$ sudo tune2fs -l /dev/sda1
tune2fs 1.41.12 (17-May-2010)
Filesystem volume name:   <none>
Last mounted on:          /
Filesystem UUID:          044f8a19-4e80-4602-b252-827d91907b9d
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              1769472
Block count:              7077632
Reserved block count:     353881
Free blocks:              2226317
Free inodes:              1556333
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      1022
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Flex block group size:    16
Filesystem created:       Fri May 22 13:31:59 2015
Last mount time:          Sat Sep 23 09:09:41 2017
Last write time:          Fri Feb  8 04:34:49 2019
Mount count:              35
Maximum mount count:      -1
Last checked:             Fri May 22 13:31:59 2015
Check interval:           0 (<none>)
Lifetime writes:          5566 GB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
First orphan inode:       407031
Default directory hash:   half_md4
Directory Hash Seed:      fe12f1ef-b23c-417a-be77-d13639eb2fbd
Journal backup:           inode blocks
[svcapp_su@BPV-TDEV-COMMWAS01 ~]$ 

...