Categories
Knowledge Support Cloudvue Cloudvue Gateway Support Categories

Troubleshooting 100% Smartvue Partition Disk Space Usage

Description 

The Disk Space Use% for the partition mounted as /smartvue should not reach 100%.  If it does odd behavior too include loss of live or recorded video may occur.  Further troubleshooting should help decide if the issue is related to a failed or failing hard drive or a corrupted database.

Product 

  • Cloudvue Gateway

Steps to Reproduce 

  • Access the Cloudvue Gateway via Cloudvue Manager
  • Expand Disk Space
  • Check the Use% for the partition Mounted on /smartvue

Expected Results 

smartvue Use% should be less than 100%

Actual Results 

smartvue Use% is 100%

Solution

Escalate to L3 for further troubleshooting or to setup a repair RMA. 

Troubleshooting

Attempt to gain SSH access to the NVR either by tunneling or arranging a remote session for local ssh access.  Review the syslogs to see if they give any clues.

Checking  syslog for errors

$ cd /var/log/

$ ls -alh syslog*

-rw-r—– 1 syslog adm 1.5K Aug 1 08:05 syslog

-rw-r—– 1 syslog adm 6.7K Aug 1 06:25 syslog.1

-rw-r—– 1 syslog adm 1004 Jul 31 06:25 syslog.2.gz

-rw-r—– 1 syslog adm 40K Jul 30 06:25 syslog.3.gz

-rw-r—– 1 syslog adm 781 Jul 28 06:25 syslog.4.gz

-rw-r—– 1 syslog adm 610 Jul 27 06:25 syslog.5.gz

-rw-r—– 1 syslog adm 898 Jul 26 06:25 syslog.6.gz

-rw-r—– 1 syslog adm 545 Jul 25 06:25 syslog.7.gz

$ grep -i “error” syslog*

$ zgrep -i “error” syslog*

Checking MySQL error logs

$ cd /var/log/mysql/

$ ls -alh

total 36K

drwxr-s— 2 mysql adm 4.0K Aug 8 06:25 .

drwxrwxr-x 11 root syslog 4.0K Aug 8 06:25 ..

-rw-r—– 1 mysql adm 0 Aug 8 06:25 error.log

-rw-r—– 1 mysql adm 20 Aug 7 06:25 error.log.1.gz

-rw-r—– 1 mysql adm 20 Aug 6 06:25 error.log.2.gz

-rw-r—– 1 mysql adm 676 Aug 6 00:01 error.log.3.gz

-rw-r—– 1 mysql adm 20 Aug 4 06:25 error.log.4.gz

-rw-r—– 1 mysql adm 20 Aug 3 06:25 error.log.5.gz

-rw-r—– 1 mysql adm 20 Aug 2 06:25 error.log.6.gz

-rw-r—– 1 mysql adm 20 Aug 1 06:25 error.log.7.gz

$ cat error.log

Hard Drive Failure

Check the sylog files in /var/log for entries similar to: 

Jul 27 22:40:30 SMV-K2 kernel: [1763274.568932] ata1.00: error: { UNC }

Jul 27 22:40:30 SMV-K2 kernel: [1763274.778400] sd 0:0:0:0: [sda] tag#1 Sense Key : Medium Error [current] [descriptor]

Jul 27 22:40:30 SMV-K2 kernel: [1763274.778403] sd 0:0:0:0: [sda] tag#1 Add. Sense: Unrecovered read error – auto reallocate failed

Jul 27 22:40:30 SMV-K2 kernel: [1763274.778408] blk_update_request: I/O error, dev sda, sector 3625797376

Jul 27 22:40:30 SMV-K2 kernel: [1763274.838298] res 41/40:08:00:47:1d/00:00:d8:00:00/00 Emask 0x409 (media error) <F>

Database Corruption

Look in the syslog files in /var/log for something similar to

Jul 13 07:17:32 SMV-K1 /etc/init.d/mysql[18996]: error: ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)’

Also check the /var/log/mysql/error.log for entries simalr to:

230713 13:17:39 [ERROR] mysqld got signal 6 ;

Cloudvue Warranty

Cloudvue Gateway and C2C cameras have a 3-year warranty.  Check the build date in Cloudvue Manager to figure out if a repair RMA is In or Out of Warranty.