openSUSE Tumbleweed installation: No space left on device @ dir_s_mkdir

I have an openSUSE Leap 15.1 laptop. I’m following these instructions to upgrade it offline with the openSUSE Tumbleweed DVD image:

https://en.opensuse.org/openSUSE:Tumbleweed_upgrade#Offline_Upgrade

But I’m receiving the following error in screenshots while trying to upgrade.

Also, I receive the same error when trying to just install (not upgrade).

I tried such suggestions but they didn’t help:

https://forums.opensuse.org/showthread.php/503867-no-space-left-on-device-opensuse-13-2?p=2685620#post2685620

This command shows I have around 30 GB free space inside root filesystem:

sudo btrfs filesystem usage /

Screenshots:

https://imgur.com/a/maFQnbk

https://imgur.com/a/quqfPOS

https://imgur.com/a/HRYXDHq

The error message says:

Run save_y2logs to get complete logs.

How can I run save_y2logs while installing Tumbleweed?

How much memory do you have on that system? If you have less than 2G of memory, that might be the cause of the problem. In that case you have to setup swap before you can install. (I’m not sure of the details of how that is managed).

You can use CTRL-ALT-F2 to get to a command line, and run it there. But if you are short of memory, there might not be enough space for that either.

Once you have run “save_y2logs”, you would have to copy that to somewhere on disk (or USB).

And, finally, CTRL-ALT-F7 gets you back to the install GUI screen.

I have 8 GB of memory. So it’s larger than 2 GB and should be enough :slight_smile:

I’m going to try to run save_y2logs by your approach.

By the way, this is the error text, just in case:

Internal error. Please report a bug report with logs. 
Run save_y2logs to get complete logs. 

Caller: /mounts/mp_0001/usr/lib64/ruby/2.7.0/fileutils.rb:250:in `mkdir' 

Details: No space left on device @ dir_s_mkdir - /tmp/YaST2-04124-3fSWke/installer-extension-2 

Start the Ruby debugger now and debug the issue? (Experts only!) 

Wow! Even running save_y2logs throws error:

openSUSE Tumbleweed Installation 

- there are shells running on consoles 2, 5, 6, 9 
- use 'extend' to load extensions (remove with 'extend -r'); extensions are: 
    o bind, gdb, libyui-rest-api 
- for network setup use wicked, for simple cases try dhcpcd 
- sshd: run 'setup_ssh' (don't forget to set a password with 'passwd') 


tty2:install:/ # save_y2logs 
mktemp: failed to create directory via template m/tmp/tmp.XXXXXXXXXXm: No space left on device 
FATAL: Failed to create a temporary directory 
dmesg: write failed, no space left on device 
dmesg: write error 
No Journal files were found. 
sed: couldn't flush stdout: No space left on device 
cp: error writing '/_packages.root': No space left on device 
Saving YaST logs to /tmp/y2log-Xuh8cw.tar.xz 
xz: (stdout): Write error: No space left on device 
tar: /tmp/y2log-Xuh8cw.tar.xz: Wrote only 2048 of 10240 bytes 
tar: Child returned status 1 
tar: Error is not recoverable: exiting now 
FATAL: Error creating archive /tmp/y2log-Xuh8cw.tar.xz 
tty2:install:/ # 



Sreenshot:

https://imgur.com/a/bOuFlFu

While installing, getting command line by CTRL+ALT+F2 and running command:

free -h

Indicates that there is 7.6Gi total memory.

Screenshot:

https://imgur.com/a/yA8S9gt

I’m not surprised at that.

Normally, during install “/tmp” and some other file systems are allocated from memory. Your 8G of memory should be sufficient. So it looks as if you have somehit hit a bug in the installer.

I suggest filing a bug report, even though you are unable to get the logs. Provide what information you can. Or at least provide a link to this thread where you have posted some information.

These commands show that installer is allocated only around 1GB RAM to root / although I have 8 GB RAM available.

df -h
lsblk

Screenshot:

https://imgur.com/a/MeXxtHQ

Online upgrade to Tumbleweed >= 20200826 is only supported from Leap 15.2 Upgrade to Leap 15.2 first. Then try Tumbleweed online upgrade.

I’ll add a note here.

This problem has been reported as Bug 1186103

Looking at that bug report, it appears this was a change in the Tumbleweed installer to using “zram” instead of “tmpfs” for the root file system.

And now I’ll have to find out more about “zram”.

Right. As denoted by final comments of

https://bugzilla.opensuse.org/show_bug.cgi?id=1186103

The error is resolved by using this kernel boot option:

pci=nommconf

Extensive description is available here:

https://unix.stackexchange.com/a/369090/158683

Right. As denoted by final comments of

https://bugzilla.opensuse.org/show_bug.cgi?id=1186103

The error is resolved by using this kernel boot option:

pci=nommconf

Extensive description is available here: