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
wiki:samba_troubleshooting [2023/06/26 14:38] – old revision restored (2023/06/26 14:05) antisawiki:samba_troubleshooting [2024/05/09 10:12] (current) – add Hetzner storage suddenly stops working antisa
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.1687783096.txt.gz · Last modified: 2023/06/26 14:38 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