The officially official Devuan Forum!

You are not logged in.

#1 Re: Other Issues » [SOLVED] home directory 100% but acutall there should be 11Gb left of free spac » 2026-04-09 15:21:56

Hello Altoid,

Thank you for your hint.

With the expression "ENOSPC" (Error: No space left on device) on the the 2nd link, I found a german page that seems to fit to my problem:

https://www.slicewise.net/debian/balanc … eisystems/

According to that it couldbe that btrfs "thinks" the partition is full, bit it isn't.
Caused by btrfs not realesing space that is not needed any more. (it is actually more complicated than that)
To solve the problem the size of the blocked partition could be temporary increased, that there is enough space for btrfs and then  balance the fs again:

cd /mnt
mkdir fulldisk
#the "full" btrfs-partition is /dev/sda2
mount /dev/sda2 fulldisk
#add a USB-stick to the 'full' btrfs partition
btrfs device add /dev/sdb fulldisk
#balancing
btrfs balance start fulldisk
#remove USB-Stick from btrfs-partition 
btrfs device delete /dev/sdb fulldisk

Well I tried this with the stick that was plugged in wit an antic Live systemand forced the add as I need not the data on the stick any more.

But something went wrong. Wether I could run the balancing nor could I remove the stick from the btrfs-partition.

I did a reboot and now the "full" btrfs-partition could not be mounted any more. Also when I try to start a btrfs repair action it aborts with the error message:

 root@blechdepp:~# btrfs check --repair /dev/sda6

Error:

Chunk[256, 228, 37606129664]: length(1073741824), offset(37606129664), type(1) is not found in block group
well this shouldn't happen, extent record overlaps but is metadata? [37339414528, 16384]
aborted

It seems it is time ti format /dev/sda6.

Or is there another option?

Would it be wiser to change to ext4 fs instead of btrfs?

#2 Other Issues » [SOLVED] home directory 100% but acutall there should be 11Gb left of free spac » 2026-04-09 09:09:55

matze72
Replies: 4

I have the following problem:

according to df my home directory has free space and is fully occupied the same time:

/dev/sda6        40G     29G     0  100% /home

This is permanent and does not disappear after a reeboot.

Withe the help of ddg-ai I made a few checks and also tried a repair but was not successful.

Here the results of the checks:

btrfs filesystem show
Label: 'devuanroot'  uuid: 2b6fb193-4c1a-4c76-a9a6-8dd1fc5b85b2
	Total devices 1 FS bytes used 44.83GiB
	devid    1 size 58.59GiB used 57.59GiB path /dev/sda3

Label: 'devuanhome'  uuid: 5207a0ce-102b-475a-ba38-64d62eecd38b
	Total devices 1 FS bytes used 28.37GiB
	devid    1 size 39.06GiB used 39.06GiB path /dev/sda6

Label: 'sammelordner'  uuid: ac2097f4-8bb0-4fa3-b282-fac690400a1d
	Total devices 1 FS bytes used 205.13GiB
	devid    1 size 255.31GiB used 206.02GiB path /dev/sda7

Label: 'antixroot'  uuid: f98c69d7-4500-4706-8381-b1d22c94364d
	Total devices 1 FS bytes used 384.00KiB
	devid    1 size 58.59GiB used 1.02GiB path /dev/sda2

Label: 'antixhome'  uuid: 07ecdfdf-12b8-4f6b-9607-79d5d9723d62
	Total devices 1 FS bytes used 112.00KiB
	devid    1 size 9.77GiB used 20.00MiB path /dev/sda5

Label: 'antixhome'  uuid: 726cbd5c-87dd-4126-90e0-70e7fafae460
	Total devices 1 FS bytes used 112.00KiB
	devid    1 size 39.06GiB used 20.00MiB path /dev/sda8
findmnt -t btrfs
TARGET                          SOURCE    FSTYPE OPTIONS
/                               /dev/sda3 btrfs  rw,noatime,ssd,space_cache,subvolid=5,subvol=/
└─/home                         /dev/sda6 btrfs  rw,noatime,ssd,space_cache,subvolid=5,subvol=/
  └─/home/matthias/Sammelordner /dev/sda7 btrfs  rw,noatime,ssd,space_cache,subvolid=5,subvol=/

btrfs scrum after repair:

root@blechdepp:/home# btrfs scrub start -B -R /home
scrub done for 5207a0ce-102b-475a-ba38-64d62eecd38b
Scrub started:    Thu Apr  9 11:01:06 2026
Status:           finished
Duration:         0:00:54
	data_extents_scrubbed: 586281
	tree_extents_scrubbed: 32016
	data_bytes_scrubbed: 29936181248
	tree_bytes_scrubbed: 524550144
	read_errors: 0
	csum_errors: 0
	verify_errors: 1
	no_csum: 32170
	csum_discards: 7276468
	super_errors: 0
	malloc_errors: 0
	uncorrectable_errors: 1
	unverified_errors: 0
	corrected_errors: 0
	last_physical: 41892708352
ERROR: there are uncorrectable errors

btrfs scrum before repair:

root@blechdepp:~# btrfs scrub start -B -R /home
    
scrub done for 5207a0ce-102b-475a-ba38-64d62eecd38b
Scrub started:    Thu Apr  9 10:30:39 2026
Status:           finished
Duration:         0:00:56
	data_extents_scrubbed: 587056
	tree_extents_scrubbed: 32050
	data_bytes_scrubbed: 29985071104
	tree_bytes_scrubbed: 525107200
	read_errors: 0
	csum_errors: 0
	verify_errors: 0
	no_csum: 32170
	csum_discards: 7288404
	super_errors: 0
	malloc_errors: 0
	uncorrectable_errors: 0
	unverified_errors: 0
	corrected_errors: 0
	last_physical: 41892708352

repair:

root@blechdepp:~# btrfs check --force --repair /dev/sda6
enabling repair mode
Opening filesystem to check...
WARNING: filesystem mounted, continuing because of --force
Checking filesystem on /dev/sda6
UUID: 5207a0ce-102b-475a-ba38-64d62eecd38b
[1/7] checking root items
Fixed 0 roots.
[2/7] checking extents
No device size related problem found
[3/7] checking free space cache
cache and super generation don't match, space cache will be invalidated
[4/7] checking fs roots
reset nbytes for ino 19094119 root 5
[5/7] checking only csums items (without verifying data)
[6/7] checking root refs
[7/7] checking quota groups skipped (not enabled on this FS)
found 30510194688 bytes used, no error found
total csum bytes: 29153616
total tree bytes: 525123584
total fs tree bytes: 454262784
total extent tree bytes: 30703616
btree space waste bytes: 87900281
file data blocks allocated: 206212526080
 referenced 70746300416

I had to use --force since I cannot umount /home

A hardware check:

