If you wish to use an SSD, you should ideally enable TRIM on it to get the maximum life and speed out of it.
If it's formatted as ext4 (which it will be if openViX has formatted it) you can use the command
Code:
sudo tune2fs -o discard /dev/sda1
(where /dev/sda1 is your ext4 partition) to mark the partition to be mounted with the discard option, which will mean that TRIM happens automatically as allocation blocks are freed.
This should cause no problem with newer SSDs, but with older types it might slow things down too much.
You can use
Code:
sudo tune2fs -o -discard /dev/sda1
to remove the option if it causes any problems.
I think tune2fs is included in the OpenViX image by default but if I'm wrong you can install it using
Code:
opkg install e2fsprogs
If you are reformatting an old SSD to use in your OpenViX box you should manually trim it after formatting it as ext4. Use
Code:
fstrim -v /media/hdd
where /media/hdd is the mount point of your ext4 partition.
If you have problems with using discard to TRIM "as you go" you can do fstrim at intervals instead, either manually or automatically.
I guess a cron job would be as good as anything to automate this, I don't know if there is any other way built in to the Linux in OpenViX.