* Andrei Borzenkov
18.02.2019 22:57, Patrick Shanahan пишет:
* Andrei Borzenkov
[02-18-19 14:03]: 18.02.2019 21:23, Patrick Shanahan пишет:
* Andrei Borzenkov
[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