LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 08:37 AM   #1
Effendi
LQ Newbie
 
Registered: Apr 2012
Location: greater Stuttgart
Distribution: Fedora
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 08:47 AM.
 
Old 09-17-2013, 05:35 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
See for example http://blog.christophersmart.com/201...n-luks-on-ssd/ ?
 
Old 10-02-2013, 03:56 AM   #3
Effendi
LQ Newbie
 
Registered: Apr 2012
Location: greater Stuttgart
Distribution: Fedora
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:12 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