LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-29-2010, 12:22 PM   #1
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707

Rep: Reputation: 55
SAN disk for Virtual Machines


Dear All,

I would like to configure and SAN disk. But I do not have a physical SAN disk.

Is it possible to create and configure a Virtual SAN disk and work on it with virtual machines ?

I have around 400GB of space in my Laptop.

Thanks in advance...

Last edited by vinaytp; 06-29-2010 at 12:24 PM.
 
Old 06-29-2010, 02:47 PM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Hi
Mmmhh, not sure what you mean with SAN. I usually associate SANs with $$$s because of the big infrastructure needed to run them.

Anyway the fast answer to your question is no.

But it really depends what you want to do.
E.g. if you want to access a separate filesystem (or file mounted as filesystem) from within your VM (and nothing else) you can forward that filesystem to the VM when you start the VM.

Or if you want to just mount and unmount the filesystem in the VM or externally (directly in the host OS) you could use NBD. This is probably the method where you get the best performance but it is absolutely not good if you want to access to the same exported filesystem concurrently from the VM and from the host OS - the fileystem will become corrupted.

Otherwise what about the usual NFS?
 
Old 06-29-2010, 03:31 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Possible I'd think (depends of many things too) but not best solution.

Why not consider a usb external either in flash or hard drive if you need more storage?
 
Old 06-29-2010, 04:23 PM   #4
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707

Original Poster
Rep: Reputation: 55
Hi All,

Thanks for your responses.

It is not about any requirement, I want to learn how to configure a shared disk ( SAN disk ) which can be accessible by many Virtual machines as clients.

This query is not based on any requirement, Just I want to learn SAN configuration at home on my Laptop. Even at my work place we are not using any SAN to work on it.

Is there any way to configure SAN on the free hard disk space apart from the suggested once above which give similar functionality of SAN.
 
Old 06-29-2010, 07:51 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
We'd need to know more about the san. NFS or iscsi support or what?
 
Old 06-30-2010, 12:49 AM   #6
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by jefro View Post
We'd need to know more about the san. NFS or iscsi support or what?
I want to implement through iscsi standard. Can you please let me know how to proceed ?
 
Old 06-30-2010, 12:39 PM   #7
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Here is the guide I used when I tried iSCSI a few months ago:
http://en.gentoo-wiki.com/wiki/ISCSI

In my case the transfer rate was quite disappointing - got ~30MB/s when I had ~60-80MB/s when using NFS4. I didn't enable jumbo frames as my HRDW does not support it.
 
Old 06-30-2010, 03:15 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
See also gpxe boot to iscsi.

Many of the major server distros also have how to's.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to boot from a virtual machines disk umwai Linux - Newbie 11 03-23-2010 11:25 PM
Connect two virtual linux machines via virtual USB or serial WebBeing Linux - General 4 07-22-2008 07:26 AM
SAN disk problem ronanio Linux - Enterprise 12 03-29-2007 01:52 AM
Local Disk VS SAN. mmars Linux - Hardware 0 05-05-2006 10:35 AM
san disk resize problem ronanio Linux - Enterprise 0 02-07-2006 06:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration