RPiMonitor external HDD size

Hi, I have a running Dietpi System on RPi3. I have installed RPiMonitor. However i am missing the size info of the attached external HDD that has a nfts file system. I have tried to edit the /etc/rpimontior/templates/storage.conf which by default shows fusblk to ntfs, but it does not work. How shall i get it work?
thank you

df -Th shows fuseblk…Modified again the storage.conf and now it works. Anyidea?

after reboot it fails again. The external HDD is mounted.

I used usb_hdd.conf and just changed sda1 to my external ntfs drive sdb1, and it works:

########################################################################
# Extract USB HDD (sda1) information
#  Page: 1
#  Information               Status     Statistics
#  - USBHDD1 total          - yes      - yes
#  - USBHDD1 used           - yes      - yes
########################################################################
static.10.name=usbhdd_total
static.10.source=df -m
static.10.regexp=^/dev/sdb1\s+(\d+)

dynamic.14.name=usbhdd_used
dynamic.14.source=df -m
dynamic.14.regexp=^/dev/sdb1\s+\d+\s+(\d+)
dynamic.14.rrd=GAUGE



web.status.1.content.9.name=USB HDD
web.status.1.content.9.icon=usb_hdd.png
web.status.1.content.9.line.1="<b>/sdb1</b> Used: <b>"+KMG(data.usbhdd_used,'M')+"</b> (<b>"+Percent(data.usbhdd_used,data.usbhdd_total,'M')+"</b>) Free: <b>"+KMG(data.usbhdd_total-data.usbhdd_used,'M')+ "</b> Total: <b>"+ KMG(data.usbhdd_total,'M') +"</b>"
web.status.1.content.9.line.2=ProgressBar(data.usbhdd_used,data.usbhdd_total)

web.statistics.1.content.9.name=USB HDD
web.statistics.1.content.9.graph.1=usbhdd_total
web.statistics.1.content.9.graph.2=usbhdd_used
web.statistics.1.content.9.ds_graph_options.usbhdd_total.label=USB HDD total space (MiB)
web.statistics.1.content.9.ds_graph_options.usbhdd_total.color="#FF7777"
web.statistics.1.content.9.ds_graph_options.usbhdd_used.label=USB HDD used space (MiB)
web.statistics.1.content.9.ds_graph_options.usbhdd_used.lines={ fill: true }
web.statistics.1.content.9.ds_graph_options.usbhdd_used.color="#7777FF"

edit: maybe you need to activate the usb_hdd.conf in your data.conf, I’m not sure if is enabled by default.

1 Like

Fuseblk is used to mount ntfs drives, this is perfectly fine. You just used the wrong config file / commands. (see post below)