pkdone / gke-mongodb-demo

Demo project showing how to deploy MongoDB on the Google Container Engine (GKE) with Kubernetes
MIT License
97 stars 39 forks source link

About xfs and google kubernetes #12

Open miltosc opened 5 years ago

miltosc commented 5 years ago

Hello, i am very helped from your work and i am thankful to you. I did exactly your project and everything works fine but...

when i try to resize the disk after resizing it then in the mongo pod with the command

cat /etc/mtab

...
/dev/sdb /data/db xfs rw,relatime,attr2,inode64,noquota 0 0
...

ls /dev/
core  fd  full  mqueue  null  ptmx  pts  random  sdb  shm  stderr  stdin  stdout  termination-log  tty  urandom  zero

thereis NO /dev/sdb

xfs_growfs /data/db 
#xfs_growfs: /data/db is not a mounted XFS filesystem

xfs_growfs /dev/sdb
#xfs_growfs: /dev/sdb is not a mounted XFS filesystem

Where is /dev/sdb ?

Thank you for your time Miltiades