Author Topic: mounting a drive from my NAS (Netgear ReadyNAS Duo)  (Read 1682 times)

Offline neilcoza

  • New Friend
  • *
  • Posts: 3
mounting a drive from my NAS (Netgear ReadyNAS Duo)
« on: October 16, 2011, 12:17:25 PM »
Hi,
I am trying to mount a share from my NAS onto my laptop with the following command

mount //nas-f9-9f-b1/media /home/neil/smb4k/media -t smbfs -o username=admin,password=torincaleb -o gid=user,dmask=777,fmask=777,rw

I get the following error

localhost klogd: smbfs is deprecated and will be removed from the 2.6.37 kernel. Please migrate to cifs
mount: wrong fs type, bad option, bad superblock on //nas-f9-9f-b1/media,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

I have tried to use smb4k it sees the workgroup (WEBCOZA) and the host NAS-F9-9F-B1 but if I click on it it comes back with nothing. I have a desktop which is running the same version of PCLINUXOS (the latest) and SMB4K works fine.

Please help. How do I mount the share

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6236
Re: mounting a drive from my NAS (Netgear ReadyNAS Duo)
« Reply #1 on: October 16, 2011, 12:22:24 PM »

do what the error msg advises, change "smbfs" entry in that line to "cifs" and try again and report back if it still doesnt work.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline neilcoza

  • New Friend
  • *
  • Posts: 3
Re: mounting a drive from my NAS (Netgear ReadyNAS Duo)
« Reply #2 on: October 16, 2011, 10:49:37 PM »
mount //nas-f9-9f-b1/media /home/neil/smb4k/media -t cifs -o username=admin,password=torincaleb -o gid=user,dmask=777,fmask=777,rw
WARNING: 'dmask' not expressed in octal.
WARNING: CIFS mount option 'dmask' is deprecated. Use 'dir_mode' instead.
WARNING: 'fmask' not expressed in octal.
WARNING: CIFS mount option 'fmask' is deprecated. Use 'file_mode' instead.

Why does it not work in SMB4K?
When I go to Control Center, network sharing, access windows smb shared drives, the NAS is recognised but not accessible