XPost: alt.os.linux.mint, alt.os.linux.mageia   
   From: pinnerite@gmail.com   
      
   On Thu, 13 Jun 2024 22:43:20 -0400   
   Paul wrote:   
      
   > On 6/13/2024 5:05 PM, pinnerite wrote:   
   > > This is on mint 21.3   
   > > I have run the same mount statement in a Script for years.   
   > > It mounts a samba share. I ran it for periodic backups.   
   > > Recently the backup machine stopped working. It is getting on a bit.   
   > > I substituted another equally old but working machine and edited the   
   > > script to substitute its URL.   
   > >   
   > > mount -v -t cifs -o   
   > > rw,noperm,user=,password=,domain=ASANDCO,vers=1.0,uid=alan   
   //192.168.1.4/data/ /spare/albury/Data/   
   > >   
   > > It returns mount error(22): Invalid argument   
   > >   
   > > I have been scratching my head over this for several days.   
   > >   
   > > I haven't found anything on the WWW that has helped.   
   > >   
   > > TIA   
   > >   
   >   
   > Is /spare/albury/Data mounted ?   
      
   Sorry I have conflated two problems.   
      
   First the url should have been //192.168.1.100/data   
      
   That represents a samba share.   
      
   /spare/albury/Data/ is where it is mounted.   
      
   Next the line above beginning rw,noperm is a continuation of the line above.   
      
   Since correcting the mount statement and running:   
      
   $ mount -t cifs   
      
   It returned:   
      
   //192.168.1.100/data/ on /spare/albury/Data type cifs (plus much detail)   
      
   $ df returned:   
      
   Filesystem 1K-blocks Used Available Use% Mounted on   
   //192.168.1.100/data/ 913806868 213880 867100880 1% /spare/albury/Data   
      
   So it looks as though the mount is working!   
      
   Thank you for helping to penetrate my self-made fog.   
      
   Alan   
      
      
      
   --   
   Linux Mint 21.3 kernel version 5.15.0-112-generic Cinnamon 6.0.4   
   AMD Ryzen 7 7700, Radeon RX 6600, 32GB DDR5, 1TB SSD, 2TB Barracuda   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|