Skip to content

Instantly share code, notes, and snippets.

@smreed
Created January 14, 2015 17:27
Show Gist options
  • Save smreed/2cbb9873ca48651b59b9 to your computer and use it in GitHub Desktop.
Save smreed/2cbb9873ca48651b59b9 to your computer and use it in GitHub Desktop.
Note that the PD is mounted in two locations.
$ df -h | grep redis
/dev/disk/by-id/google-redis-3-storage 493G 11G 457G 3% /var/lib/kubelet/global/pd/rw/redis-3-storage
/dev/disk/by-id/google-redis-3-storage 493G 11G 457G 3% /var/lib/kubelet/redis-3/volumes/gce-pd/redis-master-storage
Note there is no /var/lib/kubelet/redis-1/...
$ df -h | grep redis
/dev/disk/by-id/google-redis-1-storage 493G 5.3G 462G 2% /var/lib/kubelet/global/pd/rw/redis-1-storage
But it exists as a dir on the / partition
$ ls -al /var/lib/kubelet/redis-1
total 12
drwxr-x--- 3 root root 4096 Jan 14 00:14 .
drwxr-x--- 6 root root 4096 Jan 14 00:14 ..
drwxr-x--- 3 root root 4096 Jan 14 00:14 volumes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment