Solved

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

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
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…
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…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now