getting provisioned capacity on NetAPP based NFS by 'du' returns "WARNING: Circular directory structure"

Bug #1779313 reported by Tang Hongwei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Confirmed
Undecided
Tang Hongwei

Bug Description

Function in cinder/volume/drivers/remotefs.py: _get_provisioned_capacity

out, _ = self._execute('du', '--bytes', mount_path,
                                   run_as_root=True)
running of 'du' on mount_path "/var/lib/cinder/mnt/0ba90ecf601a296c0bb210357a0573ff" return ERROR as follows:

du: WARNING: Circular directory structure.
This almost certainly means that you have a corrupted file system.
NOTIFY YOUR SYSTEM MANAGER.
The following directory is part of the cycle:
  './0ba90ecf601a296c0bb210357a0573ff/.snapshot/hourly.0'

du: WARNING: Circular directory structure.
This almost certainly means that you have a corrupted file system.
NOTIFY YOUR SYSTEM MANAGER.
The following directory is part of the cycle:
  './0ba90ecf601a296c0bb210357a0573ff/.snapshot/nightly.0'

Tags: cinder netapp
affects: openstack-manuals → cinder
Changed in cinder:
assignee: nobody → Tang Hongwei (tanghongwei)
Changed in cinder:
status: New → Confirmed
Revision history for this message
Erlon R. Cruz (sombrafam) wrote :

It seems you are using the generic NFS driver in a ONTAP share right? Can you post your cinder.conf file? And if possible a full stack trace?

Revision history for this message
Naresh Kumar Gunjalli (nareshkumarg) wrote :

Hello.. As Erlon asked before, can you share your cinder.conf and the full stack trace when this error was seen?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.