gke-mongodb-demo icon indicating copy to clipboard operation
gke-mongodb-demo copied to clipboard

About xfs and google kubernetes

Open miltosc opened this issue 6 years ago • 0 comments

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

miltosc avatar Nov 24 '18 20:11 miltosc