12-09-2015
Hitachi has reclaim zero pages on enterprise level storage (VSP)
This is mostly used in combination with software on the machine.
For instance, with ASM, you can reclaim zero pages from ASM, then reclaim on storage.
A nice document :
https://www.hds.com/assets/pdf/recla...on-utility.pdf
There is an article on RHEL network regarding :
https://access.redhat.com/solutions/45514
It involves creating a lvol with all free space from volume group, dd-ing the lvol with using /dev/zero, removing the lvol, remount with discard and running fstrim.
After that you can reclaim the storage space from storage GUI/command line.
Dunno how would you apply the same on raw volume tho (no VG).
Hope that helps.
Regards
Peasant.
Last edited by Peasant; 12-09-2015 at 04:34 AM..
This User Gave Thanks to Peasant For This Post:
9 More Discussions You Might Find Interesting
1. Linux
Please m new around here! Can anyone take me thru implementing bootp on my thin clients via my central server?
Preciate ur assistance. Thanks folks! (2 Replies)
Discussion started by: chuk_uka
2 Replies
2. AIX
Hi, I was told that 300GB of LUN has been allocated to my server by the SAN group. apart from rootvg i have 2 volume groups(oracle) for which i need to add space as follows:
oradbvg 250GB to be added
oralvg 50GB
what are the steps that i should follow after iam being told that LUN has been... (4 Replies)
Discussion started by: karthikosu
4 Replies
3. Filesystems, Disks and Memory
Am trying to differentiate between the local disks and LUN's presented from SAN onto the server. Have Tried fdisk -l, however I quite cudn't differentiate the local disks from SAN presented LUN's.
Can you pls. let me know the procedure and commands to find this.
OS - RHEL 4
SAN - EMC... (3 Replies)
Discussion started by: Crazy_murli
3 Replies
4. Solaris
I have a list of LUN ID, my task is to find if disk has been added or not. How do I do that? I have been searching the forum and not able to find answer.
thanks (4 Replies)
Discussion started by: uuontario
4 Replies
5. Shell Programming and Scripting
Hi
I want to include in my script a test for DB connection with jdbc:thin connection string(not using tnsnames.ora)
For example:... (3 Replies)
Discussion started by: gdan2000
3 Replies
6. Red Hat
Hi,
I have a SAN LUN of 550 GB created as an ext3 partition of the entire lun and need to make the lun and partition larger... 600 GB
# fdisk -l /dev/sdj
Disk /dev/sdj: 590.5 GB, 590558003200 bytes
255 heads, 63 sectors/track, 71797 cylinders
Units = cylinders of 16065 * 512 = 8225280... (3 Replies)
Discussion started by: jamba1
3 Replies
7. Red Hat
Calling all Linux GURU's.
The purpose of this thread is to try an recreate what we already have stood up in my environment, however the steps i am having to produce my own.
I have got multiple applications that dump the data to various LUNs, the LUNs are managed by an Enterprise SAN... (11 Replies)
Discussion started by: jcejka
11 Replies
8. Red Hat
Hi All,
I am new for this blog and this is my first Query on this blog. I would like to dael with graet masters on linux.
Here we go,
After storage people created the LUN, How to add that LUN to Linux server. (Make that LUN visibility on linux server.) ?
How to view the LUN... (5 Replies)
Discussion started by: abhay1983
5 Replies
9. Linux
Hi
I am not familiar with the linux, but I was asked to create a file system on a LUN from the NetApp that was mapped to the linux server.
The server is runing:
uname -a
Linux localhost.localdomain 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
and now... (6 Replies)
Discussion started by: fretagi
6 Replies
LEARN ABOUT CENTOS
fstrim
FSTRIM(8) System Administration FSTRIM(8)
NAME
fstrim - discard unused blocks on a mounted filesystem
SYNOPSIS
fstrim [-o offset] [-l length] [-m minimum-free-extent] [-v] mountpoint
DESCRIPTION
fstrim is used on a mounted filesystem to discard (or "trim") blocks which are not in use by the filesystem. This is useful for solid-
state drives (SSDs) and thinly-provisioned storage.
By default, fstrim will discard all unused blocks in the filesystem. Options may be used to modify this behavior based on range or size,
as explained below.
The mountpoint argument is the pathname of the directory where the filesystem is mounted.
OPTIONS
The offset, length, and minimum-free-extent arguments may be followed by the multiplicative suffixes KiB=1024, MiB=1024*1024, and so on for
GiB, TiB, PiB, EiB, ZiB and YiB (the "iB" is optional, e.g. "K" has the same meaning as "KiB") or the suffixes KB=1000, MB=1000*1000, and
so on for GB, TB, PB, EB, ZB and YB.
-h, --help
Print help and exit.
-o, --offset offset
Byte offset in filesystem from which to begin searching for free blocks to discard. Default value is zero, starting at the begin-
ning of the filesystem.
-l, --length length
Number of bytes after starting point to search for free blocks to discard. If the specified value extends past the end of the
filesystem, fstrim will stop at the filesystem size boundary. Default value extends to the end of the filesystem.
-m, --minimum minimum-free-extent
Minimum contiguous free range to discard, in bytes. (This value is internally rounded up to a multiple of the filesystem block
size). Free ranges smaller than this will be ignored. By increasing this value, the fstrim operation will complete more quickly
for filesystems with badly fragmented freespace, although not all blocks will be discarded. Default value is zero, discard every
free block.
-v, --verbose
Verbose execution. When specified fstrim will output the number of bytes passed from the filesystem down the block stack to the
device for potential discard. This number is a maximum discard amount from the storage device's perspective, because FITRIM ioctl
called repeated will keep sending the same sectors for discard repeatedly.
fstrim will report the same potential discard bytes each time, but only sectors which had been written to between the discards would
actually be discarded by the storage device. Further, the kernel block layer reserves the right to adjust the discard ranges to fit
raid stripe geometry, non-trim capable devices in a LVM setup, etc. These reductions would not be reflected in fstrim_range.len
(the --length option).
AUTHOR
Lukas Czerner <lczerner@redhat.com>
Karel Zak <kzak@redhat.com>
SEE ALSO
mount(8)
AVAILABILITY
The fstrim command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux November 2010 FSTRIM(8)