Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1322
  • Last Modified:

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

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
kevlause
Asked:
kevlause
1 Solution
 
za_mkhCommented:
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
 
dnilsonCommented:
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
 
kevlauseAuthor Commented:
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now