xfs-support
Bug #1802068 reported by
wangjun
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
New
|
Undecided
|
wangjun |
Bug Description
when I make "volume_
To post a comment you must log in.
def resize_fs(self, mount_point):
self._ check_device_ exists( ) for_mount( mount_point, timeout=2):
utils. execute( "xfs_growfs" , self.device_path,
run_ as_root= True, root_helper="sudo")
LOG. debug(" Unmounting '%s' before resizing." % mount_point)
self. unmount( mount_point)
return
"""Resize the filesystem on the specified device."""
# Some OS's will mount a file systems after it's attached if
# an entry is put in the fstab file (like Trove does).
# Thus it may be necessary to wait for the mount and then unmount
# the fs again (since the volume was just attached).
try:
if self._wait_
if CONF.volume_fstype == 'xfs':
except exception.
msg = _("Error resizing the filesystem with device '%s'.") % (