# /sbin Filesystem is gone after SNMP install

**URL:** <https://forums.suse.com/t/sbin-filesystem-is-gone-after-snmp-install/42420>\
**Category:** General\
**Created:** [January 23, 2024, 10:20am UTC](https://forums.suse.com/t/sbin-filesystem-is-gone-after-snmp-install/42420 "2024-01-23T10:20:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leonhard\_Bernhart](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/leonhard_bernhart/32/10894_2.png) [@Leonhard\_Bernhart](https://forums.suse.com/u/Leonhard_Bernhart)\
**Post date:** [January 23, 2024, 10:20am UTC](https://forums.suse.com/t/sbin-filesystem-is-gone-after-snmp-install/42420/1 "2024-01-23T10:20:18Z")

</div>

Today I tried to install SNMP with the command  
zypper in net-snmp

Last message was:  
There are running programs which still use files and libraries deleted or updated by recent upgrades. They should be restarted to benefit from the latest updates. Run ‘zypper ps -s’ to list these programs.

It was the rpcbind service:  
_PID | PPID | UID | User | Command | Service_  
_----±-----±----±-----±------------------±-------_  
_742 | 1 | 495 | rpc | rpcbind (deleted) | rpcbind_

I did a restart, but the system went into emergency mode.  
I had to unmount every xfs and nfs filesystem, and now Linux is up again.

rpcbind is started from /sbin, but the entire directory has been deleted since the installation.

Please note:

Last week, I removed all SUSE snapshots, except the first one with the snapper tool.  
But I deleted the directory /.snapshots/1/snapshot/sbin as described in [how to delete a file in a snapper btrfs snapshot | Support | SUSE](https://www.suse.com/de-de/support/kb/doc/?id=000019594)

And now the exact same directory is gone.

zypper has created 2 snapshots today during installation.

**desapc6c:/.snapshots/1/snapshot # snapper --config root list**  
\*\* # | Type | Pre # | Date | User | Used Space | Cleanup | Description | Userdata\*\*  
**—±-------±------±-------------------------±-----±-----------±--------±----------------------±------------**  
**0 | single | | | root | | | current |**  
1\* | single | | Tue Jun 8 10:28:26 2021 | root | 202.88 MiB | | first root filesystem |  
2 | pre | | Tue Jan 23 07:26:05 2024 | root | 6.79 MiB | number | zypp(zypper) | important=no  
3 | post | 2 | Tue Jan 23 07:26:10 2024 | root | 3.22 MiB | number | | important=no

But neither snapshot 2 nor snapshot 3 contains the sbin directory.

---

<div class="post-metadata">

**Author:** ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)\
**Post date:** [January 23, 2024, 1:07pm UTC](https://forums.suse.com/t/sbin-filesystem-is-gone-after-snmp-install/42420/2 "2024-01-23T13:07:06Z")

</div>

@Leonhard_Bernhart Hi and welcome to the Community 😄  
Your going to have to look at restoring from backup to recover that directory…

Not sure why you needed to delete all your snapshots, just configure snapper to keep a few then let the system cleanup. If your running out of disk space then sounds like you needed to run the btrfs maintenance routines?
