home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux      Getting to be as bloated as Windows!      107,822 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 106,448 of 107,822   
   Carlos E.R. to alex   
   Re: problem with directory automount   
   13 Sep 24 21:12:00   
   
   From: robin_listas@es.invalid   
      
   On 2024-09-12 21:40, alex wrote:   
   > Hi everyone, first of all I'll show you my configuration.   
   >   
   > + grep public /etc/fstab   
   > //HOST/public /mnt/public cifs   
   > noauto,x-systemd.automount,_netdev,x-systemd.idle-timeout=300,   
   uest,rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0   
   >   
   > + systemctl list-unit-files --type automount | grep public   
   > mnt-public.automount              generated -   
   >   
   > Let's do some tests   
   >   
   > + sudo systemctl daemon-reload   
   >   
   > + sudo systemctl restart mnt-public.automount   
   >   
   > + ls /mnt/public/   
   > ls: cannot access '/mnt/public/': No such device   
   >   
   > Why?   
      
   I see you have solved it already, but the missing diagnostic there is   
   that the device (not the mount point) does not exist.   
      
   But I'm not sure if   
      
      ls -l //HOST/public   
      
   should work.   
      
   Anyway, it indicates a problem with samba, not automount, so the   
   diagnostic would be a manual mount and check of samba components.   
      
      
   --   
   Cheers, Carlos.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca