SSD check partition and repair it




SRX
check ssd
root@SRX300-1-RL102% df
Filesystem             512-blocks    Used   Avail Capacity  Mounted on
/dev/da0s2a               5073484  788148 3879460    17%    /
devfs                           2       2       0   100%    /dev
/dev/md0                    40024   23136   13688    63%    /junos
/cf/packages              5073484  788148 3879460    17%    /junos/cf/packages
devfs                           2       2       0   100%    /junos/cf/dev
/dev/md1                  2723352 2723352       0   100%    /junos
/cf                         40024   23136   13688    63%    /junos/cf
devfs                           2       2       0   100%    /junos/dev/
/cf/packages              5073484  788148 3879460    17%    /junos/cf/packages1
procfs                          8       8       0   100%    /proc
/dev/bo0s3e                379104      52  348724     0%    /config
/dev/bo0s3f               4436852 1454696 2627208    36%    /cf/var
/dev/md2                  2112648  200364 1743276    10%    /mfs
/cf/var/jail              4436852 1454696 2627208    36%    /jail/var
/cf/var/jails/rest-api    4436852 1454696 2627208    36%    /web-api/var
/cf/var/log               4436852 1454696 2627208    36%    /jail/var/log
devfs                           2       2       0   100%    /jail/dev
/dev/md3                     3768       8    3460     0%    /jail/mfs


root@SRX300-1-RL102% fsck /dev/da0s2a
** /dev/da0s2a (NO WRITE)
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
171 files, 197037 used, 1071334 free (78 frags, 133907 blocks, 0.0% fragmentation)
root@SRX300-1-RL102%