Solved

How do you mount and use mapped raw lun in Linux?

Posted on 2009-07-08
3
1,292 Views
Last Modified: 2013-12-15
I have a virtual RHEL 5 32 bit guest running on an ESX3.5 server. Disk 1 for the guest is a 10GB virtual disk where the RHEL OS is installed. I added Disk 2 to the VM which is a 500GB Mapped Raw LUN. How do I get RHEL to see and use the new disk? My Linux experience is very limited.

Thanks for any help.
0
Comment
Question by:kevlause
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 21

Expert Comment

by:za_mkh
ID: 24808117
I have no idea how to use linux guests to do this ... but I found these link which I hope can help you ...
http://www.linuxnetadmin.com/2008/01/how-to-add-disk-space-with-lvm-on-linux.html
 
0
 
LVL 10

Accepted Solution

by:
dnilson earned 500 total points
ID: 24809714
1) identify the device thath the raw mapped drive is, i.e /dev/sdb or similar

2) create a mount point somewhere in your Linux VM, like /mnt/rawdrive, or /newmount, etc.

3) mount the the LUN using
mount /dev/sdb /mnt/rawdrive

4) if this is permanent add an entry in /etc/fstab
a good description of the options is lited in
http://en.wikipedia.org/wiki/Fstab

or
http://linux.die.net/man/5/fstab

BUT FIRST
make sure you know what the device is
and make sure you pick the mount point you want.

if its wrong you can always
unmount /mnt/rawdrive
if it mounted at all.
if nothing to unmount, then probably you picked the wrong device in /dev to mount in the fist place.

0
 

Author Comment

by:kevlause
ID: 24814069
I ended up having to reboot the VM to see the new disk in /dev. Once I saw it in /dev it was pretty easy to mount. Thanks.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Fine Tune your automatic Updates for Ubuntu / Debian
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question