Solved

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

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

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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why isn't object file created? 6 41
PowerShell Default Ports 3 23
Could not power on VM : msg.vmk.status.VMK_NO_SPACE. 6 58
VMware Workstation 12 Player 16 35
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
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.
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

914 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

21 Experts available now in Live!

Get 1:1 Help Now