Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

casaos only uses 10% of disk space #2037

Open
plaui228 opened this issue Oct 23, 2024 · 2 comments
Open

casaos only uses 10% of disk space #2037

plaui228 opened this issue Oct 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@plaui228
Copy link

plaui228 commented Oct 23, 2024

Describe the bug

hey! as you can see on my system info it says that i have 1tb of storage but in the UI it says in the storage widget that my disk is only like 97.87 gb and under the disks setting it says that i have a 1 tb drive but i can't see it anywhere else and unfortunately i cant use it too

To Reproduce

Steps to reproduce the behavior:

just log into casaos and see the error

Expected behavior

an ability to access my whole drive

Screenshots

image

image

image

Desktop (please complete the following information):

  • OS: linux
  • CasaOS Version: 0.4.13
  • Disk Total: 100220
  • Disk Used: 9428
  • System Info: [Ubuntu 24.04.1 LTS \l Bit:64 Mem:3823M Core:4 Linux gruserv 6.8.0-47-generic Podman support? #47-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 21:40:26 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux ]
  • Remote Version: 0.4.13
  • Browser: Firefox
  • Version: 131.0

System Time

Run timedatectl and share the output

Local time: Wed 2024-10-23 16:37:01 UTC
           Universal time: Wed 2024-10-23 16:37:01 UTC
                 RTC time: Wed 2024-10-23 16:37:01
                Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

Logs

Run following command to collect corresponding logs:

Oct 23 15:56:17 gruserv casaos-local-storage[1246]: 2024-10-23T15:56:17.005Z        error        failed to send notify        {"message": {"sys_disk":{"size":105089261568,"avail":92005150720,"health":true,"used":7698624512}}, "error": "Post \"http://127.0.0.1:45827/v1/notify/system_status\": dial tcp 127.0.0.1:45827: connect: connection refused", "func": "main.sendDiskBySocket", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/misc.go", "line": 84}
Oct 23 15:56:17 gruserv casaos-local-storage[1246]: 2024-10-23T15:56:17.020Z        error        failed to send notify        {"message": {"sys_usb":[]}, "error": "Post \"http://127.0.0.1:45827/v1/notify/system_status\": dial tcp 127.0.0.1:45827: connect: connection refused", "func": "main.sendUSBBySocket", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/misc.go", "line": 94}
Oct 23 15:56:22 gruserv casaos-local-storage[1246]: 2024-10-23T15:56:22.005Z        error        failed to send notify        {"message": {"sys_disk":{"size":105089261568,"avail":92005150720,"health":true,"used":7698624512}}, "error": "Post \"http://127.0.0.1:45827/v1/notify/system_status\": dial tcp 127.0.0.1:45827: connect: connection refused", "func": "main.sendDiskBySocket", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/misc.go", "line": 84}
Oct 23 15:56:22 gruserv casaos-local-storage[1246]: 2024-10-23T15:56:22.019Z        error        failed to send notify        {"message": {"sys_usb":[]}, "error": "Post \"http://127.0.0.1:45827/v1/notify/system_status\": dial tcp 127.0.0.1:45827: connect: connection refused", "func": "main.sendUSBBySocket", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/misc.go", "line": 94}
Oct 23 15:56:27 gruserv casaos-local-storage[1246]: 2024-10-23T15:56:27.001Z        error        failed to send notify        {"message": {"sys_disk":{"size":105089261568,"avail":92005146624,"health":true,"used":7698628608}}, "error": "Post \"http://127.0.0.1:45827/v1/notify/system_status\": dial tcp 127.0.0.1:45827: connect: connection refused", "func": "main.sendDiskBySocket", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/misc.go", "line": 84}
Oct 23 15:56:27 gruserv casaos-local-storage[1246]: 2024-10-23T15:56:27.016Z        error        failed to send notify        {"message": {"sys_usb":[]}, "error": "Post \"http://127.0.0.1:45827/v1/notify/system_status\": dial tcp 127.0.0.1:45827: connect: connection refused", "func": "main.sendUSBBySocket", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/misc.go", "line": 94}
Oct 23 16:00:02 gruserv casaos-local-storage[1246]: /usr/sbin/smartctl -a -n standby /dev/sr0 -j
Oct 23 16:00:02 gruserv casaos-local-storage[1246]: {
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:   "json_format_version": [
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     1,
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     0
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:   ],
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:   "smartctl": {
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     "version": [
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:       7,
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:       4
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     ],
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     "pre_release": false,
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     "svn_revision": "5530",
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     "platform_info": "x86_64-linux-6.8.0-47-generic",
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     "build_info": "(local build)",
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     "argv": [
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:       "smartctl",
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:       "-a",
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:       "-n",
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:       "standby",
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:       "/dev/sr0",
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:       "-j"
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     ],
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     "exit_status": 2
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:   },
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:   "local_time": {
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     "time_t": 1729699202,
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     "asctime": "Wed Oct 23 16:00:02 2024 UTC"
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:   },
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:   "device": {
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     "name": "/dev/sr0",
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     "info_name": "/dev/sr0",
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     "type": "scsi",
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     "protocol": "SCSI"
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:   },
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:   "scsi_vendor": "MATSHITA",
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:   "scsi_product": "DVD-RAM UJ8A0ASW",
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:   "scsi_model_name": "MATSHITA DVD-RAM UJ8A0ASW",
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:   "scsi_revision": "1.01",
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:   "scsi_version": "SPC-3",
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:   "device_type": {
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     "scsi_terminology": "Peripheral Device Type [PDT]",
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     "scsi_value": 5,
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:     "name": "CD/DVD"
Oct 23 16:00:02 gruserv casaos-local-storage[1246]:   }
Oct 23 16:00:02 gruserv casaos-local-storage[1246]: }
Oct 23 16:00:02 gruserv casaos-local-storage[1246]: 2024-10-23T16:00:02.247Z        error        failed to exec shell - smartctl exec error        {"func": "service.(*diskService).SmartCTL", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/service/disk.go", "line": 149}
Oct 23 16:10:07 gruserv casaos-local-storage[1246]: /usr/sbin/smartctl -a -n standby /dev/sr0 -j
Oct 23 16:10:07 gruserv casaos-local-storage[1246]: {
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:   "json_format_version": [
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     1,
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     0
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:   ],
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:   "smartctl": {
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     "version": [
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:       7,
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:       4
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     ],
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     "pre_release": false,
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     "svn_revision": "5530",
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     "platform_info": "x86_64-linux-6.8.0-47-generic",
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     "build_info": "(local build)",
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     "argv": [
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:       "smartctl",
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:       "-a",
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:       "-n",
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:       "standby",
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:       "/dev/sr0",
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:       "-j"
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     ],
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     "exit_status": 2
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:   },
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:   "local_time": {
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     "time_t": 1729699807,
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     "asctime": "Wed Oct 23 16:10:07 2024 UTC"
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:   },
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:   "device": {
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     "name": "/dev/sr0",
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     "info_name": "/dev/sr0",
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     "type": "scsi",
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     "protocol": "SCSI"
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:   },
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:   "scsi_vendor": "MATSHITA",
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:   "scsi_product": "DVD-RAM UJ8A0ASW",
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:   "scsi_model_name": "MATSHITA DVD-RAM UJ8A0ASW",
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:   "scsi_revision": "1.01",
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:   "scsi_version": "SPC-3",
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:   "device_type": {
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     "scsi_terminology": "Peripheral Device Type [PDT]",
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     "scsi_value": 5,
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:     "name": "CD/DVD"
Oct 23 16:10:07 gruserv casaos-local-storage[1246]:   }
Oct 23 16:10:07 gruserv casaos-local-storage[1246]: }
Oct 23 16:10:07 gruserv casaos-local-storage[1246]: 2024-10-23T16:10:07.120Z        error        failed to exec shell - smartctl exec error        {"func": "service.(*diskService).SmartCTL", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/service/disk.go", "line": 149}
Oct 23 16:20:12 gruserv casaos-local-storage[1246]: /usr/sbin/smartctl -a -n standby /dev/sr0 -j
Oct 23 16:20:12 gruserv casaos-local-storage[1246]: {
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:   "json_format_version": [
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     1,
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     0
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:   ],
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:   "smartctl": {
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     "version": [
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:       7,
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:       4
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     ],
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     "pre_release": false,
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     "svn_revision": "5530",
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     "platform_info": "x86_64-linux-6.8.0-47-generic",
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     "build_info": "(local build)",
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     "argv": [
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:       "smartctl",
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:       "-a",
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:       "-n",
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:       "standby",
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:       "/dev/sr0",
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:       "-j"
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     ],
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     "exit_status": 2
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:   },
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:   "local_time": {
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     "time_t": 1729700412,
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     "asctime": "Wed Oct 23 16:20:12 2024 UTC"
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:   },
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:   "device": {
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     "name": "/dev/sr0",
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     "info_name": "/dev/sr0",
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     "type": "scsi",
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     "protocol": "SCSI"
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:   },
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:   "scsi_vendor": "MATSHITA",
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:   "scsi_product": "DVD-RAM UJ8A0ASW",
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:   "scsi_model_name": "MATSHITA DVD-RAM UJ8A0ASW",
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:   "scsi_revision": "1.01",
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:   "scsi_version": "SPC-3",
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:   "device_type": {
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     "scsi_terminology": "Peripheral Device Type [PDT]",
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     "scsi_value": 5,
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:     "name": "CD/DVD"
Oct 23 16:20:12 gruserv casaos-local-storage[1246]:   }
Oct 23 16:20:12 gruserv casaos-local-storage[1246]: }
Oct 23 16:20:12 gruserv casaos-local-storage[1246]: 2024-10-23T16:20:12.124Z        error        failed to exec shell - smartctl exec error        {"func": "service.(*diskService).SmartCTL", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/service/disk.go", "line": 149}
Oct 23 16:21:40 gruserv casaos-local-storage[1246]: {"time":"2024-10-23T16:21:40.559969209Z","id":"","remote_ip":"192.168.50.17","host":"192.168.50.128","method":"GET","uri":"/v2/local_storage/merge","user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0","status":503,"error":"","latency":3046137,"latency_human":"3.046137ms","bytes_in":0,"bytes_out":159}
Oct 23 16:28:06 gruserv casaos-local-storage[1246]: {"time":"2024-10-23T16:28:06.476540931Z","id":"","remote_ip":"192.168.50.17","host":"192.168.50.128","method":"GET","uri":"/v2/local_storage/merge","user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0","status":503,"error":"","latency":2822592,"latency_human":"2.822592ms","bytes_in":0,"bytes_out":159}
Oct 23 16:28:14 gruserv casaos-local-storage[1246]: {"time":"2024-10-23T16:28:14.56399922Z","id":"","remote_ip":"192.168.50.17","host":"192.168.50.128","method":"GET","uri":"/v2/local_storage/merge","user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0","status":503,"error":"","latency":999486,"latency_human":"999.486µs","bytes_in":0,"bytes_out":159}
Oct 23 16:30:17 gruserv casaos-local-storage[1246]: /usr/sbin/smartctl -a -n standby /dev/sr0 -j
Oct 23 16:30:17 gruserv casaos-local-storage[1246]: {
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:   "json_format_version": [
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     1,
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     0
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:   ],
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:   "smartctl": {
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     "version": [
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:       7,
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:       4
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     ],
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     "pre_release": false,
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     "svn_revision": "5530",
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     "platform_info": "x86_64-linux-6.8.0-47-generic",
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     "build_info": "(local build)",
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     "argv": [
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:       "smartctl",
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:       "-a",
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:       "-n",
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:       "standby",
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:       "/dev/sr0",
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:       "-j"
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     ],
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     "exit_status": 2
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:   },
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:   "local_time": {
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     "time_t": 1729701017,
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     "asctime": "Wed Oct 23 16:30:17 2024 UTC"
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:   },
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:   "device": {
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     "name": "/dev/sr0",
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     "info_name": "/dev/sr0",
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     "type": "scsi",
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     "protocol": "SCSI"
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:   },
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:   "scsi_vendor": "MATSHITA",
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:   "scsi_product": "DVD-RAM UJ8A0ASW",
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:   "scsi_model_name": "MATSHITA DVD-RAM UJ8A0ASW",
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:   "scsi_revision": "1.01",
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:   "scsi_version": "SPC-3",
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:   "device_type": {
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     "scsi_terminology": "Peripheral Device Type [PDT]",
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     "scsi_value": 5,
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:     "name": "CD/DVD"
Oct 23 16:30:17 gruserv casaos-local-storage[1246]:   }
Oct 23 16:30:17 gruserv casaos-local-storage[1246]: }
Oct 23 16:30:17 gruserv casaos-local-storage[1246]: 2024-10-23T16:30:17.122Z        error        failed to exec shell - smartctl exec error        {"func": "service.(*diskService).SmartCTL", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/service/disk.go", "line": 149}
Oct 23 16:33:22 gruserv casaos-local-storage[1246]: {"time":"2024-10-23T16:33:22.203128312Z","id":"","remote_ip":"192.168.50.17","host":"192.168.50.128","method":"GET","uri":"/v2/local_storage/merge","user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0","status":503,"error":"","latency":3006213,"latency_human":"3.006213ms","bytes_in":0,"bytes_out":159}
Oct 23 16:35:57 gruserv casaos-local-storage[1246]: 2024-10-23T16:35:57.006Z        error        failed to send notify        {"message": {"sys_disk":{"size":105089261568,"avail":89816854528,"health":true,"used":9886920704}}, "error": "Post \"http://127.0.0.1:41935/v1/notify/system_status\": dial tcp 127.0.0.1:41935: connect: connection refused", "func": "main.sendDiskBySocket", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/misc.go", "line": 84}
Oct 23 16:35:57 gruserv casaos-local-storage[1246]: 2024-10-23T16:35:57.021Z        error        failed to send notify        {"message": {"sys_usb":[]}, "error": "Post \"http://127.0.0.1:41935/v1/notify/system_status\": dial tcp 127.0.0.1:41935: connect: connection refused", "func": "main.sendUSBBySocket", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/misc.go", "line": 94}

Additional context

@plaui228 plaui228 added the bug Something isn't working label Oct 23, 2024
@plaui228 plaui228 changed the title [Issue] casaos only uses 10% of disk space casaos only uses 10% of disk space Oct 23, 2024
@xDiogow
Copy link

xDiogow commented Nov 13, 2024

Make sure you are using your whole disk by doing sudo lsblk.

@dragonfire1119
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants
@dragonfire1119 @xDiogow @plaui228 and others