ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Slava Dubrovskiy <slava@elan.com.ua>
To: community@altlinux.ru
Subject: Re: [Comm] Кто съел место на разделе /home?
Date: Thu, 21 Apr 2005 12:27:15 +0300
Message-ID: <426771F3.7020906@elan.com.ua> (raw)
In-Reply-To: <42676E40.808@rambler.ru>

Olvin пишет:

>> Вот и пришел тот момент, когда место на диске закончилось (диск model:
>> ATA ST3120026AS 3.18). Пытаюсь понять кто занял.
>> Сначала хочу посмореть общее количество
>> $ df
>> Файловая система      Разм  Исп  Дост  Исп% смонтирована на
>> /dev/sda1              12G  6,1G  4,4G  58% /
>> /dev/sda6              99G   87G  7,7G  92% /home
>> udev                  5,0M  2,8M  2,3M  56% /dev
>> shmfs                 252M     0  252M   0% /dev/shm
>>
>> Вижу, что на /home использовано 87G
>> Хочу посмотреть сколько в какой папке лежит
>> $cd /home
>> $du -hx --max-depth=2
>> 42M     ./slava/1с
>
===skip===

>>
>> 38G     ./slava
>> 38G     .
>> И вижу, что всего 38G использовано. И это реально. Как узнать, куда
>> место девалось?
>
>
> Сделай du -s /home/* Тогда будет легче разбираться. Оно не будет
> выводить инфу по всем подкаталогам.

Оно и не выводит (--max-depth=2)

> Кроме того, есть вероятность, что в памяти висит процесс, который
> создал временный файл, удалил запись о нём в каталоге, не освободил
> дескриптор, следовательно, файл есть на диске, ему соответствует некий
> inode и файл занимает место.

А как это проверить?

-- 
С уважением,
Дубровский Вячеслав.



  parent reply	other threads:[~2005-04-21  9:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-21  8:48 Slava Dubrovskiy
2005-04-21  9:11 ` Olvin
2005-04-21  9:19   ` Nick S. Grechukh
2005-04-21  9:27   ` Slava Dubrovskiy [this message]
2005-04-21 11:21     ` Pavel S. Khmelinsky
2005-04-21 12:23       ` Slava Dubrovskiy
2005-04-21 12:28         ` Michael Isachenkov
2005-04-21 13:14           ` Slava Dubrovskiy
2005-04-21 13:20             ` Michael Isachenkov
2005-04-21 13:30               ` Slava Dubrovskiy
2005-04-22  8:03                 ` Andrey Rahmatullin
2005-04-21 11:31 ` Boldin Pavel
2005-04-21 12:25   ` Slava Dubrovskiy
2005-04-21 12:32     ` Michael Holzman
2005-04-21 12:39       ` Slava Dubrovskiy
2005-04-22  4:05         ` Mike Lykov
2005-04-22  6:08           ` Slava Dubrovskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=426771F3.7020906@elan.com.ua \
    --to=slava@elan.com.ua \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git