starwindX and LSFS

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
eworm
Posts: 9
Joined: Fri Nov 03, 2017 3:32 pm

Wed Dec 20, 2017 1:06 pm

hi there!

how i can obtine information about LSFS target fragmentation level and run defragmentation process with powershell?
thank you!
Boris (staff)
Staff
Posts: 805
Joined: Fri Jul 28, 2017 8:18 am

Thu Dec 21, 2017 5:48 pm

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)
eworm
Posts: 9
Joined: Fri Nov 03, 2017 3:32 pm

Fri Dec 22, 2017 9:42 am

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?
Boris (staff)
Staff
Posts: 805
Joined: Fri Jul 28, 2017 8:18 am

Fri Dec 22, 2017 3:18 pm

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).
Post Reply