{"action":"opened","issue":{"url":"https://api.github.com/repos/openebs/openebs/issues/1565","repository_url":"https://api.github.com/repos/openebs/openebs","labels_url":"https://api.github.com/repos/openebs/openebs/issues/1565/labels{/name}","comments_url":"https://api.github.com/repos/openebs/openebs/issues/1565/comments","events_url":"https://api.github.com/repos/openebs/openebs/issues/1565/events","html_url":"https://github.com/openebs/openebs/issues/1565","id":328108713,"node_id":"MDU6SXNzdWUzMjgxMDg3MTM=","number":1565,"title":"File system created on jiva volume corrupted after resizing.","user":{"login":"prabhatkumarthakur","id":20839334,"node_id":"MDQ6VXNlcjIwODM5MzM0","avatar_url":"https://avatars2.githubusercontent.com/u/20839334?v=4","gravatar_id":"","url":"https://api.github.com/users/prabhatkumarthakur","html_url":"https://github.com/prabhatkumarthakur","followers_url":"https://api.github.com/users/prabhatkumarthakur/followers","following_url":"https://api.github.com/users/prabhatkumarthakur/following{/other_user}","gists_url":"https://api.github.com/users/prabhatkumarthakur/gists{/gist_id}","starred_url":"https://api.github.com/users/prabhatkumarthakur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prabhatkumarthakur/subscriptions","organizations_url":"https://api.github.com/users/prabhatkumarthakur/orgs","repos_url":"https://api.github.com/users/prabhatkumarthakur/repos","events_url":"https://api.github.com/users/prabhatkumarthakur/events{/privacy}","received_events_url":"https://api.github.com/users/prabhatkumarthakur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-31T11:55:52Z","updated_at":"2018-05-31T11:55:52Z","closed_at":null,"author_association":"MEMBER","body":"File system is seen to be having errors after resizing it. The steps followed are as follows:\r\n1) Deploy OpenEBS\r\n2)Deploy perconna application.\r\n3) Obtain iSCSI target details.\r\n4) Unmount the file system\r\n5) Logout the iscsi target\r\n6) Get the id of the volume\r\n7) Modifiy the volume size\r\n8) Restart the replicas\r\n9)Login to the target\r\n10)Checked the disk size using fdisk -l. \r\n11)Check the file system consistency.\r\n\r\n\r\n**What happened**:\r\n```\r\nroot@prabhat-virtual-machine:/home/prabhat# e2fsck -f /dev/sdc\r\ne2fsck 1.42.13 (17-May-2015)\r\n/dev/sdc: recovering journal\r\nSuperblock needs_recovery flag is clear, but journal has data.\r\nRun journal anyway<y>? yes\r\ne2fsck: unable to set superblock flags on /dev/sdc\r\n\r\n/dev/sdc: ********** WARNING: Filesystem still has errors **********\r\n```\r\n**What you expected to happen**:\r\nThe file system should be without errors.\r\n\r\n\r\n\r\n<!--\r\n**Environment**:\r\n- kubectl get nodes\r\n```NAME       STATUS    ROLES     AGE       VERSION\r\n   minikube   Ready     master    4h        v1.10.0\r\n```\r\n- kubectl get pods --all-namespaces\r\n```\r\nNAMESPACE     NAME                                                             READY     STATUS    RESTARTS   AGE\r\ndefault       maya-apiserver-9679b678-n79bz                                    1/1       Running   0          4h\r\ndefault       openebs-provisioner-55ff5cd67f-lgwh2                             1/1       Running   0          4h\r\ndefault       percona                                                          1/1       Running   0          4h\r\ndefault       pvc-8de2f9e7-64a3-11e8-994b-000c2959d9a2-ctrl-75bf7d6bdd-wg2gk   2/2       Running   0          4h\r\ndefault       pvc-8de2f9e7-64a3-11e8-994b-000c2959d9a2-rep-5f4d48987c-dlmh4    1/1       Running   0          1h\r\nkube-system   etcd-minikube                                                    1/1       Running   0          4h\r\nkube-system   kube-addon-manager-minikube                                      1/1       Running   0          4h\r\nkube-system   kube-apiserver-minikube                                          1/1       Running   0          4h\r\nkube-system   kube-controller-manager-minikube                                 1/1       Running   0          4h\r\nkube-system   kube-dns-86f4d74b45-sjftt                                        3/3       Running   0          4h\r\nkube-system   kube-proxy-bbx5w                                                 1/1       Running   0          4h\r\nkube-system   kube-scheduler-minikube                                          1/1       Running   0          4h\r\nkube-system   kubernetes-dashboard-5498ccf677-nj4k9                            1/1       Running   0          4h\r\nkube-system   storage-provisioner                                              1/1       Running   0          4h\r\n```\r\n- kubectl get services\r\n ```\r\nroot@prabhat-virtual-machine:/home/prabhat# kubectl get services\r\nNAME                                                TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)             AGE\r\nkubernetes                                          ClusterIP   10.96.0.1        <none>        443/TCP             4h\r\nmaya-apiserver-service                              ClusterIP   10.108.148.118   <none>        5656/TCP            4h\r\npvc-8de2f9e7-64a3-11e8-994b-000c2959d9a2-ctrl-svc   ClusterIP   10.106.254.221   <none>        3260/TCP,9501/TCP   4h\r\n```\r\n- kubectl get sc\r\n```\r\nroot@prabhat-virtual-machine:/home/prabhat# kubectl get sc\r\nNAME                 PROVISIONER                    AGE\r\nopenebs-cassandra    openebs.io/provisioner-iscsi   4h\r\nopenebs-es-data-sc   openebs.io/provisioner-iscsi   4h\r\nopenebs-jupyter      openebs.io/provisioner-iscsi   4h\r\nopenebs-kafka        openebs.io/provisioner-iscsi   4h\r\nopenebs-mongodb      openebs.io/provisioner-iscsi   4h\r\nopenebs-percona      openebs.io/provisioner-iscsi   4h\r\nopenebs-redis        openebs.io/provisioner-iscsi   4h\r\nopenebs-standalone   openebs.io/provisioner-iscsi   4h\r\nopenebs-standard     openebs.io/provisioner-iscsi   4h\r\nopenebs-zk           openebs.io/provisioner-iscsi   4h\r\nstandard (default)   k8s.io/minikube-hostpath       4h\r\n```\r\n- kubectl get pv\r\n```\r\nroot@prabhat-virtual-machine:/home/prabhat# kubectl get pv\r\nNAME                                       CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS    CLAIM                     STORAGECLASS         REASON    AGE\r\npvc-8de2f9e7-64a3-11e8-994b-000c2959d9a2   5G         RWO            Delete           Bound     default/demo-vol1-claim   openebs-standalone             4h\r\n```\r\n- kubectl get pvc\r\n```\r\nroot@prabhat-virtual-machine:/home/prabhat# kubectl get pvc\r\nNAME              STATUS    VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS         AGE\r\ndemo-vol1-claim   Bound     pvc-8de2f9e7-64a3-11e8-994b-000c2959d9a2   5G         RWO            openebs-standalone   4h\r\n```\r\n```\r\n- OS (e.g. from /etc/os-release):\r\nNAME=\"Ubuntu\"\r\nVERSION=\"16.04.3 LTS (Xenial Xerus)\"\r\nID=ubuntu\r\nID_LIKE=debian\r\nPRETTY_NAME=\"Ubuntu 16.04.3 LTS\"\r\nVERSION_ID=\"16.04\"\r\nHOME_URL=\"http://www.ubuntu.com/\"\r\nSUPPORT_URL=\"http://help.ubuntu.com/\"\r\nBUG_REPORT_URL=\"http://bugs.launchpad.net/ubuntu/\"\r\nVERSION_CODENAME=xenial\r\nUBUNTU_CODENAME=xenial\r\n```\r\n\r\n```\r\n- Kernel (e.g. `uname -a`):\r\nLinux prabhat-virtual-machine 4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May 17 12:56:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux\r\n```\r\n- Install tools:\r\nMinikube\r\n"}}
{"actor":{"display_login":"prabhatkumarthakur"}}