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: 47


forester

Active Member
Joined
Mar 5, 2022
Messages
311
Reaction score
174
Credits
2,250
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!
 
N

NorthWest

Guest
The mount command that you have used lacks a mount point:
Code:
[[email protected] ~]# 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.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Latest posts

Top