Azure / Azure/kubernetes-volume-drivers

kubectl exec -it <podname> -- df -h shows size of 60Z

Open
#108 19 comments 1 reaction 0 assignees View on GitHub
Dominant language
Shell
Stars
127
Forks
62
Avg merge
1d 23h
Merged PRs (30d)
2

Description

Followed the instructions on this page when i got to testing the deployment recieved the following out put from

kubectl exec -it deployment-localdisk-6f95f4f858-bjkms -- df -h
Filesystem Size Used Avail Use% Mounted on
overlay 124G 23G 102G 19% /
tmpfs 64M 0 64M 0% /dev
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/sdb1 60Z 60Z 0 100% /mnt/localdisk
/dev/sda1 124G 23G 102G 19% /etc/hosts
shm 64M 0 64M 0% /dev/shm
tmpfs 32G 12K 32G 1% /run/secrets/kubernetes.io/serviceaccount
tmpfs 32G 0 32G 0% /proc/acpi
tmpfs 32G 0 32G 0% /proc/scsi
tmpfs 32G 0 32G 0% /sys/firmware

connected to the pod and tried to make a directory at the mountpath /mnt/localdisk
mkdir test
mkdir: cannot create directory 'test': Structure needs cleaning
logs shows many
/bin/sh: 1: cannot create /mnt/localdisk/outfile: Structure needs cleaning
/bin/sh: 1: cannot create /mnt/localdisk/outfile: Structure needs cleaning
/bin/sh: 1: cannot create /mnt/localdisk/outfile: Structure needs cleaning
/bin/sh: 1: cannot create /mnt/localdisk/outfile: Structure needs cleaning
/bin/sh: 1: cannot create /mnt/localdisk/outfile: Structure needs cleaning
/bin/sh: 1: cannot create /mnt/localdisk/outfile: Structure needs cleaning
/bin/sh: 1: cannot create /mnt/localdisk/outfile: Structure needs cleaning

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported kubectl exec -it deployment-localdisk-6f95f4f858-bjkms -- df -h output and the mkdir failure at /mnt/localdisk. Review the deployment instructions and container logs to identify why the mounted device reports 60Z and returns “Structure needs cleaning”; done means the mount has a usable capacity and supports directory creation and file writes.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, shell
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.