LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 09-16-2013, 08: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 08:47 AM.
 
Old 09-17-2013, 05:35 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,518
Blog Entries: 51

Rep: Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598
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: 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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 02:26 AM.

Main Menu
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