- What type of support thread are you creating?
- Support question
- What OpenViX Image build number are you using?
- 6.8.003
- Have you tried re-flashing WITHOUT settings restore?
- NO
- Have you tried re-flashing WITH a settings restore?
- NO
Hi All,
I have been running my SF8008 for some time now and have taken a look at my cron job for trimming the internal M.2 SSD and it seems not to be working. I have a similar script on an SSD on my Zgemms H7S with a SATA SSD and it works fine on that.
Given the amount of writes on the SF8008 SSD I would like to get this working but at my amateur look at the logs it looks like the M.2 internal SSD may be being mounted as a USB driveand this could be the cause.
I have attached the latest log for someone more knowlegable to take a look (please)...
My job runs a simple fstrim using the following:
55 10 * * 5 { printf "\%s: " "$(date "+\%F \%T")"; fstrim -v /media/hdd ; } >> /media/hdd/OctagonTrim.log
If I try to run the fstrim using putty I get:
fstrim: /media/hdd: the discard operation is not supported
The SSD is a Crucial P310 1TB SSD M.2 2280 NVMe PCIe Gen4, CT1000P310SSD801
If I do an lsblk -D I get:
NAME DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO
sdd 0 0B 0B 0
└─sdd1 0 0B 0B 0
a lsblk shows:
root@sf8008:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sdd 8:48 0 931.5G 0 disk
└─sdd1 8:49 0 931.5G 0 part /media/hdd
The enigma2 log shows:
22:28:48.4726 [Harddisk] Enumerating hotplug devices.
22:28:48.4740 [Harddisk][enumerateBlockDevices] Enumerating block devices...
22:28:48.4905 [Harddisk][getUserfriendlyDeviceName] device:sdd physicalDevice:/sys/devices/platform/soc/f9890000.ehci/usb1/1-1/1-1.4/1-1.4:1.0/host0/target0:0:0/0:0:0:0
22:28:48.4907 [Harddisk][splitDeviceName] devName = 'sdd', device = 'sdd', partition = '0'
22:28:48.4920 [Harddisk][enumerateBlockDevices] len partitions = 1, device = sdd
22:28:48.4921 [Harddisk][enumerateBlockDevices]2 Found storage device 'sdd' (Removable=False) Number of Partitions = 1.
22:28:48.4922 [Harddisk][enumerateBlockDevices]1 SystemInfo['HasUsbhdd']= {}
22:28:48.4933 [Harddisk][runCommand]: 'hdparm -S0 /dev/sdd'.
/dev/sdd:
setting standby to 0
(off)
hdparm: HDIO_DRIVE_CMD: Invalid argument
22:28:48.5263 [Harddisk][Init] Device 'sdd' (Internal (SSD) - JMicron (Generic)) -> '/dev/sdd' -> '/dev/sdd' (Start Idle).
22:28:48.5264 [Harddisk][getUserfriendlyDeviceName] device:sdd1 physicalDevice:/sys/devices/platform/soc/f9890000.ehci/usb1/1-1/1-1.4/1-1.4:1.0/host0/target0:0:0/0:0:0:0
22:28:48.5265 [Harddisk][splitDeviceName] devName = 'sdd1', device = 'sdd', partition = '1'
22:28:48.5277 [Harddisk][enumerateBlockDevices]### Found partition 'sdd1', description='Generic (Partition 1)', device='/sys/devices/platform/soc/f9890000.ehci/usb1/1-1/1-1.4/1-1.4:1.0/host0/target0:0:0/0:0:0:0' mountpoint=/media/hdd/.
22:28:48.5284 [Harddisk][enumerateBlockDevices]### MTDBLACK:sdd1
22:28:48.5291 [Harddisk][enumerateBlockDevices] Enumerating block devices complete.
I have been running my SF8008 for some time now and have taken a look at my cron job for trimming the internal M.2 SSD and it seems not to be working. I have a similar script on an SSD on my Zgemms H7S with a SATA SSD and it works fine on that.
Given the amount of writes on the SF8008 SSD I would like to get this working but at my amateur look at the logs it looks like the M.2 internal SSD may be being mounted as a USB driveand this could be the cause.
I have attached the latest log for someone more knowlegable to take a look (please)...
My job runs a simple fstrim using the following:
55 10 * * 5 { printf "\%s: " "$(date "+\%F \%T")"; fstrim -v /media/hdd ; } >> /media/hdd/OctagonTrim.log
If I try to run the fstrim using putty I get:
fstrim: /media/hdd: the discard operation is not supported
The SSD is a Crucial P310 1TB SSD M.2 2280 NVMe PCIe Gen4, CT1000P310SSD801
If I do an lsblk -D I get:
NAME DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO
sdd 0 0B 0B 0
└─sdd1 0 0B 0B 0
a lsblk shows:
root@sf8008:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sdd 8:48 0 931.5G 0 disk
└─sdd1 8:49 0 931.5G 0 part /media/hdd
The enigma2 log shows:
22:28:48.4726 [Harddisk] Enumerating hotplug devices.
22:28:48.4740 [Harddisk][enumerateBlockDevices] Enumerating block devices...
22:28:48.4905 [Harddisk][getUserfriendlyDeviceName] device:sdd physicalDevice:/sys/devices/platform/soc/f9890000.ehci/usb1/1-1/1-1.4/1-1.4:1.0/host0/target0:0:0/0:0:0:0
22:28:48.4907 [Harddisk][splitDeviceName] devName = 'sdd', device = 'sdd', partition = '0'
22:28:48.4920 [Harddisk][enumerateBlockDevices] len partitions = 1, device = sdd
22:28:48.4921 [Harddisk][enumerateBlockDevices]2 Found storage device 'sdd' (Removable=False) Number of Partitions = 1.
22:28:48.4922 [Harddisk][enumerateBlockDevices]1 SystemInfo['HasUsbhdd']= {}
22:28:48.4933 [Harddisk][runCommand]: 'hdparm -S0 /dev/sdd'.
/dev/sdd:
setting standby to 0
(off)
hdparm: HDIO_DRIVE_CMD: Invalid argument
22:28:48.5263 [Harddisk][Init] Device 'sdd' (Internal (SSD) - JMicron (Generic)) -> '/dev/sdd' -> '/dev/sdd' (Start Idle).
22:28:48.5264 [Harddisk][getUserfriendlyDeviceName] device:sdd1 physicalDevice:/sys/devices/platform/soc/f9890000.ehci/usb1/1-1/1-1.4/1-1.4:1.0/host0/target0:0:0/0:0:0:0
22:28:48.5265 [Harddisk][splitDeviceName] devName = 'sdd1', device = 'sdd', partition = '1'
22:28:48.5277 [Harddisk][enumerateBlockDevices]### Found partition 'sdd1', description='Generic (Partition 1)', device='/sys/devices/platform/soc/f9890000.ehci/usb1/1-1/1-1.4/1-1.4:1.0/host0/target0:0:0/0:0:0:0' mountpoint=/media/hdd/.
22:28:48.5284 [Harddisk][enumerateBlockDevices]### MTDBLACK:sdd1
22:28:48.5291 [Harddisk][enumerateBlockDevices] Enumerating block devices complete.

