Re: block device type supporting trim or scsi unmap ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>Guess it depends on how recent kernel your guest runs. 
>>If you present it as a SCSI disk to the guest, then I have 
>>successfully had Linux Mint 12 guests do UNMAP when accessing /dev/sd* 
>>from within the guest. 

Ok, thanks for the info, i'll try it !


----- Mail original ----- 

De: "ronnie sahlberg" <ronniesahlberg@xxxxxxxxx> 
À: "Alexandre DERUMIER" <aderumier@xxxxxxxxx> 
Cc: kvm@xxxxxxxxxxxxxxx 
Envoyé: Jeudi 10 Mai 2012 14:36:38 
Objet: Re: block device type supporting trim or scsi unmap ? 

On Thu, May 10, 2012 at 10:28 PM, Alexandre DERUMIER 
<aderumier@xxxxxxxxx> wrote: 
>>>iscsi supports it too but it requires that your iscsi target supports 
>>>these opcodes, and that the filesystem/storage behind it supports it 
>>>too. 
>>>TGTD with EXT4 and a suitable storage device should do the trick. 
> 
> I'm using a iscsi solaris target, with scsi UNMAP support. 
> Drives also support scsi unmap in raid (ocz talos hdd). 
> I'm using direct lun access from host to guest. 
> 
> 
> But my question was, which block device inside guests have trim or scsi unmap implemention ? 
> 
> 

Guess it depends on how recent kernel your guest runs. 
If you present it as a SCSI disk to the guest, then I have 
successfully had Linux Mint 12 guests do UNMAP when accessing /dev/sd* 
from within the guest. 


If you present the device as a SCSI disk to the guest, you use a 
recent 3.x linux kernel for the guest and EXT4 as the filesystem 
I guess it should work. 


Dont know about status for IDE emulation. 

regards 
ronnie sahlberg 



-- 

-- 




	Alexandre D erumier 
Ingénieur Système 
Fixe : 03 20 68 88 90 
Fax : 03 20 68 90 81 
45 Bvd du Général Leclerc 59100 Roubaix - France 
12 rue Marivaux 75002 Paris - France 
	
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux