Re: /usr 100%

2019-08-25 Thread David Wright
On Sun 25 Aug 2019 at 10:54:45 (+0200), Pascal Hambourg wrote: > Le 25/08/2019 à 10:06, Hadi Motamedi a écrit : > > On 8/25/19, der.hans wrote: > > > > > > du -sh /usr/* > > > > > > That will show you disk usage per directory in /usr/. > > My preferred command is > > du -hxd1 /usr | sort -h >

Re: /usr 100%

2019-08-25 Thread root
Hi, if your /usr is full, you can do this: 1. Add a fresh harrdrive into your computer, format it ext2, 3 or 4, 2. mount it to some dir like /disk1 3. Then rsync all files from /usr to /disk1 4. edit /etc/fstab, so that the new harddrive is mounted to /usr 5. remount all, or reboot 6. You c

Re: /usr 100%

2019-08-25 Thread Pascal Hambourg
Le 25/08/2019 à 10:06, Hadi Motamedi a écrit : On 8/25/19, der.hans wrote: du -sh /usr/* That will show you disk usage per directory in /usr/. My preferred command is du -hxd1 /usr | sort -h - ignores other filesystem (e.g. if you mounted something on /usr/local) - does not ignore "dot" f

Re: /usr 100%

2019-08-25 Thread Hadi Motamedi
On 8/25/19, der.hans wrote: > Am 25. Aug, 2019 schwätzte Hadi Motamedi so: > > moin moin Hadi, > > du -sh /usr/* > > That will show you disk usage per directory in /usr/. > > You can then investigate the directories using lots of space. > > You might also verify you don't have a bunch of deleted f

Re: /usr 100%

2019-08-25 Thread der.hans
Am 25. Aug, 2019 schwätzte Hadi Motamedi so: moin moin Hadi, du -sh /usr/* That will show you disk usage per directory in /usr/. You can then investigate the directories using lots of space. You might also verify you don't have a bunch of deleted files that haven't yet been removed from the d

/usr 100%

2019-08-25 Thread Hadi Motamedi
Dear All On my server , the "df -m" shows /usr as 100% occupied . How can I find big size files on it to delete someone to free more space ? Thank you