[opensuse] btrfs filesystem full
got up this morning to find my server root filesystem (btrfs) full. found to snapshots taking up ~40GiB, removed (snapper delete ###) cleaned up some archived log files, rsyslog currently: # btrfs filesystem df / Data, single: total=74.10GiB, used=72.87GiB System, DUP: total=32.00MiB, used=16.00KiB Metadata, DUP: total=1.00GiB, used=492.22MiB GlobalReserve, single: total=116.84MiB, used=0.00B # btrfs filesystem show / Label: none uuid: 6d337f78-7a8a-4b97-af4d-256f9b4ae99f Total devices 1 FS bytes used 74.25GiB devid 1 size 80.00GiB used 76.16GiB path /dev/sdc3 Overall: Device size: 80.00GiB Device allocated: 76.16GiB Device unallocated: 3.84GiB Device missing: 0.00B Used: 73.83GiB Free (estimated): 5.07GiB (min: 3.15GiB) Data ratio: 1.00 Metadata ratio: 2.00 Global reserve: 116.88MiB (used: 0.00B) Data,single: Size:74.10GiB, Used:72.87GiB /dev/sdc3 74.10GiB Metadata,DUP: Size:1.00GiB, Used:492.25MiB /dev/sdc3 2.00GiB System,DUP: Size:32.00MiB, Used:16.00KiB /dev/sdc3 64.00MiB Unallocated: /dev/sdc3 3.84GiB running: btrfs balance start -musage=60 btrfs balance start -dusage=85 gains nothing filelight shows 45.9GiB total usage why does my btrfs system still show 73.83Gib used? Richard, are you here? -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Patrick Shanahan <paka@opensuse.org> [02-18-19 11:04]:
got up this morning to find my server root filesystem (btrfs) full.
found to snapshots taking up ~40GiB, removed (snapper delete ###) cleaned up some archived log files, rsyslog
currently: # btrfs filesystem df / Data, single: total=74.10GiB, used=72.87GiB System, DUP: total=32.00MiB, used=16.00KiB Metadata, DUP: total=1.00GiB, used=492.22MiB GlobalReserve, single: total=116.84MiB, used=0.00B
# btrfs filesystem show / Label: none uuid: 6d337f78-7a8a-4b97-af4d-256f9b4ae99f Total devices 1 FS bytes used 74.25GiB devid 1 size 80.00GiB used 76.16GiB path /dev/sdc3
Overall: Device size: 80.00GiB Device allocated: 76.16GiB Device unallocated: 3.84GiB Device missing: 0.00B Used: 73.83GiB Free (estimated): 5.07GiB (min: 3.15GiB) Data ratio: 1.00 Metadata ratio: 2.00 Global reserve: 116.88MiB (used: 0.00B)
Data,single: Size:74.10GiB, Used:72.87GiB /dev/sdc3 74.10GiB
Metadata,DUP: Size:1.00GiB, Used:492.25MiB /dev/sdc3 2.00GiB
System,DUP: Size:32.00MiB, Used:16.00KiB /dev/sdc3 64.00MiB
Unallocated: /dev/sdc3 3.84GiB
running: btrfs balance start -musage=60 btrfs balance start -dusage=85
gains nothing
filelight shows 45.9GiB total usage
why does my btrfs system still show 73.83Gib used?
Richard, are you here?
failed to mention, server system is openSUSE 42.2 -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/02/2019 17:06, Patrick Shanahan wrote:
* Patrick Shanahan <paka@opensuse.org> [02-18-19 11:04]:
got up this morning to find my server root filesystem (btrfs) full.
found to snapshots taking up ~40GiB, removed (snapper delete ###) cleaned up some archived log files, rsyslog
Hi Patrick, concerning your problem, I found this in my notes from some time ago but don't know the source: "In case there is unexplainable low disk space on btrfs the following condition might exist: Inside /.snapshots is an old snapshot that is not recognized by snapper anymore and cannot be deleted by snapper. In this case just enter the following in a terminal (snapshot # is an example and has to be replaced by the actual snapshot number) sudo btrfs subvolume delete /.snapshots/7/snapshot After that the directory "/7" in /.snapshots is left over and can be deleted from command line or dolphin." Andreas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Freigeist <m4ng4n@gmx.de> [02-18-19 11:39]:
On 18/02/2019 17:06, Patrick Shanahan wrote:
* Patrick Shanahan <paka@opensuse.org> [02-18-19 11:04]:
got up this morning to find my server root filesystem (btrfs) full.
found to snapshots taking up ~40GiB, removed (snapper delete ###) cleaned up some archived log files, rsyslog
Hi Patrick,
concerning your problem, I found this in my notes from some time ago but don't know the source:
"In case there is unexplainable low disk space on btrfs the following condition might exist:
Inside /.snapshots is an old snapshot that is not recognized by snapper anymore and cannot be deleted by snapper.
In this case just enter the following in a terminal (snapshot # is an example and has to be replaced by the actual snapshot number)
sudo btrfs subvolume delete /.snapshots/7/snapshot
After that the directory "/7" in /.snapshots is left over and can be deleted from command line or dolphin."
thanks, but that does not seem to be the case. I only left two snapshots and they are the only ones remaining below /.snapshots/ tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
18.02.2019 19:01, Patrick Shanahan пишет:
# btrfs filesystem show / Label: none uuid: 6d337f78-7a8a-4b97-af4d-256f9b4ae99f Total devices 1 FS bytes used 74.25GiB devid 1 size 80.00GiB used 76.16GiB path /dev/sdc3
Overall: Device size: 80.00GiB Device allocated: 76.16GiB Device unallocated: 3.84GiB Device missing: 0.00B Used: 73.83GiB Free (estimated): 5.07GiB (min: 3.15GiB) Data ratio: 1.00 Metadata ratio: 2.00 Global reserve: 116.88MiB (used: 0.00B)
Data,single: Size:74.10GiB, Used:72.87GiB /dev/sdc3 74.10GiB
Metadata,DUP: Size:1.00GiB, Used:492.25MiB /dev/sdc3 2.00GiB
System,DUP: Size:32.00MiB, Used:16.00KiB /dev/sdc3 64.00MiB
Unallocated: /dev/sdc3 3.84GiB
running: btrfs balance start -musage=60 btrfs balance start -dusage=85
gains nothing
filelight shows 45.9GiB total usage
why does my btrfs system still show 73.83Gib used?
Richard, are you here?
I am not Richard but start with showing btrfs sub list -qu / btrfs qgroup show / -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Andrei Borzenkov <arvidjaar@gmail.com> [02-18-19 11:53]:
18.02.2019 19:01, Patrick Shanahan пишет:
# btrfs filesystem show / Label: none uuid: 6d337f78-7a8a-4b97-af4d-256f9b4ae99f Total devices 1 FS bytes used 74.25GiB devid 1 size 80.00GiB used 76.16GiB path /dev/sdc3
Overall: Device size: 80.00GiB Device allocated: 76.16GiB Device unallocated: 3.84GiB Device missing: 0.00B Used: 73.83GiB Free (estimated): 5.07GiB (min: 3.15GiB) Data ratio: 1.00 Metadata ratio: 2.00 Global reserve: 116.88MiB (used: 0.00B)
Data,single: Size:74.10GiB, Used:72.87GiB /dev/sdc3 74.10GiB
Metadata,DUP: Size:1.00GiB, Used:492.25MiB /dev/sdc3 2.00GiB
System,DUP: Size:32.00MiB, Used:16.00KiB /dev/sdc3 64.00MiB
Unallocated: /dev/sdc3 3.84GiB
running: btrfs balance start -musage=60 btrfs balance start -dusage=85
gains nothing
filelight shows 45.9GiB total usage
why does my btrfs system still show 73.83Gib used?
Richard, are you here?
I am not Richard but start with showing
btrfs sub list -qu / btrfs qgroup show /
btrfs sub list -qu / ID 257 gen 1605602 top level 5 parent_uuid - uuid 8ebcb3d1-f056-8b4f-8f7e-ada2ab43e4ac path boot/grub2/i386-pc ID 258 gen 1605602 top level 5 parent_uuid - uuid 6cb5294c-22f1-9f45-aadf-4da111ecaedf path boot/grub2/x86_64-efi ID 259 gen 1605602 top level 5 parent_uuid - uuid 2aea8d55-1fc4-594e-8202-cf795979adcd path opt ID 260 gen 1605792 top level 5 parent_uuid - uuid 4b6582cf-c8da-7a44-be00-a3e876a00ac2 path srv ID 261 gen 1605895 top level 5 parent_uuid - uuid ab792b52-2373-474e-88ed-36706128845f path tmp ID 262 gen 1605602 top level 5 parent_uuid - uuid 13a79c42-b5df-7040-b5d8-df5d95a5eb5e path usr/local ID 263 gen 1605602 top level 5 parent_uuid - uuid dae6f2f0-6e78-f94e-8eb0-b4a3e2cbe88c path var/crash ID 264 gen 1605602 top level 5 parent_uuid - uuid 27e23c70-be3f-3a48-a137-a43f58d6795e path var/lib/mailman ID 265 gen 1605602 top level 5 parent_uuid - uuid 9bb002c6-03c6-ae4d-b8ec-425c1c1fbced path var/lib/named ID 266 gen 1605602 top level 5 parent_uuid - uuid 9d9bae2b-2374-e440-9ff5-d0abbaa2d82d path var/lib/pgsql ID 267 gen 1605895 top level 5 parent_uuid - uuid 419c95d2-4eff-b547-b2e1-adddeab67581 path var/log ID 268 gen 1605602 top level 5 parent_uuid - uuid c7fc082d-a512-ee4c-98db-f5b99dc0ae39 path var/opt ID 269 gen 1605894 top level 5 parent_uuid - uuid 2636927b-3735-8e4d-90a6-e3c4a07a4c10 path var/spool ID 270 gen 1605602 top level 5 parent_uuid - uuid de867f45-deb9-1640-a42e-4e0e0a40bdd5 path var/tmp ID 275 gen 1605602 top level 5 parent_uuid - uuid 1ad2cfa0-cce4-c24d-9485-e1c3b58945ff path .snapshots ID 285 gen 1605602 top level 5 parent_uuid - uuid 99d6474c-fe87-e341-bd19-a9b21e237acb path var/lib/machines ID 719 gen 1605617 top level 275 parent_uuid - uuid f4a5e142-40db-4844-8302-00614e0a75be path .snapshots/316/snapshot ID 720 gen 1605617 top level 275 parent_uuid - uuid 26a443cf-f701-e641-b610-48528a2858c0 path .snapshots/317/snapshot btrfs sub list -qu / ERROR: can't perform the search - No such file or directory tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
18.02.2019 21:23, Patrick Shanahan пишет:
* Andrei Borzenkov <arvidjaar@gmail.com> [02-18-19 11:53]:
18.02.2019 19:01, Patrick Shanahan пишет:
# btrfs filesystem show / Label: none uuid: 6d337f78-7a8a-4b97-af4d-256f9b4ae99f Total devices 1 FS bytes used 74.25GiB devid 1 size 80.00GiB used 76.16GiB path /dev/sdc3
Overall: Device size: 80.00GiB Device allocated: 76.16GiB Device unallocated: 3.84GiB Device missing: 0.00B Used: 73.83GiB Free (estimated): 5.07GiB (min: 3.15GiB) Data ratio: 1.00 Metadata ratio: 2.00 Global reserve: 116.88MiB (used: 0.00B)
Data,single: Size:74.10GiB, Used:72.87GiB /dev/sdc3 74.10GiB
Metadata,DUP: Size:1.00GiB, Used:492.25MiB /dev/sdc3 2.00GiB
System,DUP: Size:32.00MiB, Used:16.00KiB /dev/sdc3 64.00MiB
Unallocated: /dev/sdc3 3.84GiB
running: btrfs balance start -musage=60 btrfs balance start -dusage=85
gains nothing
filelight shows 45.9GiB total usage
why does my btrfs system still show 73.83Gib used?
Richard, are you here?
I am not Richard but start with showing
btrfs sub list -qu / btrfs qgroup show /
btrfs sub list -qu / ID 257 gen 1605602 top level 5 parent_uuid - uuid 8ebcb3d1-f056-8b4f-8f7e-ada2ab43e4ac path boot/grub2/i386-pc ID 258 gen 1605602 top level 5 parent_uuid - uuid 6cb5294c-22f1-9f45-aadf-4da111ecaedf path boot/grub2/x86_64-efi ID 259 gen 1605602 top level 5 parent_uuid - uuid 2aea8d55-1fc4-594e-8202-cf795979adcd path opt ID 260 gen 1605792 top level 5 parent_uuid - uuid 4b6582cf-c8da-7a44-be00-a3e876a00ac2 path srv ID 261 gen 1605895 top level 5 parent_uuid - uuid ab792b52-2373-474e-88ed-36706128845f path tmp ID 262 gen 1605602 top level 5 parent_uuid - uuid 13a79c42-b5df-7040-b5d8-df5d95a5eb5e path usr/local ID 263 gen 1605602 top level 5 parent_uuid - uuid dae6f2f0-6e78-f94e-8eb0-b4a3e2cbe88c path var/crash ID 264 gen 1605602 top level 5 parent_uuid - uuid 27e23c70-be3f-3a48-a137-a43f58d6795e path var/lib/mailman ID 265 gen 1605602 top level 5 parent_uuid - uuid 9bb002c6-03c6-ae4d-b8ec-425c1c1fbced path var/lib/named ID 266 gen 1605602 top level 5 parent_uuid - uuid 9d9bae2b-2374-e440-9ff5-d0abbaa2d82d path var/lib/pgsql ID 267 gen 1605895 top level 5 parent_uuid - uuid 419c95d2-4eff-b547-b2e1-adddeab67581 path var/log ID 268 gen 1605602 top level 5 parent_uuid - uuid c7fc082d-a512-ee4c-98db-f5b99dc0ae39 path var/opt ID 269 gen 1605894 top level 5 parent_uuid - uuid 2636927b-3735-8e4d-90a6-e3c4a07a4c10 path var/spool ID 270 gen 1605602 top level 5 parent_uuid - uuid de867f45-deb9-1640-a42e-4e0e0a40bdd5 path var/tmp ID 275 gen 1605602 top level 5 parent_uuid - uuid 1ad2cfa0-cce4-c24d-9485-e1c3b58945ff path .snapshots ID 285 gen 1605602 top level 5 parent_uuid - uuid 99d6474c-fe87-e341-bd19-a9b21e237acb path var/lib/machines ID 719 gen 1605617 top level 275 parent_uuid - uuid f4a5e142-40db-4844-8302-00614e0a75be path .snapshots/316/snapshot ID 720 gen 1605617 top level 275 parent_uuid - uuid 26a443cf-f701-e641-b610-48528a2858c0 path .snapshots/317/snapshot
What "btrfs sub get-default /" says? Also current mount table (/proc/self/mountinfo)?
btrfs sub list -qu / ERROR: can't perform the search - No such file or directory
So 42.2 did not yet enable quota by default. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Andrei Borzenkov <arvidjaar@gmail.com> [02-18-19 14:03]:
18.02.2019 21:23, Patrick Shanahan пишет:
* Andrei Borzenkov <arvidjaar@gmail.com> [02-18-19 11:53]:
18.02.2019 19:01, Patrick Shanahan пишет:
# btrfs filesystem show / Label: none uuid: 6d337f78-7a8a-4b97-af4d-256f9b4ae99f Total devices 1 FS bytes used 74.25GiB devid 1 size 80.00GiB used 76.16GiB path /dev/sdc3
Overall: Device size: 80.00GiB Device allocated: 76.16GiB Device unallocated: 3.84GiB Device missing: 0.00B Used: 73.83GiB Free (estimated): 5.07GiB (min: 3.15GiB) Data ratio: 1.00 Metadata ratio: 2.00 Global reserve: 116.88MiB (used: 0.00B)
Data,single: Size:74.10GiB, Used:72.87GiB /dev/sdc3 74.10GiB
Metadata,DUP: Size:1.00GiB, Used:492.25MiB /dev/sdc3 2.00GiB
System,DUP: Size:32.00MiB, Used:16.00KiB /dev/sdc3 64.00MiB
Unallocated: /dev/sdc3 3.84GiB
running: btrfs balance start -musage=60 btrfs balance start -dusage=85
gains nothing
filelight shows 45.9GiB total usage
why does my btrfs system still show 73.83Gib used?
Richard, are you here?
I am not Richard but start with showing
btrfs sub list -qu / btrfs qgroup show /
btrfs sub list -qu / ID 257 gen 1605602 top level 5 parent_uuid - uuid 8ebcb3d1-f056-8b4f-8f7e-ada2ab43e4ac path boot/grub2/i386-pc ID 258 gen 1605602 top level 5 parent_uuid - uuid 6cb5294c-22f1-9f45-aadf-4da111ecaedf path boot/grub2/x86_64-efi ID 259 gen 1605602 top level 5 parent_uuid - uuid 2aea8d55-1fc4-594e-8202-cf795979adcd path opt ID 260 gen 1605792 top level 5 parent_uuid - uuid 4b6582cf-c8da-7a44-be00-a3e876a00ac2 path srv ID 261 gen 1605895 top level 5 parent_uuid - uuid ab792b52-2373-474e-88ed-36706128845f path tmp ID 262 gen 1605602 top level 5 parent_uuid - uuid 13a79c42-b5df-7040-b5d8-df5d95a5eb5e path usr/local ID 263 gen 1605602 top level 5 parent_uuid - uuid dae6f2f0-6e78-f94e-8eb0-b4a3e2cbe88c path var/crash ID 264 gen 1605602 top level 5 parent_uuid - uuid 27e23c70-be3f-3a48-a137-a43f58d6795e path var/lib/mailman ID 265 gen 1605602 top level 5 parent_uuid - uuid 9bb002c6-03c6-ae4d-b8ec-425c1c1fbced path var/lib/named ID 266 gen 1605602 top level 5 parent_uuid - uuid 9d9bae2b-2374-e440-9ff5-d0abbaa2d82d path var/lib/pgsql ID 267 gen 1605895 top level 5 parent_uuid - uuid 419c95d2-4eff-b547-b2e1-adddeab67581 path var/log ID 268 gen 1605602 top level 5 parent_uuid - uuid c7fc082d-a512-ee4c-98db-f5b99dc0ae39 path var/opt ID 269 gen 1605894 top level 5 parent_uuid - uuid 2636927b-3735-8e4d-90a6-e3c4a07a4c10 path var/spool ID 270 gen 1605602 top level 5 parent_uuid - uuid de867f45-deb9-1640-a42e-4e0e0a40bdd5 path var/tmp ID 275 gen 1605602 top level 5 parent_uuid - uuid 1ad2cfa0-cce4-c24d-9485-e1c3b58945ff path .snapshots ID 285 gen 1605602 top level 5 parent_uuid - uuid 99d6474c-fe87-e341-bd19-a9b21e237acb path var/lib/machines ID 719 gen 1605617 top level 275 parent_uuid - uuid f4a5e142-40db-4844-8302-00614e0a75be path .snapshots/316/snapshot ID 720 gen 1605617 top level 275 parent_uuid - uuid 26a443cf-f701-e641-b610-48528a2858c0 path .snapshots/317/snapshot
What "btrfs sub get-default /" says? Also current mount table (/proc/self/mountinfo)?
btrfs sub get-default / ID 5 (FS_TREE) cat /proc/self/mountinfo 18 62 0:18 / /sys rw,nosuid,nodev,noexec,relatime shared:6 - sysfs sysfs rw 19 62 0:4 / /proc rw,nosuid,nodev,noexec,relatime shared:5 - proc proc rw 20 62 0:6 / /dev rw,nosuid shared:2 - devtmpfs devtmpfs rw,size=3783768k,nr_inodes=945942,mode=755 21 18 0:12 / /sys/kernel/security rw,nosuid,nodev,noexec,relatime shared:7 - securityfs securityfs rw 22 20 0:19 / /dev/shm rw,nosuid,nodev shared:3 - tmpfs tmpfs rw 23 20 0:14 / /dev/pts rw,nosuid,noexec,relatime shared:4 - devpts devpts rw,gid=5,mode=620,ptmxmode=000 24 62 0:20 / /run rw,nosuid,nodev shared:22 - tmpfs tmpfs rw,mode=755 25 18 0:21 / /sys/fs/cgroup ro,nosuid,nodev,noexec shared:8 - tmpfs tmpfs ro,mode=755 26 25 0:22 / /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime shared:9 - cgroup cgroup rw,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd 27 18 0:23 / /sys/fs/pstore rw,nosuid,nodev,noexec,relatime shared:20 - pstore pstore rw 28 18 0:24 / /sys/firmware/efi/efivars rw,nosuid,nodev,noexec,relatime shared:21 - efivarfs efivarfs rw 29 25 0:25 / /sys/fs/cgroup/memory rw,nosuid,nodev,noexec,relatime shared:10 - cgroup cgroup rw,memory 30 25 0:26 / /sys/fs/cgroup/net_cls,net_prio rw,nosuid,nodev,noexec,relatime shared:11 - cgroup cgroup rw,net_cls,net_prio 31 25 0:27 / /sys/fs/cgroup/freezer rw,nosuid,nodev,noexec,relatime shared:12 - cgroup cgroup rw,freezer 32 25 0:28 / /sys/fs/cgroup/blkio rw,nosuid,nodev,noexec,relatime shared:13 - cgroup cgroup rw,blkio 33 25 0:29 / /sys/fs/cgroup/cpu,cpuacct rw,nosuid,nodev,noexec,relatime shared:14 - cgroup cgroup rw,cpu,cpuacct 34 25 0:30 / /sys/fs/cgroup/cpuset rw,nosuid,nodev,noexec,relatime shared:15 - cgroup cgroup rw,cpuset 35 25 0:31 / /sys/fs/cgroup/devices rw,nosuid,nodev,noexec,relatime shared:16 - cgroup cgroup rw,devices 36 25 0:32 / /sys/fs/cgroup/hugetlb rw,nosuid,nodev,noexec,relatime shared:17 - cgroup cgroup rw,hugetlb 37 25 0:33 / /sys/fs/cgroup/perf_event rw,nosuid,nodev,noexec,relatime shared:18 - cgroup cgroup rw,perf_event 38 25 0:34 / /sys/fs/cgroup/pids rw,nosuid,nodev,noexec,relatime shared:19 - cgroup cgroup rw,pids 62 0 0:37 / / rw,relatime shared:1 - btrfs /dev/sdc3 rw,space_cache,subvolid=5,subvol=/ 39 19 0:40 / /proc/sys/fs/binfmt_misc rw,relatime shared:23 - autofs systemd-1 rw,fd=24,pgrp=1,timeout=0,minproto=5,maxproto=5,direct 40 18 0:7 / /sys/kernel/debug rw,relatime shared:24 - debugfs debugfs rw 41 20 0:41 / /dev/hugepages rw,relatime shared:25 - hugetlbfs hugetlbfs rw 42 20 0:17 / /dev/mqueue rw,relatime shared:26 - mqueue mqueue rw 43 62 0:43 / /var/lib/nfs/rpc_pipefs rw,relatime shared:27 - rpc_pipefs sunrpc rw 44 19 0:44 / /proc/fs/nfsd rw,relatime shared:28 - nfsd nfsd rw 76 62 0:45 /boot/grub2/x86_64-efi /boot/grub2/x86_64-efi rw,relatime shared:29 - btrfs /dev/sdc3 rw,space_cache,subvolid=258,subvol=/boot/grub2/x86_64-efi 78 62 0:46 /.snapshots /.snapshots rw,relatime shared:30 - btrfs /dev/sdc3 rw,space_cache,subvolid=275,subvol=/.snapshots 79 62 0:47 /var/crash /var/crash rw,relatime shared:31 - btrfs /dev/sdc3 rw,space_cache,subvolid=263,subvol=/var/crash 81 62 0:38 /usr/local /usr/local rw,relatime shared:32 - btrfs /dev/sdc3 rw,space_cache,subvolid=262,subvol=/usr/local 80 62 0:48 /var/lib/pgsql /var/lib/pgsql rw,relatime shared:33 - btrfs /dev/sdc3 rw,space_cache,subvolid=266,subvol=/var/lib/pgsql 83 62 0:49 /boot/grub2/i386-pc /boot/grub2/i386-pc rw,relatime shared:34 - btrfs /dev/sdc3 rw,space_cache,subvolid=257,subvol=/boot/grub2/i386-pc 82 62 0:50 /var/lib/mailman /var/lib/mailman rw,relatime shared:35 - btrfs /dev/sdc3 rw,space_cache,subvolid=264,subvol=/var/lib/mailman 84 62 0:51 /var/opt /var/opt rw,relatime shared:36 - btrfs /dev/sdc3 rw,space_cache,subvolid=268,subvol=/var/opt 91 62 0:52 /var/log /var/log rw,relatime shared:37 - btrfs /dev/sdc3 rw,space_cache,subvolid=267,subvol=/var/log 93 62 0:53 /var/spool /var/spool rw,relatime shared:38 - btrfs /dev/sdc3 rw,space_cache,subvolid=269,subvol=/var/spool 95 62 0:54 /var/lib/named /var/lib/named rw,relatime shared:39 - btrfs /dev/sdc3 rw,space_cache,subvolid=265,subvol=/var/lib/named 98 62 0:55 /opt /opt rw,relatime shared:40 - btrfs /dev/sdc3 rw,space_cache,subvolid=259,subvol=/opt 99 62 0:39 /srv /srv rw,relatime shared:41 - btrfs /dev/sdc3 rw,space_cache,subvolid=260,subvol=/srv 97 62 0:56 /tmp /tmp rw,relatime shared:42 - btrfs /dev/sdc3 rw,space_cache,subvolid=261,subvol=/tmp 106 18 0:58 / /sys/fs/fuse/connections rw,relatime shared:43 - fusectl fusectl rw 103 62 0:57 /var/tmp /var/tmp rw,relatime shared:44 - btrfs /dev/sdc3 rw,space_cache,subvolid=270,subvol=/var/tmp 105 62 8:33 / /boot/efi rw,relatime shared:45 - vfat /dev/sdc1 rw,fmask=0002,dmask=0002,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 113 62 254:0 / /mnt/photos rw,nosuid,nodev,noexec,relatime shared:47 - ext4 /dev/mapper/VGpix-photos rw,data=ordered 114 62 8:65 / /mnt/ExTernal rw,relatime shared:48 - ext4 /dev/sde1 ro,data=ordered 112 62 8:36 / /home rw,relatime shared:49 - xfs /dev/sdc4 rw,attr2,inode64,noquota 347 62 0:61 / /mnt/cifs rw,relatime shared:275 - cifs //192.168.1.100/C-Share/ rw,vers=2.0,sec=ntlmssp,cache=strict,username=Carolyn,domain=CAROL-HP,uid=1000,forceuid,gid=100,forcegid,addr=192.168.1.100,file_mode=0644,dir_mode=0755,nounix,mapposix,rsize=65536,wsize=65536,actimeo=1 353 24 0:62 / /run/user/1000 rw,nosuid,nodev,relatime shared:280 - tmpfs tmpfs rw,size=758432k,mode=700,uid=1000,gid=100 365 40 0:9 / /sys/kernel/debug/tracing rw,relatime shared:290 - tracefs tracefs rw 371 114 0:80 / /mnt/ExTernal/sshfs.EzDental rw,nosuid,nodev,relatime shared:295 - fuse.sshfs admin@dentoffserver:/C:/ rw,user_id=1000,group_id=100 377 114 8:145 / /mnt/ExTernal rw,relatime shared:300 - ext4 /dev/sdj1 ro,data=ordered 110 62 8:18 / /mnt/ExTernal3 rw,nosuid,nodev,noexec,relatime shared:46 - fuseblk /dev/sdb2 rw,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 359 24 0:93 / /run/user/0 rw,nosuid,nodev,relatime shared:285 - tmpfs tmpfs rw,size=758432k,mode=700 389 62 0:106 / /mnt/nfs/data rw,relatime shared:310 - nfs4 192.168.1.10:/data rw,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.3,local_lock=none,addr=192.168.1.10 383 62 0:105 / /mnt/ExT4/work/sshfs.EzDental rw,nosuid,nodev,relatime shared:305 - fuse.sshfs admin@dentoffserver:/C:/ rw,user_id=1000,group_id=100 390 39 0:65 / /proc/sys/fs/binfmt_misc rw,relatime shared:315 - binfmt_misc binfmt_misc rw
btrfs sub list -qu / ERROR: can't perform the search - No such file or directory
So 42.2 did not yet enable quota by default.
how do I set "quota" to prevent this in the future? tks -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
18.02.2019 22:57, Patrick Shanahan пишет:
* Andrei Borzenkov <arvidjaar@gmail.com> [02-18-19 14:03]:
18.02.2019 21:23, Patrick Shanahan пишет:
* Andrei Borzenkov <arvidjaar@gmail.com> [02-18-19 11:53]:
18.02.2019 19:01, Patrick Shanahan пишет:
# btrfs filesystem show / Label: none uuid: 6d337f78-7a8a-4b97-af4d-256f9b4ae99f Total devices 1 FS bytes used 74.25GiB devid 1 size 80.00GiB used 76.16GiB path /dev/sdc3
Overall: Device size: 80.00GiB Device allocated: 76.16GiB Device unallocated: 3.84GiB Device missing: 0.00B Used: 73.83GiB Free (estimated): 5.07GiB (min: 3.15GiB) Data ratio: 1.00 Metadata ratio: 2.00 Global reserve: 116.88MiB (used: 0.00B)
Data,single: Size:74.10GiB, Used:72.87GiB /dev/sdc3 74.10GiB
Metadata,DUP: Size:1.00GiB, Used:492.25MiB /dev/sdc3 2.00GiB
System,DUP: Size:32.00MiB, Used:16.00KiB /dev/sdc3 64.00MiB
Unallocated: /dev/sdc3 3.84GiB
running: btrfs balance start -musage=60 btrfs balance start -dusage=85
gains nothing
filelight shows 45.9GiB total usage
why does my btrfs system still show 73.83Gib used?
Richard, are you here?
I am not Richard but start with showing
btrfs sub list -qu / btrfs qgroup show /
btrfs sub list -qu / ... ID 719 gen 1605617 top level 275 parent_uuid - uuid f4a5e142-40db-4844-8302-00614e0a75be path .snapshots/316/snapshot ID 720 gen 1605617 top level 275 parent_uuid - uuid 26a443cf-f701-e641-b610-48528a2858c0 path .snapshots/317/snapshot
What "btrfs sub get-default /" says? Also current mount table (/proc/self/mountinfo)?
btrfs sub get-default / ID 5 (FS_TREE)
cat /proc/self/mountinfo ... 62 0 0:37 / / rw,relatime shared:1 - btrfs /dev/sdc3 rw,space_cache,subvolid=5,subvol=/ ...
OK, so you have older layout (I almost forgot how it looked like). It makes it less convenient. Could you show btrfs fi du -s /.snapshots/*/snapshot umount /.snapshots btrfs fi du -s / mount /.snapshots
btrfs sub list -qu / ERROR: can't perform the search - No such file or directory
So 42.2 did not yet enable quota by default.
how do I set "quota" to prevent this in the future?
Quota on btrfs has its own can of worms and it is not enough to simply enable it, snapper needs to know how to make use of it. It probably still did not use quota on btrfs in Leap 42 anyway. Quota can be used manually to get better estimation of where space goes, let's wait for du result. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Andrei Borzenkov <arvidjaar@gmail.com> [02-18-19 23:42]:
18.02.2019 22:57, Patrick Shanahan пишет:
* Andrei Borzenkov <arvidjaar@gmail.com> [02-18-19 14:03]:
18.02.2019 21:23, Patrick Shanahan пишет:
* Andrei Borzenkov <arvidjaar@gmail.com> [02-18-19 11:53]:
18.02.2019 19:01, Patrick Shanahan пишет:
# btrfs filesystem show / Label: none uuid: 6d337f78-7a8a-4b97-af4d-256f9b4ae99f Total devices 1 FS bytes used 74.25GiB devid 1 size 80.00GiB used 76.16GiB path /dev/sdc3
Overall: Device size: 80.00GiB Device allocated: 76.16GiB Device unallocated: 3.84GiB Device missing: 0.00B Used: 73.83GiB Free (estimated): 5.07GiB (min: 3.15GiB) Data ratio: 1.00 Metadata ratio: 2.00 Global reserve: 116.88MiB (used: 0.00B)
Data,single: Size:74.10GiB, Used:72.87GiB /dev/sdc3 74.10GiB
Metadata,DUP: Size:1.00GiB, Used:492.25MiB /dev/sdc3 2.00GiB
System,DUP: Size:32.00MiB, Used:16.00KiB /dev/sdc3 64.00MiB
Unallocated: /dev/sdc3 3.84GiB
running: btrfs balance start -musage=60 btrfs balance start -dusage=85
gains nothing
filelight shows 45.9GiB total usage
why does my btrfs system still show 73.83Gib used?
Richard, are you here?
I am not Richard but start with showing
btrfs sub list -qu / btrfs qgroup show /
btrfs sub list -qu / ... ID 719 gen 1605617 top level 275 parent_uuid - uuid f4a5e142-40db-4844-8302-00614e0a75be path .snapshots/316/snapshot ID 720 gen 1605617 top level 275 parent_uuid - uuid 26a443cf-f701-e641-b610-48528a2858c0 path .snapshots/317/snapshot
What "btrfs sub get-default /" says? Also current mount table (/proc/self/mountinfo)?
btrfs sub get-default / ID 5 (FS_TREE)
cat /proc/self/mountinfo ... 62 0 0:37 / / rw,relatime shared:1 - btrfs /dev/sdc3 rw,space_cache,subvolid=5,subvol=/ ...
OK, so you have older layout (I almost forgot how it looked like). It makes it less convenient. Could you show
btrfs fi du -s /.snapshots/*/snapshot umount /.snapshots btrfs fi du -s / mount /.snapshots
I disabled and removed all the snapshots to get enough room to continue to operate :^(
btrfs sub list -qu / ERROR: can't perform the search - No such file or directory
So 42.2 did not yet enable quota by default.
how do I set "quota" to prevent this in the future?
Quota on btrfs has its own can of worms and it is not enough to simply enable it, snapper needs to know how to make use of it. It probably still did not use quota on btrfs in Leap 42 anyway. Quota can be used manually to get better estimation of where space goes, let's wait for du result.
I appreciate your help and efforts, but I may have found the problem. the system has an external 4T ext4 usb drive that was showing nearly full with only 80G of data. I transfered the data to a b/u drive and reformatted the drive, replaced the data and now my server system shows: btrfs filesystem us / Overall: Device size: 80.00GiB Device allocated: 71.06GiB Device unallocated: 8.93GiB Device missing: 0.00B Used: 17.73GiB Free (estimated): 60.73GiB (min: 56.26GiB) Data ratio: 1.00 Metadata ratio: 2.00 Global reserve: 48.97MiB (used: 0.00B) Data,single: Size:69.00GiB, Used:17.20GiB /dev/sdc3 69.00GiB Metadata,DUP: Size:1.00GiB, Used:269.17MiB /dev/sdc3 2.00GiB System,DUP: Size:32.00MiB, Used:16.00KiB /dev/sdc3 64.00MiB Unallocated: /dev/sdc3 8.93GiB wtf.... I have reenabled snapshots as in several years I had no problems. do you want/need any more information? and thanks much. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
19.02.2019 8:25, Patrick Shanahan пишет:
I appreciate your help and efforts, but I may have found the problem. the system has an external 4T ext4 usb drive that was showing nearly full with only 80G of data. I transfered the data to a b/u drive and reformatted the drive, replaced the data and now my server system shows:
I do not understand how another ext4 filesystem has anything to do with space consumption on btrfs filesystem. But if you say the problem is solved, good.
btrfs filesystem us / Overall: Device size: 80.00GiB Device allocated: 71.06GiB Device unallocated: 8.93GiB Device missing: 0.00B Used: 17.73GiB Free (estimated): 60.73GiB (min: 56.26GiB) Data ratio: 1.00 Metadata ratio: 2.00 Global reserve: 48.97MiB (used: 0.00B)
Data,single: Size:69.00GiB, Used:17.20GiB /dev/sdc3 69.00GiB
I would expect balance to work now.
Metadata,DUP: Size:1.00GiB, Used:269.17MiB /dev/sdc3 2.00GiB
System,DUP: Size:32.00MiB, Used:16.00KiB /dev/sdc3 64.00MiB
Unallocated: /dev/sdc3 8.93GiB
wtf....
I have reenabled snapshots as in several years I had no problems.
do you want/need any more information?
At this point when error condition is gone no usable information can be collected. I suspect you simply had large deleted files and process keeping them open was terminated. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Andrei Borzenkov <arvidjaar@gmail.com> [02-19-19 23:26]:
19.02.2019 8:25, Patrick Shanahan пишет:
I appreciate your help and efforts, but I may have found the problem. the system has an external 4T ext4 usb drive that was showing nearly full with only 80G of data. I transfered the data to a b/u drive and reformatted the drive, replaced the data and now my server system shows:
I do not understand how another ext4 filesystem has anything to do with space consumption on btrfs filesystem. But if you say the problem is solved, good.
btrfs filesystem us / Overall: Device size: 80.00GiB Device allocated: 71.06GiB Device unallocated: 8.93GiB Device missing: 0.00B Used: 17.73GiB Free (estimated): 60.73GiB (min: 56.26GiB) Data ratio: 1.00 Metadata ratio: 2.00 Global reserve: 48.97MiB (used: 0.00B)
Data,single: Size:69.00GiB, Used:17.20GiB /dev/sdc3 69.00GiB
I would expect balance to work now.
Metadata,DUP: Size:1.00GiB, Used:269.17MiB /dev/sdc3 2.00GiB
System,DUP: Size:32.00MiB, Used:16.00KiB /dev/sdc3 64.00MiB
Unallocated: /dev/sdc3 8.93GiB
wtf....
I have reenabled snapshots as in several years I had no problems.
do you want/need any more information?
At this point when error condition is gone no usable information can be collected. I suspect you simply had large deleted files and process keeping them open was terminated.
I did have an external drive expire but the mount remains. maybe that had some effect. it is a server and I will not reboot unless forced. tks again -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Andrei Borzenkov
-
Freigeist
-
Patrick Shanahan