Bug ID | 1131931 |
---|---|
Summary | OCFS2: Defragmentation error: No space left on device |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | High Availability |
Assignee | ha-bugs@suse.de |
Reporter | weikai.wang@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
Created attachment 802412 [details]
this script is used to generate disk framentation
when I used the defragfs.ocfs2 to clean up disk fragmentation that generated by
the attached shell script.
you could execute the scrip by command "./defragfs_test.sh -d DEVICE -m
MOUNT_POINT -n CLUSTER_NAME -s pcmk -o /tmp"
You should use the device on your cluster replace DEVICE, use the same way
replace MOUNT_POINT and CLUSTER_NAME.
Then use the command defragfs.ocfs2 MOUNT_POINT. And if no accident, you will
see some message like this:
���
defragfs.ocfs2 1.8.5
[1/201]/mnt/ocfs2/tmp_file:Success [ERROR]Move extent
failed:"/mnt/ocfs2/test_from_dd1" - No space left on device
[2/201]/mnt/ocfs2/test_from_dd1:Failed [ERROR]Move extent
failed:"/mnt/ocfs2/test_from_dd2" - No space left on device
[3/201]/mnt/ocfs2/test_from_dd2:Failed [ERROR]Move extent
failed:"/mnt/ocfs2/test_from_dd3" - No space left on device
���
but if you execute defragfs.ocfs2 MOUNT_POINT again, the error message will not
show again. and all the defragmentation will pass.
please make sure your device's capacity is more tha 1G.
Some times this error can make mount, unmount, and mkfs crushed.