Ask Your Question

Revision history [back]

You did not mention if you also renamed the sharename which is between the brackets []. That sharename must be used when mounting it. So I assume that your config looks as follows.

[myshare] 
   comment = My share 
   path = /mnt/raid1/raid1share 
   public = yes
   writeable = no

If that is the case you could mount that share, provided that the folder /mnt/raid1/raid1share exists, as follows.

mount //localhost/myshare /test2/ -o user=adam

Or, if you want to rename the share to something else, edit the samba configuration as follows and restart the samba service.

 [raid1share] 
    comment = My share 
    path = /mnt/raid1/raid1share 
    public = yes
    writeable = no

And mount it with the sharename.

mount //localhost/raid1share /test2/ -o user=adam