[sdnog] Mounting Error

Philip Paeps philip at trouble.is
Wed Aug 8 19:39:28 SAST 2018


On 2018-08-08 23:29:28 (+0600), Khansa Abdalla wrote:

> On Wed, 8 Aug 2018 at 18:55, Philip Paeps <philip at trouble.is> wrote:
>
>> On 2018-08-08 21:50:18 (+0600), Khansa Abdalla wrote:
>>> I'm working on Solaris10 machine , I need to mount on of file system
>>> (/backup) with specific options
>>> I used :
>>> # mount -o
>>>
>> rw,bg,hard,nointr,rsize=32768,wsize=32768,proto=tcp,noac,forcedirectio,vers=3,suid
>>
>>> remount /backup
>>> *nfs mount: nfs file system; use [host:]path*
>>
>> Did you forget a comma before remount?
>>
>>> it gave above erroe , even after edit the command as required
>>> mount -o
>>>
>> rw,bg,hard,nointr,rsize=32768,wsize=32768,proto=tcp,noac,forcedirectio,vers=3,suid
>>> remount *my_server_ip :path*
>>> *mount: Mount point my_server_ip :path is not an absolute pathname.*
>>>
>>> can someone explain to me what was wrong , and how to solve this ?
>>
>> It sounds like mount is complaining that you're trying to mount 
>> /backup
>> on remount and that's not a valid hostname. :)
>>
> Thanks philip
> my bad ! ,, but ok even after edit it  :
> mount  -o
> rw,bg,hard,nointr,rsize=32768,wsize=32768,proto=tcp,noac,forcedirectio,vers=3,suid
> */device*  *my_server_ip :** /backup*
> mount: Mount point my_server_ip :path is not an absolute pathname
>
> still the same error , was the syntax wrong ?

Well.  Now you're trying to mount /device (locally) on my_server_ip:path 
(remotely).  That's never going to work.

If you're trying to mount an NFS volume, you want:

     mount -o 
rw,bg,hard,nointr,rsize=32768,wsize=32768,proto=tcp,noac,forcedirectio,vers=3,suid 
server:path /backup

If you're trying to mount a local volume ... most of those options don't 
make sense and you want:

     mount /device /backup

Incidentally, on Solaris, `rsize=32768,wsize=32768,hard` are default 
options.  Why do you think you need to specify them explicitly?

Philip

-- 
Philip Paeps
Senior Reality Engineer
Ministry of Information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sdnog.sd/pipermail/sdnog/attachments/20180808/9bce0b73/attachment.html>


More information about the sdnog mailing list