paul- wrote: 
> sg3_utils.tcz is uploaded to the repo.
> busybox does have lsusb command, but its limited in output.  You can get
> the USB identifiers from dmesg.....or you can download the full bloated
> usbutils.tcz extension.
> I did not build lsscsi, as more than likely you only have one device
> listed, and that info is not even needed for the udev rule.
> 
> Neither of these you will need long term, so you can just download them,
> and load them when you want.
> 
> For those that didn't know
> "tce-load -wi sg3_utils.tcz"  - Will download, install and put this in
> your onboot.lst, so it is automatically loaded every time
> "tce-load -w sg3_utils.tcz"  -  Will just download the extension and
> dependancies....not do anything more
> "tce-load -i sg3_utils.tcz"   - Will install a previously downloaded
> extension, but does not add to onboot.lst.
> 
> 
> I would recommend this process.
> 1 - Figure out your settings from the instructions.
> 2 - Create the udev rule anywhere on your system.
> 3 - In the file /opt/bootlocal.sh  (Before pCP starts), copy the rule
> from where ever you saved it to /etc/udev/rules.d
> 4 - Reload the udev rules and trigger udev.
> 5 - Create a script to run after pCP starts to run the initial fstrim
> operation, since the unmap data is only maintained in the kernel.
> 6 - Run your periodic fstrim via a cron script.
> 
> Here is my bootlocal....
> > 
Code:
--------------------
  >   > 
  > cp /opt/80-samsung-t5.rules /etc/udev/rules.d/
  > udevadm control --reload-rules
  > udevadm trigger
  > 
--------------------
> > 
> 
> > 
Code:
--------------------
  >   > 
  > fstrim -v /mnt/mountpoint > /var/log/pcp_trim.log
  > 
--------------------
> > 

Excellent - thanks Paul, that's a really useful post.  I've received
word that my M2 SSD and the Argon One adapter/tray will arrive today, so
I'm looking forward to having a play.  In the meantime I'm going to try
this out on my existing SATA SSD.


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113575

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to