Unable to mount newly added disk by created LVM Partition

rupesh690

New Member
Joined
Jan 27, 2022
Messages
5
Reaction score
1
Credits
60
Hello Friends,

I use Oracle VirtualBox and CentOS7. Recently, whenever I have tried to mount a newly added disk by creating LVM Partitions it shows an error. I'm attaching the screenshot of the problem, please help me.

Regards,

Rupesh Kumar
 

Attachments

  • Mounting Issue.jpg
    Mounting Issue.jpg
    127 KB · Views: 140


The bottom line is the clincher -- edit the /etc/fstab file.
How? How to edit and understand /etc/fstab
Caveat : I don't use virtual desktops; then, again, everyone using Linux needs to do this once in a while.
Welcome to Linux!
 
The mount command that you have used lacks a mount point:
Code:
[root@LinuxVM ~]# mount /dev/oracle_vg/oracle_lv/oracle/oracle <mount point>
"mount" is complaining because it can't find the mount point since it's not specified in fstab nor on the command line.
If you want the mount to occur at boot up, then you could configure it in /etc/fstab but that's not necessary if you specify a suitable mount point on the command line. I'm only commenting on the syntax, not the virtual machine dynamics.
 

Members online


Latest posts

Top