Page 1 of 1

starwindX and LSFS

Posted: Wed Dec 20, 2017 1:06 pm
by eworm
hi there!

how i can obtine information about LSFS target fragmentation level and run defragmentation process with powershell?
thank you!

Re: starwindX and LSFS

Posted: Thu Dec 21, 2017 5:48 pm
by Boris (staff)
1. Device property DeviceFragmentedPercent will show you fragmentation.

2. To initiate defragmentation, you can try the following:

Code: Select all

$params = new-object -ComObject StarWindX.Parameters        
$params.AppendParam("sendTo", $device.DeviceId + ' -ExecDefrag:"80"' )
$server.ExecuteCommand( 1, "", $params)

Re: starwindX and LSFS

Posted: Fri Dec 22, 2017 9:42 am
by eworm
thx for your reply.
one more , about lsfs.
we had lsfs 1.3 tb volume, ab 300gb used and 330 gb used with lsfs.
after migration to vpshere 6.5 we decided to change volume file system to vmfs 6 (space reclamation etc), so we recreated the volume(migrate VMs,delete,create vmfs6,migrate VMs).
after this process overall used storage space is about 724 Gb, vpshere showing us 290 gb of used space.
i expected decrising storage used space afer some time, but space has been decrised only on 1 gb or 2 ... is it normal?

Re: starwindX and LSFS

Posted: Fri Dec 22, 2017 3:18 pm
by Boris (staff)
Most likely, additional journals were created in LSFS. Such behavior and space consumption should be treated as normal.
Specifically, space requirements to LSFS devices are outlined in LSFS FAQ https://knowledgebase.starwindsoftware. ... -lsfs-faq/ (question 4).