[Leaplist] How to automount a NAS device

Bill Smith hbco2 at sbcglobal.net
Mon Jan 5 14:23:46 EST 2009


I am attempting to mount a Iomega Stor-Center Pro network storage device (1 TB).  A bit of background, the NAS uses a "simple" linux implementation to support an internal RAID system.  Although the unit was advertised to be Linux compatible, there are shortcuts taken, among which are GID and UID values fixed at the value 254.  This number falls within numbers reserved for system services which make the drive difficult to access.  The chosen workaround has been to redefine the user ID and group ID of the client computers to 254, which make files accessible to the Linux clients.

One side effect is that the NAS needs to be mounted by root.  I am not sure if there is something I am not doing correctly in specifying the mount instruction in fstab (very possible) or for some other reason.  In any event, either the "user" or "users" option does not seem to make any difference with respect to how the drive needs to be mounted.  It can be readily mounted under root, and can be mounted using a sudo instruction, I haven't found a way to automount the drive using parameters in fstab.

The system is SuSE 10.2, network is samba (_netdrv is probably unnecessary in the following parameter).

The fstab entry at present (which will not automount) is:
//192.168.1.10/music /var/snd cifs auto,user,username=nashost%naspswd,_netdev,uid=254,gid=254  0 0

This produces an error 1 (Operation Not Permitted) alert in a desktop icon.

The following script will mount the drive.
echo rootpsw | studo -S mount /var/snd

Any help/comments appreciated!

Bill
hbco2 at sbcglobal.net



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.leap-cf.org/pipermail/leaplist/attachments/20090105/40f309ff/attachment-0001.html


More information about the Leaplist mailing list