1832095 Members
3040 Online
110038 Solutions
New Discussion

mounting file system

 
bassey essien_1
Frequent Contributor

mounting file system

I have descrepancies of file system layout on
VG03, iam unable to access a file system called
/dev/vg03/sall_2000. These entries are on /etc/fstab but
not on the /etc/mnttab directory. vgdisplay shows that the file system is there. My question is how do i run a mount command on this file system, what options do i specify when executing a mount command. I ran this command: mount /saal_2000, but the error message reads "file not found in /etc/fstab.
Thanks, bassey.
5 REPLIES 5
Kevin Wright
Honored Contributor

Re: mounting file system

mkdir /sal
mount /vgxx/lvxx/sal... /sal

see man mount
Rita C Workman
Honored Contributor

Re: mounting file system

Hi Bassey,

First...so nice to finally be able to respond to your posts.

When you do a vgdisplay and see /dev/vg03/sall_2000, well the sall_2000 is the logical volume, not the file system....You don't here specify a real file system, just the logical volume. .... ???

Rita
Hamdy Al-Sebaey
Regular Advisor

Re: mounting file system

Hi Bassey,
I agree with Rita, you need t ocreate FS.
Thanks for sharing knowledge
Danny Engelbarts
Frequent Advisor

Re: mounting file system

Hi,

If there is an entry in the fstab just try the command mount -a, this will try to mount all enries fstab which are not mounted yet.

Greetz, Danny.
Dan Hetzel
Honored Contributor

Re: mounting file system

Hi Bassey,

Welcome back to the forums !!

As you have an entry for /dev/vg03/sall_2000 in your file /etc/fstab, the second field of the same line should tell you the mountpoint of the filesystem.

example
/dev/vg03/sall_2000 /sall vxfs rw,suid,delaylog,datainlog 0 2

The line above tells you that logical volume /dev/vg03/sall_2000 has to be mounted under directory /sall.

Make sure that the mountpoint exists (in this case /sall), issue an 'mkdir' if it doesn't.
Then you would be able to type 'mount /sall' as this will mount the filesystem, providing your filesystems has been created, of course.
If not, you'll have to create it first. The easiest way being 'sam'.
Have a look at manpages for newfs and newfs_vxfs for details.

Best regards,

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com