Bug 1215914 - files and folders disappear after kernel upgrade
Summary: files and folders disappear after kernel upgrade
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Leap 15.4
Hardware: x86-64 openSUSE Leap 15.4
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: openSUSE Kernel Bugs
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-03 15:14 UTC by Abdel Bensiali
Modified: 2023-10-07 14:19 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
empty folder var (20.25 KB, image/png)
2023-10-03 15:23 UTC, Abdel Bensiali
Details
empty folder opt (20.56 KB, image/png)
2023-10-03 15:23 UTC, Abdel Bensiali
Details
empty folder home (20.42 KB, image/png)
2023-10-03 15:24 UTC, Abdel Bensiali
Details
grub boot (3.21 MB, image/jpeg)
2023-10-07 14:18 UTC, Abdel Bensiali
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Abdel Bensiali 2023-10-03 15:14:15 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Build Identifier: 

So I upgraded to the new kernel.
My Opensuse 15.4 has Btrfs.
I had a few problems with upgrading my kernel before where the laptop just crashes when it tries booting into opensuse, so usually I just rollback the kernel and everything is good.

Facts as they stand:-
hd is 500GB and shows 300GB is occupied
lots of folders are just missing. /home/*, var/*, opt/*
used k-linux to retrieve a video & audio file from /home/user/Download
installed another linux os to perform said actions

Deletion of files would mean that space taken would be far less than 300GB.

Reproducible: Couldn't Reproduce

Steps to Reproduce:
1.upgrade kernal



I would consider myself a seasoned linux user "relatively" speaking. Kinda stumped on this one.
Comment 1 Abdel Bensiali 2023-10-03 15:23:12 UTC
Created attachment 869884 [details]
empty folder var
Comment 2 Abdel Bensiali 2023-10-03 15:23:41 UTC
Created attachment 869885 [details]
empty folder opt
Comment 3 Abdel Bensiali 2023-10-03 15:24:04 UTC
Created attachment 869886 [details]
empty folder home
Comment 4 Andreas Stieger 2023-10-03 17:22:18 UTC
(In reply to Abdel Bensiali from comment #0)
> So I upgraded to the new kernel.

Which one?
Comment 5 Abdel Bensiali 2023-10-03 21:46:22 UTC
Hi,

To answer your question, I upgraded from
- Linux 5.14.21-150400.24.21
to
- Linux 5.14.21-150400.24.81.default


Another update is that I managed to get into READ-ONLY snapshots which work great. All the data seems there and yay i was happy.
All the other snapshots that were in the grub menu and that were READ-WRITE.

Not sure how i will rollback to snapshot but will keep everyone posted for posterity on how this goes.
Comment 6 Abdel Bensiali 2023-10-03 22:56:38 UTC
So I got into a snapshot that had read-write.

Im having a problem as now plymouth-start.service has failed to start.
When I looked at the journalctl logs the error was as follows:-

symbol lookup error: /usr/sbin/plymouthd: undefined symbol: ply_kernel_command_line_get_key_value

We'll see how this goes.
Comment 7 Abdel Bensiali 2023-10-07 14:18:58 UTC
Created attachment 869985 [details]
grub boot
Comment 8 Abdel Bensiali 2023-10-07 14:19:11 UTC
So I thought I was good to back things up but I ran bootloader fix.
Its completely missing the snapshot when booting.

when I mount the drive i cant seem to find things in .snapshots drive.
I can find the snapshots from the grub prompt in the terminal.

I made the mistake of running fix-bootloader which misplaced where everything was and how it boots up. See new attachment for the error upon boot.

If there are any suggestions its always welcome.