Zoyinc
  • Home
  • Contact
  • Categories
    • CD Archiving
    • GIMP
    • Linux
    • MythTV
    • Open Media Vault
    • Technology
    • VMware
    • WordPress
    • YouTube
  • About


Cannot mount block device : Error mounting CentOS share on OMV

By

Tony

,

April 18, 2020

I needed to have a scheduled job to copy files from my MythTV server to my Open Media Vault server, but when I tried to mount the Samba/SMB share I got the following:

root@nas2:/mnt# mount -t cifs \\\\192.168.202.44\\public /mnt/192.168.202.44 -o domain=CANTABRIAN,user=backup,pass=mypassword
mount: block device \\192.168.202.44\public is write-protected, mounting read-only
mount: cannot mount block device \\192.168.202.44\public read-only

My Open Media Vault, OMV, server was running Debian with Samba version 3.6.6. This was trying to mount a share from my MythTV host which is running CentOS 7 and Samba 4.8.3.

Tried about a million things but just could not get past the error.

What worked was adding “sec=ntlmssp”. Looking at the RedHat docs it says:

If the server does not support the ntlmv2 security mode, use sec=ntlmssp, which is the default. For security reasons, do not use the insecure ntlm security mode.

So the working line is:

mount -t cifs \\\\192.168.202.44\\public /mnt/192.168.202.44 -o domain=CANTABRIAN,user=backup,pass=mypassword,sec=ntlmssp

 

Resources

RedHat: Mounting an SMB Share
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/storage_administration_guide/mounting_an_smb_share

Related

CentOS 7 VM for WordPress and MythTV – Post install setup
CentOS 7 base VM for WordPress and MythTV
Download failed.: cURL error 2:
Installing Tomcat 9 behind Apache on CentOS 7
Recent

  • AlmaLinux GUI – no taskbar or application shortcuts

    AlmaLinux GUI – no taskbar or application shortcuts

  • AlmaLinux 9.5 base VM

    AlmaLinux 9.5 base VM

  • Reset Kodi thumbnails

    Reset Kodi thumbnails

  • Set default settings values in Kodi skins

    Set default settings values in Kodi skins

  • Add/Remove/Reset music/video libraries in Kodi

    Add/Remove/Reset music/video libraries in Kodi

  • Zoyinc Kodi skin on Sony TV

    Zoyinc Kodi skin on Sony TV

  • [L] – WordPress UAM Locked Post

    [L] – WordPress UAM Locked Post

  • Import Pictures and Videos – images not previewed

    Import Pictures and Videos – images not previewed

  • Find My Train

    Find My Train

  • WordPress style name not visible

    WordPress style name not visible

About Zoyinc

  • Contact Us
  • Zoyinc Disclaimer
  • Google Search Console
  • Privacy Policy
  • Site Statistics
  • Login

Apache Auckland Backup CD CentOS Centos7 Children Configuration Debian Error ESX ESXi Fedora Firewall Install Josh Kids Kodi Linux MariaDB MySQL MythTV New Zealand OKD OMV Open Media Vault OpenShift PHP Player Python RAID RedHat Red Hat Rip School Setup SMB SonicWALL Spark tags Train Trains VLAN VM VMware Weaver Windows WordPress YouTube

Powered by

This site is licensed under a Creative Commons Attribution 4.0 International License.