User Tools

Site Tools


wiki:samba_troubleshooting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:samba_troubleshooting [2023/06/26 14:32] – [CIFS: Status code returned 0xc000006d STATUS_LOGON_FAILURE] update error info antisawiki:samba_troubleshooting [2024/05/09 10:12] (current) – add Hetzner storage suddenly stops working antisa
Line 27: Line 27:
   ...kernel: CIFS: Status code returned 0xc000006d STATUS_LOGON_FAILURE   ...kernel: CIFS: Status code returned 0xc000006d STATUS_LOGON_FAILURE
  
-But above is probably not related and could be solved by server reboot. The real error is when trying to ''ls'' the directory the error is:+When trying to ''ls'' the directory the error is:
  
   ls: /mnt/backup-storage: Host is down   ls: /mnt/backup-storage: Host is down
Line 37: Line 37:
  
 Try a couple of times above and then check with ''df -h'' and it should work again. Try a couple of times above and then check with ''df -h'' and it should work again.
 +
 +===== Hetzner storage suddenly stops working =====
 +Example:
 +
 +<code>
 +root@host:~# ls -l /mnt/
 +ls: cannot access '/mnt/backup-storage': Host is down
 +total 0
 +d????????? ? ? ? ?             ? backup-storage
 +
 +
 +root@host:~# findmnt
 +...
 +└─/mnt/backup-storage          //u287957.your-storagebox.de/backup
 +                                           cifs        rw,relatime,vers=3.1.1,cache=strict,username=xxxx,uid=0,noforceuid,gid=0,noforcegid,addr=159.69.63.181,file_mode=0660,dir_mode=0660,
 +
 +</code>
 +
 +It might be that the IP address changed and in ///etc/fstab// you have domain set up like so
 +
 +  //u287957.your-storagebox.de/backup /mnt/backup-storage cifs iocharset=utf8,rw,credentials=login.txt,file_mode=0660,dir_mode=0660 0 0
 +
 +Try pinging the dns name:
 +  ~# ping -4 u287957.your-storagebox.de
 +  ~# ping u287957.your-storagebox.de
 +
 +You should see that the IP changed. Now unmount and remount everything and it should fix it.
 +
 +  umount /mnt/backup-storage
 +  umount //u287957.your-storagebox.de/backup
 +
 +  mount -a
 +
 +
 +
 ====== Tested on ====== ====== Tested on ======
   *    * 
wiki/samba_troubleshooting.1687782730.txt.gz · Last modified: 2023/06/26 14:32 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki