Skip to content

Instantly share code, notes, and snippets.

@aguimaraes
Created February 5, 2015 03:04
Show Gist options
  • Select an option

  • Save aguimaraes/281312b55b96cda2a121 to your computer and use it in GitHub Desktop.

Select an option

Save aguimaraes/281312b55b96cda2a121 to your computer and use it in GitHub Desktop.
[root@ip-172-31-20-186 storage]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 7.8G 3.2G 4.5G 42% /
devtmpfs 491M 64K 491M 1% /dev
tmpfs 499M 0 499M 0% /dev/shm
/dev/xvdf 4.8G 1.1G 3.5G 23% /storage/st1
/dev/xvdg 17G 3.2G 13G 20% /storage/st2
[root@ip-172-31-20-186 storage]# df -ih
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/xvda1 512K 120K 393K 24% /
devtmpfs 123K 473 123K 1% /dev
tmpfs 125K 1 125K 1% /dev/shm
/dev/xvdf 320K 52K 269K 17% /storage/st1
/dev/xvdg 1.1M 589K 500K 55% /storage/st2
/storage/st1
|__ logos e dactes (arquivos maiores)
/storage/st2
|__ xmls (cte, income, mdfe, arquivos menores e maior quantidade)
[root@ip-172-31-20-186 storage]# ls -lh
total 0
lrwxrwxrwx 1 root www 16 Feb 5 00:58 cte -> /storage/st2/cte
lrwxrwxrwx 1 root www 18 Feb 5 00:59 dacte -> /storage/st1/dacte
lrwxrwxrwx 1 root www 19 Feb 5 00:59 income -> /storage/st2/income
lrwxrwxrwx 1 root www 18 Feb 5 00:59 logos -> /storage/st1/logos
lrwxrwxrwx 1 root www 17 Feb 5 00:59 mdfe -> /storage/st2/mdfe
lrwxrwxrwx 1 root www 17 Feb 5 00:59 nfes -> /storage/st2/nfes
Fiz links simbólicos no /web/s1mp.net/www/storage para que as coisas que estão com o caminho colocado na mão (caso do print e do xml action do controller cte) não falhem.
Tudo em paz, aparentemente.
Sistema recuperado.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment