Re: [one-users] using real disk partitions for storage?

2010-08-13 Thread Jaime Melis
Hi Dan,

You can look inside the tm_mkimage.sh and modify it accordingly to your
needs. For example, you could comment out the line (for nfs driver):

 41 exec_and_log mkfs -t $FSTYPE -F $DST_PATH

regards,
Jaime


On Wed, Aug 11, 2010 at 10:36 PM, Dan Yocum yo...@fnal.gov wrote:

 Hi,

 I've got a special use case where we'd like to use an entire disk
 partition, i.e., /dev/sdc, for storage space.  Is there a way to create an
 appropriate template with contextualization to tell Opennebula to NOT create
 a file and format it, but format a disk partition?

 Thanks,
 Dan

 --
 Dan Yocum
 Fermilab  630.840.6509
 yo...@fnal.gov, http://fermigrid.fnal.gov
 I fly because it releases my mind from the tyranny of petty things.
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] using real disk partitions for storage?

2010-08-13 Thread Dan Yocum

Hi Jaime,

Thanks for the tip.

I realized late yesterday that allocating and formatting a disk 
partition requires root permissions, which the oneadmin user doesn't 
possess.  It might be worthwhile to re-think the level of permissions 
and the write access available to certain block devices.  Maybe put 
oneadmin in the 'disk' group and grant write access on certain 
partitions on the worker nodes...


Anyway, since this is a one-off installation, I just used virt-manager 
to create the VM.


Thanks,
Dan

On 08/13/2010 05:59 AM, Jaime Melis wrote:

Hi Dan,

You can look inside the tm_mkimage.sh and modify it accordingly to your
needs. For example, you could comment out the line (for nfs driver):

  41 exec_and_log mkfs -t $FSTYPE -F $DST_PATH

regards,
Jaime


On Wed, Aug 11, 2010 at 10:36 PM, Dan Yocum yo...@fnal.gov
mailto:yo...@fnal.gov wrote:

Hi,

I've got a special use case where we'd like to use an entire disk
partition, i.e., /dev/sdc, for storage space.  Is there a way to
create an appropriate template with contextualization to tell
Opennebula to NOT create a file and format it, but format a disk
partition?

Thanks,
Dan

--
Dan Yocum
Fermilab  630.840.6509
yo...@fnal.gov mailto:yo...@fnal.gov, http://fermigrid.fnal.gov
I fly because it releases my mind from the tyranny of petty things.
___
Users mailing list
Users@lists.opennebula.org mailto:Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




--
Dan Yocum
Fermilab  630.840.6509
yo...@fnal.gov, http://fermigrid.fnal.gov
I fly because it releases my mind from the tyranny of petty things.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] using real disk partitions for storage?

2010-08-11 Thread Dan Yocum

Hi,

I've got a special use case where we'd like to use an entire disk 
partition, i.e., /dev/sdc, for storage space.  Is there a way to create 
an appropriate template with contextualization to tell Opennebula to NOT 
create a file and format it, but format a disk partition?


Thanks,
Dan

--
Dan Yocum
Fermilab  630.840.6509
yo...@fnal.gov, http://fermigrid.fnal.gov
I fly because it releases my mind from the tyranny of petty things.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org