Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(low priority, not critical) \n introduced in the merge #7078, breaking the line when zpool status while rebuilding #10

Closed
carlesmateo opened this issue Feb 6, 2018 · 1 comment

Comments

@carlesmateo
Copy link

System information

Type Version/Name
Distribution Name N/A
Distribution Version N/A
Linux Kernel N/A
Architecture Any
ZFS Version DRAID openzfs#7078 pull request
SPL Version N/A

Describe the problem you're observing

While Rebuilding zpool status breaks a line with carriage return.
It is a \n.
So you get the message for the amount rebuilt (i.e. 85.1G) and time to go in two lines (, 0 days 00:29:51 to go):

  scan: rebuild in progress since Tue Feb  6 15:39:16 2018
              1.83T scanned at 1.78G/s, 851G issued at 2.63G/s, 5.43T total
              85.1G rebuilt, 15.32% done
, 0 days 00:29:51 to go

2018-02-06 15-40-24-draid-slash-n-to-go

Describe how to reproduce the problem

Launch a dRAID Rebuild and type zpool status

Include any warning/errors/backtraces from the system logs

Example:

  scan: rebuild in progress since Tue Feb  6 15:39:16 2018
	1.83T scanned at 1.78G/s, 851G issued at 2.63G/s, 5.43T total
	85.1G rebuilt, 15.32% done
, 0 days 00:29:51 to go
thegreatgazoo pushed a commit that referenced this issue May 1, 2018
Changed dRAID spare vdev prefix from '$' to '%'. Fixed a few
build and style warnings. Fixed rebuild status report
(/issues/10).

Signed-off-by: Isaac Huang <[email protected]>
@thegreatgazoo
Copy link
Owner

Fixed by latest commit. Please reopen if it's still there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants