LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 09-16-2013, 09:37 AM   #1
Effendi
LQ Newbie
 
Registered: Apr 2012
Location: greater Stuttgart
Distribution: Redhat
Posts: 7

Rep: Reputation: Disabled
VMware storage reclamation in RHEL guests


We have several thin provisioned RHEL guests and supposedly storage reclamation is possible, if the file system is mounted with the discard option.
I have followed this reference.
So I went on and tested this with:
First I edited /etc/lvm/lvm.conf and changed issue_discards = from 0 to 1
Code:
mount -o remount,discard,rw /opt
dd if=/dev/zero of=/opt/bigfile.dat  bs=1M  count=6000
rm =/opt/bigfile.dat
fstrim -v /opt
Output: fstrim: /opt: FITRIM ioctl failed: Operation not supported
And from the VMware perspective the vmdk uses 6GB more space but does not decrease again.
Does anybody have any ideas about this?

Last edited by Effendi; 09-16-2013 at 09:47 AM.
 
Old 09-17-2013, 06:35 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 28,178
Blog Entries: 54

Rep: Reputation: 3141Reputation: 3141Reputation: 3141Reputation: 3141Reputation: 3141Reputation: 3141Reputation: 3141Reputation: 3141Reputation: 3141Reputation: 3141Reputation: 3141
See for example http://blog.christophersmart.com/201...n-luks-on-ssd/ ?
 
Old 10-02-2013, 04:56 AM   #3
Effendi
LQ Newbie
 
Registered: Apr 2012
Location: greater Stuttgart
Distribution: Redhat
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks for the link unSpawn, quite interesting for crypted ssd partitions which I may imply as soon as I have a ssd.
Our thin provisioned RHEL guests on the VM-farm do not have crypted partitions, so this does not apply.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
What did VMware do to the VMware Tools gui on Windows guests? taylorkh Linux - Virtualization and Cloud 4 07-18-2013 12:49 AM
kvm and vmware guests are not communicating Gil@LQ Linux - Virtualization and Cloud 6 04-27-2012 11:54 AM
USB Storage Not Mounting in RHEL 5 Guest OS in VMWare Server 2 rayams Linux - Server 1 11-25-2009 12:19 AM
Measuring/Monitoring traffic for VMWare guests xabin Linux - Server 3 03-11-2008 12:07 PM
vmware guests not being able to reache the Internet 0p3r4 Linux - Networking 6 09-11-2006 05:18 AM


All times are GMT -5. The time now is 07:48 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration