Project

General

Profile

Bug #23652

Add ability to use RAW disk with guest VMs

Added by Marcelo Araujo over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
No priority
Assignee:
Marcelo Araujo
Category:
Middleware
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Disk device: allow choosing zvol or file. File lets the user use an USB stick image.

Associated revisions

Revision 31f3df5e (diff)
Added by Marcelo Araujo over 1 year ago

feat(vm): Add the capability to use RAW disk with guest vms.

Ticket: #23480
Ticket: #23652

Revision 9c76525c (diff)
Added by Warren Block 10 months ago

Document VM raw file devices

Ticket: #23652

History

#1 Updated by Marcelo Araujo over 1 year ago

  • Status changed from Screened to Resolved

#2 Updated by Dru Lavigne over 1 year ago

  • Subject changed from VM: Disk device to Add ability to use RAW disk with guest VMs

#3 Updated by Dru Lavigne about 1 year ago

  • Target version changed from 11.1 to 11.1-BETA1

#4 Updated by Nick Wolff about 1 year ago

  • QA Status Test Fails FreeNAS added
  • QA Status deleted (Not Tested)

How is this supposed to function? Is the raw file option for a raw device(hard drive) it shows the /mnt hierarchy not /dev.

#5 Updated by Marcelo Araujo about 1 year ago

Nick Wolff wrote:

How is this supposed to function? Is the raw file option for a raw device(hard drive) it shows the /mnt hierarchy not /dev.

Hi, the RAW file needs to be created:
1) ssh into your FreeNAS.
2) truncate -s <SIZE> <NAME>.img
3) Go to UI and choose the img file.

Now that we have container, I have a method that can create the img file without users need to ssh and truncate manually. However I didn't have enough time to make the changes necessary to have it. Now, unfortunately, it is manually :)

Best,

#6 Updated by Nick Wolff about 1 year ago

  • QA Status Test Passes FreeNAS added
  • QA Status deleted (Test Fails FreeNAS)

Ok thank you the wording of bug was confusing me. I've got it now and all QA passed.

#7 Updated by Joe Maloney about 1 year ago

  • Needs QA changed from Yes to No

Also available in: Atom PDF