Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

Mount a network-attached drive with xfs file system and username/password requirement

$
0
0

I am running Ubuntu 20.04.3 LTS, and I recently purchased a Buffalo LS210D27F network storage drive and attached it to my network. I can access the drive's dashboard through a web browser, but I do not seem to be able to mount it. Checking information, I see that the drive has an XFS filesystem, and that SMB is the only file sharing option enabled. It is set up with the recommended setting that it will switch automatically between SMB1 and SMB2. I believe SMB means I am using CIFS instead of XFS, but I just can't find any info on that.

To be safe, in addition to the below, I tried to run sudo mount -t xfs //[local IP]/[folder] /[mount point] and I got a message that the drive/folder combo does not exist.

I made sure both smbclient and cifs-utils were installed and up-to-date.

I ran smbclient -L //[local IP] and it asked for the password. When I entered it, I got the following output:

        Sharename       Type      Comment        ---------       ----      -------        IPC$            IPC       IPC Service (LinkStation)        [folder]        Disk        webaxs          Disk        share           Disk      LinkStation folder        info            Disk      LinkStation UtilitiesSMB1 disabled -- no workgroup available

Next I tried sudo mount -t cifs -o username=[username],password=[password] //[local IP]/[folder] /[verified empty mount point] and the response was

mount error(22):Invalid argumentRefer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

Running dmesg showed

CIFS: Attempting to mount //[local IP]/[folder]CIFS: VFS: cifs_mount failed w/return code = -22

This is a whole new topic for me. I thought it would be essentially plug-and-play, but the drive does not have instructions for Linux, and I cannot figure this out.


Viewing all articles
Browse latest Browse all 699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>