Solved

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

Posted on 2009-07-08
3
1,288 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
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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Suggested Solutions

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
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…

679 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