root@blechdepp:~# smartctl -a /dev/sda6
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-44-amd64] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Samsung based SSDs
Device Model:     Samsung SSD 860 EVO 500GB
Serial Number:    S3Z2NB1K309289F
LU WWN Device Id: 5 002538 e402803d9
Firmware Version: RVT01B6Q
User Capacity:    500.107.862.016 bytes [500 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
TRIM Command:     Available, deterministic, zeroed
Device is:        In smartctl database 7.3/5319
ATA Version is:   ACS-4 T13/BSR INCITS 529 revision 5
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Apr  9 10:34:27 2026 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(    0) seconds.
Offline data collection
capabilities: 			 (0x53) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					No Offline surface scan supported.
					Self-test supported.
					No Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (  85) minutes.
SCT capabilities: 	       (0x003d)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   094   094   000    Old_age   Always       -       26176
 12 Power_Cycle_Count       0x0032   097   097   000    Old_age   Always       -       2985
177 Wear_Leveling_Count     0x0013   094   094   000    Pre-fail  Always       -       87
179 Used_Rsvd_Blk_Cnt_Tot   0x0013   100   100   010    Pre-fail  Always       -       0
181 Program_Fail_Cnt_Total  0x0032   100   100   010    Old_age   Always       -       0
182 Erase_Fail_Count_Total  0x0032   100   100   010    Old_age   Always       -       0
183 Runtime_Bad_Block       0x0013   100   100   010    Pre-fail  Always       -       0
187 Uncorrectable_Error_Cnt 0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0032   060   044   000    Old_age   Always       -       40
195 ECC_Error_Rate          0x001a   200   200   000    Old_age   Always       -       0
199 CRC_Error_Count         0x003e   100   100   000    Old_age   Always       -       0
235 POR_Recovery_Count      0x0012   099   099   000    Old_age   Always       -       128
241 Total_LBAs_Written      0x0032   099   099   000    Old_age   Always       -       107438634846

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

#3 Re: Hardware & System Configuration » Strange behaviour with last version of grub » 2021-03-16 15:15:13

@fsmtihred:
Thanks for the hint, indeed by removing grub-efi-amd64-signed, the problem disappered. The prefix is now set to another value where also the grub configuration files are saved after another:

grub-install

#4 Re: Hardware & System Configuration » Strange behaviour with last version of grub » 2021-03-15 19:00:45

I  had the same problem that viverna had. But in my case grub-efi was already installed, beside grub-pc.
Deleting grub-pc and reinstalling grub-efi (I reinstalled grub-efi common and grub-efi 2 common) did not solved the problem.

Later I found ot that it is the prefix that causes grub to enter the shell/rescue mode.

It is set to .../efi/debian.

As soon I change it in the rescue mode to .../efi/devuan I can enter normal mode and the system starts normally.
This fits to the directories  found in /boot/efi/EFI/.

I  could not find a method to change the prefix presetting. The only solution I found was to force grub to install itself under .../efi/debian with

grub-install --bootloader-id=debian

Could it be that in one of the last updates the change of the prefix from debian to devuan has been forgotten?
Or that the directory name has been changed without changing the prefix?

#5 Re: Desktop and Multimedia » severe sound problems with audacity » 2021-01-19 23:11:37

fsmithred wrote:

I can reproduce this error. You need to start jack or set audacity to use alsa. (or maybe pulseaudio if you use that.)

Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started

Thanks for the answer.
I figured out that the problem has been caused mainly by a setting of audacity.
I had to uncheck the "SW playthrough of input" option. This caused a feedback loop and therefore causing a saturation of the signal.

This is also mentioned here in the PulseAudio  section:
https://manual.audacityteam.org/man/tut … linux.html

Following this and some of the recommendations here (https://www.freedesktop.org/wiki/Softwa … fectSetup/), where I am not sure if the later ones were really necessary, solved the problem.

Matze

#6 Desktop and Multimedia » severe sound problems with audacity » 2021-01-18 20:45:01

matze72
Replies: 2

Hello,

I have severe sound problems with audacity.

When I start a recording, it can happen that the sound i would like to record it suddenly very disturbed, that it is hardly recognized any more.
As soon as I stop the audacity recording the sound problem disappears.
The same disturbance can happen during playback with audacity.
But this happens not all the time. Sometime it just works fine, sometimes I just got dropouts during in the recorded data.

This is the printout in a shell after I started audacity, there are quite some errors/warnings but I do not have a clue if they are related to the problem or not.

Does anybody have a hint what I could do to solve the problems?

/usr/bin/audacity

(Audacity:9627): Gtk-WARNING **: 21:26:10.344: gtk_disable_setlocale() must be called before gtk_init()
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = Datei oder Verzeichnis nicht gefunden
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = Datei oder Verzeichnis nicht gefunden
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_a52.c:823:(_snd_pcm_a52_open) a52 is only for playback
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_dmix.c:1043:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1043:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Cannot connect to server socket err = Datei oder Verzeichnis nicht gefunden
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
21:26:13: Debug: ScreenToClient cannot work when toplevel window is not shown
21:26:13: Debug: ScreenToClient cannot work when toplevel window is not shown
21:26:13: Debug: ScreenToClient cannot work when toplevel window is not shown
21:26:13: Debug: ScreenToClient cannot work when toplevel window is not shown
21:26:13: Debug: ScreenToClient cannot work when toplevel window is not shown
21:26:13: Debug: ScreenToClient cannot work when toplevel window is not shown
21:26:13: Debug: ScreenToClient cannot work when toplevel window is not shown
21:26:13: Debug: ScreenToClient cannot work when toplevel window is not shown
21:26:13: Debug: ScreenToClient cannot work when toplevel window is not shown
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1736
Expression 'AlsaOpen( &alsaApi->baseHostApiRep, params, streamDir, &self->pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1904
Expression 'PaAlsaStreamComponent_Initialize( &self->capture, alsaApi, inParams, StreamDirection_In, NULL != callback )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2171
Expression 'PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2840
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
[AVAudioResampleContext @ 0x560fe8fcf6c0] Value 160,000000 for parameter 'phase_shift' out of range [0 - 30]
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628

And when I just wanted to check again the probelms I just mentioned above audacity refused to make any recording at all.

Matze

#7 Re: Installation » Network and other problems after upgrading from ascii to beowulf » 2020-08-20 14:18:53

@Vernon

No, allow-hotplug did not make the trick. Nothing changed.
Ethernet cable is also plugged in all the time.

@Lars

I have not the impression that sysv-rc-conf is broken.
And I did this when I still used ascii and did not change it.

I also have the impression that first connman is started and then the networking service, is there an easy way to check this?
I guess it is somewhere in the init scripts at /etc/rc.... , can I just adapt the names to force a different order?

For example change K01connman  to K09connman to make sure that the connam service is started after K07networking is starting the networking service, or can I break something doing so?

#8 Re: Installation » Network and other problems after upgrading from ascii to beowulf » 2020-08-20 13:31:03

@Lars

I used sysv-rc-conf to define the following:

 
service        1      2     3     4     5      0     6       S
connman       [ ]    [x]   [x]   [x]    [x]   [ ]    [ ]    [ ]

I believe that this should do the same as update-rc.d connman enable, isn't it?

#9 Re: Installation » Network and other problems after upgrading from ascii to beowulf » 2020-08-20 13:18:44

@Vernon:

Sorry the path was a typo, indeed my interface-file is at /etc/network/interfaces.

Do you think the "allow-hotplug" is making the difference, or have you additional files in your interfaces.d-directory?
Mine is empty.

I will try the allow-hotplug.

Thanks,

matze

#10 Installation » Network and other problems after upgrading from ascii to beowulf » 2020-08-20 10:37:16

matze72
Replies: 11

After ugrading from ascii to beowulf I came across some problems, for some I could find solutions or workarounds on my own, for some not.

But let's start with the main problem:

1) After the upgrade I did not have internet access any more. It turned out that no dhc clinet is runing. After I added the following lines to /etc/interfaces
auto eth0
iface eth0 inet dhcp

dhclient is running after booting, but I still have to restart connman with the following command to get access to the internet:
service connman restart
How can I fix this?

2) During booting the boot process stops for some minutes at Starting MTA. Is there a possibility to avoid this?

3) There must be change in the firejail profile file firefox-common.profile that caused problems with my firefox installation. is there a way to download the ascii version of that file to make a comparison?

4) The directory /usr/sbin was not part of the PATH variable any more, at the moment I use the following command as root after boot:
export PATH=/usr/sbin:/sbin:/usr/local/sbin/:$PATH
How can I define this permanently?
Do I have to include this in .bashrc in the root home directory or is there a system wide configuration file?

5) After the upgrade I do not have the possibility any more to send the computer into "sleep mode" with obsession-logout, does anybody know a reason for that?
Can this be caused by the upgrade hint to downgrade upower because of a bug (and I followed that hint)

Board footer

Forum Software