I'm using HP-UX B.11.23 system. I've been having some problem in mounting a filesystem that has been defined in /etc/fstab as shown below.
fstab entries:
When I executed "mount -a", it display the following:
I've tried to delete these directories from /oracle/PRD directory and recreate it. But it's still the same result.
FYI, my "vgsap" is actually located in my san disk, not on local disk.
Please kindly advice what could be the issue and how can it be fixed.
i am using Interactive Unix 4.1.1 and i have a disk from a another unix machine which is Unix Slackware 2.1 i'm having problem mounting the disk. it gives me an error message, ??? is there any solution to this ???
it say the disk has invalid file system (1 Reply)
HI all
I think i can get a perfect solution for our problem here.
we r using oracle 7i on hpux 11.0 as a billing server .The thing is it used to get hanged sometime and we need to unmount and need to mount the oracle DB then we need to start the oracle process.The process running in that... (6 Replies)
Hi all
We are using two HPUX servers one C-class and one K-class....
But only one of this server has tape drive......and to back up the filesystem in the othe server i need to mount the file systems on the server having tape device....But i don't know how to mount the file system of one... (1 Reply)
Hi people,
I've made some search about it but i didn't find anything. I tried to mount my floppy,
mount -t /dev/fd0 /mnt
but it didn't work... it says : "Device not configured". Can you help me please???
And mounting my dos partiton...
mount -t vfat /dev/hdc1... (6 Replies)
Hi,
I wanted to mount my windows folder under linux using samba server..
I just run this command :
$mount -t smbfs -o fmask=666,ajay //16.100.225.179/Build_stage /mnt/share
ajay is user name .. it prompted for password i have given that now i saw error message like
27893: session setup... (1 Reply)
I have a Sun9 server. When I put a CD into it, I keep getting:
Server1{root}:$PWD=> mount: Permission denied
mount: cannot mount /vol/dev/dsk/c0t6d0/roxio1
It mounts fine in my Sun8 boxes. What am I doing wrong? (I'm logged in as root).
Thanks! (0 Replies)
I have successfully installed redhat linux in my PC.
But when i am trying to mount cdrom with the command "mount /dev/sda1 /mnt/cdrom" I am getting the following error
"Unknown device /dev/sda1".
Can anyone help me in this regard.
cheers
RRK (3 Replies)
Hi all
I am having a great deal of trouble mounting a harddisk on my Ubuntu 9.10 desktop.
Output from "fdisk -l":
Disk /dev/sda: 640.1 GB, 640135028736 bytes
86 heads, 15 sectors/track, 969196 cylinders
Units = cylinders of 1290 * 512 = 660480 bytes
Disk identifier: 0x00000001
... (5 Replies)
Hi,
I have a strange problem with iscsi.
My vfstab entry looks like this:
/dev/md/dsk/d100 /dev/md/rdsk/d100 /zones/ssapp0895v01 ufs 2 iscsi -
After rebooting, the filesystem gets mounted with the option "nosetuid". I believe the default should be "suid"
/zones/ssapp0895v01 on... (0 Replies)
I am trying to mount SAMBA/CIFS and it just won't work
Here are my settings...please let me know what i did wrong
This is Centos 6.4 box
Thanks!
cat /etc/samba/smb.conf
comment = Samba
path = /home/vm1/Desktop/samba
writable = yes
public = yes
findsmb
... (3 Replies)
Discussion started by: nokia3310
3 Replies
LEARN ABOUT REDHAT
getfsent
GETFSENT(3) Linux Programmer's Manual GETFSENT(3)NAME
getfsent, getfsspec, getfsfile, setfsent, endfsent - handle fstab entries
SYNOPSIS
#include <fstab.h>
void endfsent(void);
struct fstab *getfsent(void);
struct fstab *getfsfile(const char *mount_point);
struct fstab *getfsspec(const char *special_file);
int setfsent(void);
DESCRIPTION
These functions read from the file /etc/fstab. The struct fstab is defined by
struct fstab {
char *fs_spec; /* block device name */
char *fs_file; /* mount point */
char *fs_vfstype; /* filesystem type */
char *fs_mntops; /* mount options */
const char *fs_type; /* rw/rq/ro/sw/xx option */
int fs_freq; /* dump frequency, in days */
int fs_passno; /* pass number on parallel dump */
};
Here the field fs_type contains (on a *BSD system) one of the five strings "rw", "rq", "ro", "sw", "xx" (read-write, read-write with quo-
tas, read-only, swap, ignore).
The function setfsent() opens the file when required and positions it at the first line.
The function getfsent() parses the next line from the file. (After opening it when required.)
The function endfsent() closes the file when required.
The function getfsspec() searches the file from the start and returns the first entry found for which the fs_spec field matches the spe-
cial_file argument.
The function getfsfile() searches the file from the start and returns the first entry found for which the fs_file field matches the
mount_point argument.
RETURN VALUE
Upon success, the functions getfsent(), getfsfile(), and getfsspec() return a pointer to a struct fstab, while setfsent() returns 1. Upon
failure or end-of-file, these functions return NULL and 0, respectively.
HISTORY
The getfsent() function appeared in 4.0BSD; the other four functions appeared in 4.3BSD.
CONFORMING TO
These functions are not in POSIX. Several operating systems have them, e.g., *BSD, SunOS, Digital Unix, AIX (which also has a getfstype()).
HP-UX has functions of the same names, that however use a struct checklist instead of a struct fstab, and calls these functions obsolete,
superseded by getmntent(3).
NOTES
These functions are not thread-safe.
Since Linux allows mounting a block special device in several places, and since several devices can have the same mount point, where the
last device with a given mount point is the interesting one, while getfsfile() and getfsspec() only return the first occurrence, these two
functions are not suitable for use under Linux.
SEE ALSO getmntent(3), fstab(5)Linux 2.5 2002-02-28 GETFSENT(3)