04-03-2017 08:29 PM
Not able to repair the media partions using XFS_repair commands can anyone help in this regard.
04-03-2017 08:37 PM
Hi Gaurav,
What is the error coming while accessing the media partitions from CLI? Please share the snapshot.
Thanks,
04-03-2017 08:40 PM
Media partitions unmounted and giving error structure need cleaning.
04-03-2017 08:43 PM
On which partitions is showing that error? Please share the below output.
1) df -h
2) df -TH
3) cat /proc/partitions
04-03-2017 08:59 PM
[root@cctvdhl /]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb1             7.9G  3.2G  4.4G  43% /
/dev/sdb3              32G  2.6G   28G   9% /var
/dev/sdb7              50G   22G   26G  46% /mysql/data
/dev/sdb5             7.9G  4.6G  3.0G  61% /usr/BWhttpd
/dev/sda1             146M   15M  123M  11% /boot
tmpfs                 7.9G     0  7.9G   0% /dev/shm
[root@cctvdhl /]# df -TH
Filesystem    Type     Size   Used  Avail Use% Mounted on
/dev/sdb1     ext3     8.5G   3.5G   4.7G  43% /
/dev/sdb3     ext3      34G   2.8G    30G   9% /var
/dev/sdb7     ext3      53G    23G    28G  46% /mysql/data
/dev/sdb5     ext3     8.5G   4.9G   3.2G  61% /usr/BWhttpd
/dev/sda1     ext3     153M    16M   129M  11% /boot
tmpfs        tmpfs     8.5G      0   8.5G   0% /dev/shm
[root@cctvdhl /]# cat /proc/partitions
major minor  #blocks  name
   8     0     153472 sda
   8     1     153471 sda1
   8    16  128079424 sdb
   8    17    8391680 sdb1
   8    18    8391680 sdb2
   8    19   33555456 sdb3
   8    20    8391680 sdb4
   8    21    8391680 sdb5
   8    22    8391680 sdb6
   8    23   52298752 sdb7
   8    24     255535 sdb8
   8    32 16048681792 sdc
   8    33 16048670511 sdc1
   8    48 16048681792 sdd
   8    49 16048670511 sdd1
04-07-2017 07:21 PM
no error should be reported
verify "/media2" is mounted
04-03-2017 09:03 PM
Hi Jayesh
But after mounting it shows below error message.
[root@cctvdhl /]# vscheck
Video Surveillance software
----------------------------------
  Cisco_SASD                    7.7.0-67
  Cisco_VSBase                  7.7.0-072d
  Cisco_VSMS                    7.7.0-072d
  Cisco_Tomcat                  7.0.55-3
  Cisco_VSTools                 7.7.0-072d
  Cisco_VSDrivers               7.7.0-072d
  Cisco_AMQBroker               7.7.0-2
  Cisco_VSOM                    7.7.0-97
  Cisco_VSRecorder              7.7.0-072d
  Cisco_VSMUpgrade              7.7.0-072d
  Cisco_CDAF                    7.7.0-97
  Cisco_MPClient                7.7.0-66
Network Configuration
----------------------------------
eth0:               d0:72:dc:a0:4d:6e   172.20.8.21/23
eth1:               d0:72:dc:a0:4d:6f
eth2:               d0:72:dc:a0:4d:70
eth3:               d0:72:dc:a0:4d:71
Name Server:        172.16.128.131 OK
root password age
----------------------------------
Last password change                                    : May 10, 2016
Password expires                                        : never
Password inactive                                       : never
Account expires                                         : never
Minimum number of days between password change          : 0
Maximum number of days between password change          : 99999
Number of days of warning before password expires       : 7
Video Surveillence Media Server
----------------------------------
MYSQL:              OK  version: 5.6.18
Fixing ownership on /usr/BWhttpd/conf
Fixing permissions on /usr/BWhttpd/conf
Java: 1.7.0_17      Symlink: OK
Media partitions
 /mediaN:     Writable  Perms      Size     Used    Avail   Device
 ------------------------------------------------------------------------
  /media1:    OK        OK          15T     7.6T     7.4T  /dev/sdc1
  /media2:    /usr/local/bin/vscheck: line 122: /media2/vscheck: Structure needs cleaning
cat: /media2/vscheck: No such file or directory
df: `/media2'
stat: cannot stat `/media2'
/usr/local/bin/vscheck: line 140: ((: >= 755 : syntax error: operand expected (error token is ">= 755 ")
          failed
Time Zone Config
-------------------------
ZONE="Asia/Kolkata"
UTC=false
ARC=false
Video Surveillance Operations Manager
----------------------------------
MYSQL:              OK  version: 5.6.18
----------------------------------
04-03-2017 09:10 PM
Is the /media1 and /media2 are both got unmounted with this?
And /sdd1 is used for /media2 partitions? Just check if the /media2 directory is available under "/" location.
04-03-2017 09:16 PM
No only media2 which is mounted on /dev/sdd1 giving error.
error screenshot is attached in below link.
https://www.dropbox.com/s/vdcrzexlv3hftfl/Screenshot%202017-04-04%2009.45.27.png?dl=0
04-03-2017 09:06 PM
Hi Jayseh,
Now its showing.
[root@cctvdhl /]# vscheck
Video Surveillance software
----------------------------------
 Cisco_SASD 7.7.0-67
 Cisco_VSBase 7.7.0-072d
 Cisco_VSMS 7.7.0-072d
 Cisco_Tomcat 7.0.55-3
 Cisco_VSTools 7.7.0-072d
 Cisco_VSDrivers 7.7.0-072d
 Cisco_AMQBroker 7.7.0-2
 Cisco_VSOM 7.7.0-97
 Cisco_VSRecorder 7.7.0-072d
 Cisco_VSMUpgrade 7.7.0-072d
 Cisco_CDAF 7.7.0-97
 Cisco_MPClient 7.7.0-66
Network Configuration
----------------------------------
eth0: d0:72:dc:a0:4d:6e 172.20.8.21/23
eth1: d0:72:dc:a0:4d:6f
eth2: d0:72:dc:a0:4d:70
eth3: d0:72:dc:a0:4d:71
Name Server: 172.16.128.131 OK
root password age
----------------------------------
Last password change : May 10, 2016
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
Video Surveillence Media Server
----------------------------------
MYSQL: OK version: 5.6.18
Fixing ownership on /usr/BWhttpd/conf
Fixing permissions on /usr/BWhttpd/conf
Java: 1.7.0_17 Symlink: OK
find: /media2
Media partitions
 /mediaN: Writable Perms Size Used Avail Device
 ------------------------------------------------------------------------
 /media1: OK OK 15T 7.6T 7.4T /dev/sdc1
 /media2: Mount entry found in /etc/fstab, but no directory exist for it
Time Zone Config
-------------------------
ZONE="Asia/Kolkata"
UTC=false
ARC=false
Video Surveillance Operations Manager
----------------------------------
MYSQL: OK version: 5.6.18
----------------------------------
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide