http://bugzilla.opensuse.org/show_bug.cgi?id=872268
http://bugzilla.opensuse.org/show_bug.cgi?id=872268#c2
Libor Pechacek changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P5 - None |P3 - Medium
CC| |lpechacek@suse.com
Component|Kernel |Kernel
Hardware|i386 |x86-64
Version|Final |Current
Product|openSUSE 13.1 |openSUSE Tumbleweed
Severity|Normal |Minor
--- Comment #2 from Libor Pechacek ---
The interaction with pause operation is indeed unresolved. Rating as a
cosmetic issue.
In one terminal:
fmn:~ # while :; do sleep 1; btrfs balance status /mnt/; done
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
# BALANCE STARTED - see below
Balance on '/mnt/' is running
1 out of about 10 chunks balanced (2 considered), 90% left
Balance on '/mnt/' is running
2 out of about 10 chunks balanced (3 considered), 80% left
Balance on '/mnt/' is running
3 out of about 10 chunks balanced (6 considered), 70% left
Balance on '/mnt/' is running
3 out of about 10 chunks balanced (6 considered), 70% left
Balance on '/mnt/' is running
4 out of about 10 chunks balanced (7 considered), 60% left
Balance on '/mnt/' is running
4 out of about 10 chunks balanced (7 considered), 60% left
Balance on '/mnt/' is running
4 out of about 10 chunks balanced (7 considered), 60% left
Balance on '/mnt/' is running
4 out of about 10 chunks balanced (7 considered), 60% left
Balance on '/mnt/' is running
4 out of about 10 chunks balanced (7 considered), 60% left
Balance on '/mnt/' is running
4 out of about 10 chunks balanced (7 considered), 60% left
Balance on '/mnt/' is running
4 out of about 10 chunks balanced (7 considered), 60% left
Balance on '/mnt/' is running
5 out of about 10 chunks balanced (8 considered), 50% left
Balance on '/mnt/' is running
5 out of about 10 chunks balanced (8 considered), 50% left
# PAUSE REQUESTED
Balance on '/mnt/' is running, pause requested
5 out of about 10 chunks balanced (8 considered), 50% left
Balance on '/mnt/' is running, pause requested
5 out of about 10 chunks balanced (8 considered), 50% left
Balance on '/mnt/' is running, pause requested
5 out of about 10 chunks balanced (8 considered), 50% left
Balance on '/mnt/' is running, pause requested
5 out of about 10 chunks balanced (8 considered), 50% left
Balance on '/mnt/' is paused
6 out of about 10 chunks balanced (8 considered), 40% left
Balance on '/mnt/' is paused
6 out of about 10 chunks balanced (8 considered), 40% left
Balance on '/mnt/' is paused
6 out of about 10 chunks balanced (8 considered), 40% left
Balance on '/mnt/' is paused
6 out of about 10 chunks balanced (8 considered), 40% left
Balance on '/mnt/' is paused
6 out of about 10 chunks balanced (8 considered), 40% left
# FS UNMOUNTED
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
# FS REMOUNTED
Balance on '/mnt/' is running
0 out of about 4 chunks balanced (1 considered), 100% left
Balance on '/mnt/' is running
1 out of about 4 chunks balanced (3 considered), 75% left
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
No balance found on '/mnt/'
While doing the following on other terminal:
fmn:~ # dd if=/dev/zero of=/tmp/btrfs bs=1G count=12
12+0 records in
12+0 records out
12884901888 bytes (13 GB, 12 GiB) copied, 22.9586 s, 561 MB/s
fmn:~ # mkfs.btrfs /tmp/btrfs
btrfs-progs v4.8.2+20161031
See http://btrfs.wiki.kernel.org for more information.
Label: (null)
UUID:
Node size: 16384
Sector size: 4096
Filesystem size: 12.00GiB
Block group profiles:
Data: single 8.00MiB
Metadata: DUP 1.00GiB
System: DUP 8.00MiB
SSD detected: no
Incompat features: extref, skinny-metadata
Number of devices: 1
Devices:
ID SIZE PATH
1 12.00GiB /tmp/btrfs
fmn:~ # losetup /dev/loop0 /tmp/btrfs
fmn:~ # mount /dev/loop0 /mnt/
fmn:~ # cp -ar /usr/ /mnt/
fmn:~ # cp -ar /home/lpechacek/quickbox/ /mnt/
fmn:~ # btrfs balance start --full-balance /mnt/ &
[1] 18052
fmn:~ # btrfs balance pause /mnt/ &
[2] 18081
fmn:~ # balance paused by user
fmn:~ # umount /mnt
[1]- Done btrfs balance start --full-balance /mnt/
[2]+ Done btrfs balance pause /mnt/
fmn:~ # mount /dev/loop0 /mnt/
fmn:~ # head /etc/products.d/baseproduct
<?xml version="1.0" encoding="UTF-8"?>
<product schemeversion="0">
<vendor>openSUSE</vendor>
<name>openSUSE</name>
<version>20161226</version>
<release>0</release>
<arch>x86_64</arch>
<cpeid>cpe:/o:opensuse:opensuse:20161226</cpeid>
<productline>openSUSE</productline>
<register>
--
You are receiving this mail because:
You are on the CC list for the bug.