1826440 Members
4127 Online
109692 Solutions
New Discussion

Re: MemFS error

 
Alexey Larin
New Member

MemFS error

Hi ALL,

Install MemFS v2.0 on HP-UX 11.23 from depot "MemFS_B.11.23.02_HP-UX_B.11.23_IA_PA_WITH_PATCHES.depot"

Add in /etc/fstab
#MEMFS
memfs /tstonline memfs size=4GB 0 0

When try to mount FS have error

# mount -F memfs /tstonline
mount: absolute path name is required for memfs

What wrong?

Thank you.
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: MemFS error

Shalom Alexy,

memfs /tstonline memfs size=4GB 0 0

memfs needs to be changed to the full path to memfs, whatever that is. This you get from the documentation for memfs.

Looks like a RTFM a little more carefully situation.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sajjad Sahir
Honored Contributor

Re: MemFS error

what u given in the /etc/fstab file
pls
Sajjad Sahir
Honored Contributor

Re: MemFS error

mount -F memfs -o size=100MB /tstonline

i think /tstonline is u mount point
Sajjad Sahir
Honored Contributor

Re: MemFS error

dear Lary
u tried my posting
sajjad
Alexey Larin
New Member

Re: MemFS error

Steven,

I did non catch, "/tstonline" is absolute (full) path. Where is a error? I reread mans and docs and did not find any useful.

Thanks
OldSchool
Honored Contributor

Re: MemFS error

mount -F memfs /tstonline

in the above "memfs" should be the full complete path, it at the very least needs to be "/memfs"....may even need to be the full path to the executable for all I can tell from here
Dennis Handly
Acclaimed Contributor

Re: MemFS error

>I did non catch, "/tstonline" is absolute path. Where is a error?

As SEP suggests, it is the entry in /etc/fstab that is broken.

>OldSchool: mount -F memfs /tstonline
>in the above "memfs" should be the full complete path

I don't think so. mount(1m)'s -F option takes the type of the filesystem.

>SEP: Looks like a RTFM a little more carefully situation.

Unfortunately the manual says you can have an fstab entry but doesn't have any examples. :-(
http://docs.hp.com/en/5992-2360/5992-2360.pdf

I don't see any mention of the device special file? Is it /dev/mem?

The white paper isn't that helpful:
http://docs.hp.com/en/11885/MemFSv2forHP-UX11iv2.pdf

It does say: Note that a block special filename is not required for MemFS.

So perhaps you don't need that entry in fstab?

But it goes on to say that:
Since there is no backing device directly associated with MemFS, special is ignored, and it is recommended that memfs is used as special field.

So maybe Alexey did read the manual and the software is broken?
johnsonpk
Honored Contributor

Re: MemFS error

Hi Larin,

Here you go..


Add entry in /etc/fstab

memfs /tstonline memfs size=4GB 0 0

mount using the below command
#/sbin/fs/memfs/mount -F memfs -o size=4GB /tstonline

Let me know this command is not through..

Thanks !
Johnson