MX-760HD MountCIFSShares

From MvixCommunity

Jump to: navigation, search

When you browse remote CIFS shares through the Mvix GUI, they're not really mounted on the Mvix. However, there are commands available so that you can mount them if you want to. For example for easy copying of files from a CIFS share onto local storage instead of using wget or USB, follow this guide.

  • Before mounting:
   way:/tmp/ide/part1# df
   Filesystem                             1k-blocks      Used Available Use% Mounted on
   /dev/root                                   6986      6986         0 100% /
   /dev/ide/host0/bus0/target0/lun0/part1 283855840    215820 268988340   0% /tmp/ide/part1
  • Create the mount point
   way:/tmp/ide/part1# mkdir /tmp/ide/part1/data
  • Verify that it's been created
   way:/tmp/ide/part1# ls /tmp/ide/part1/data
  • Technically you can just mount it on say /mnt, but I've chosen the same directory as used in the NFS mount in this case. Then execute a SMB/CIFS mount command. Here, home is the DNS name of my CIFS server, /video is the share in question and I have allowed passwordless guest access so I just hit return when asked for a password.
   way:~# smbmount_simple //home/video /tmp/ide/part1/data -o username=guest
   Password:
   Anonymous login successful
   ---- in smbmnt: 
   Calling send_fs_socket
  • And finally see if the mount went through.
   way:~# df
   Filesystem                            1k-blocks   Used Available Use% Mounted on
   /dev/root                                  6986   6986         0 100% /
   /dev/ide/host0/bus0/target0/lun0/part1283855840 215820 268988340   0% /tmp/ide/part1
   none                                        ...    ...       ...  91% /tmp/ide/part1/data
Personal tools