* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 16:02 [Comm] Места для корневого раздела мало в Desktop 4 Yuri Ilyin
@ 2007-11-25 16:27 ` Владимир Черный
2007-11-25 17:39 ` frozen penguin
2007-11-25 19:32 ` Yuri Ilyin
2007-11-25 16:29 ` Хихин Руслан
` (3 subsequent siblings)
4 siblings, 2 replies; 37+ messages in thread
From: Владимир Черный @ 2007-11-25 16:27 UTC (permalink / raw)
To: ALT Linux Community general discussions
25.11.07, Yuri Ilyin<yuri.ilyin@gmail.com> написал(а):
> Используя разделы Alt Linux Compact 3, поставил Alt Linux Desktop 4.
> Выяснилось, что места в 3 ГБ для корневого раздела теперь мало
> (столько делала программа установки Alt Linux Compact 3 ранее), а я и
> половины пакетов не поставил, которые хотел.
>
> Как бы места ему добавить?
> Т.е. мне нужно уменьшить /home и увеличить /
> Или переставлять Alt Linux Desktop 4?
>
> что посоветуете?
Решал сравнительно недавно похожую проблемку, причем диск разбит на 4
праймари и как-то переразбить уже не получается...
Выход есть: где больше всего объем установленных программ? /usr - вот
этот каталог надо скопировать в другой раздел диска, где место есть а
вместо реального каталога поставить линк - выигрыш порядка 2 гб
Кроме того, если в корневом разделе /var весь - почистите кэш апта -
место появится - ну и /var или /var/tmp можно куда-то снести...
>
> C уважением Юрий.
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
--
С уважением,
Владимир Черный
Начальник отдела образовательных проектов ALT Linux
mailto: black at altlinux.ru
Jabber: black at altlinux.org
ICQ: 199158712
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 16:27 ` Владимир Черный
@ 2007-11-25 17:39 ` frozen penguin
2007-11-25 18:09 ` Sergey
2007-11-25 19:32 ` Yuri Ilyin
1 sibling, 1 reply; 37+ messages in thread
From: frozen penguin @ 2007-11-25 17:39 UTC (permalink / raw)
To: ALT Linux Community general discussions
Владимир Черный пишет:
> Выход есть: где больше всего объем установленных программ? /usr - вот
> этот каталог надо скопировать в другой раздел диска, где место есть а
> вместо реального каталога поставить линк - выигрыш порядка 2 гб
> Кроме того, если в корневом разделе /var весь - почистите кэш апта -
> место появится - ну и /var или /var/tmp можно куда-то снести...
>> C уважением Юрий.
а как почистить кэш апта,кстати?
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 16:27 ` Владимир Черный
2007-11-25 17:39 ` frozen penguin
@ 2007-11-25 19:32 ` Yuri Ilyin
2007-11-25 19:47 ` Motsyo Gennadi aka Drool
2007-11-25 20:47 ` Владимир Черный
1 sibling, 2 replies; 37+ messages in thread
From: Yuri Ilyin @ 2007-11-25 19:32 UTC (permalink / raw)
To: ALT Linux Community general discussions
On Nov 25, 2007 7:27 PM, Владимир Черный <black@altlinux.ru> wrote:
25.11.07, Yuri Ilyin<yuri.ilyin@gmail.com> написал(а):
> Используя разделы Alt Linux Compact 3, поставил Alt Linux Desktop 4.
> Выяснилось, что места в 3 ГБ для корневого раздела теперь мало
> (столько делала программа установки Alt Linux Compact 3 ранее), а я и
> половины пакетов не поставил, которые хотел.
>
> Как бы места ему добавить?
> Т.е. мне нужно уменьшить /home и увеличить /
> Или переставлять Alt Linux Desktop 4?
>
> что посоветуете?
Решал сравнительно недавно похожую проблемку, причем диск разбит на 4
праймари и как-то переразбить уже не получается...
Выход есть: где больше всего объем установленных программ? /usr - вот
этот каталог надо скопировать в другой раздел диска, где место есть а
вместо реального каталога поставить линк - выигрыш порядка 2 гб
Кроме того, если в корневом разделе /var весь - почистите кэш апта -
место появится - ну и /var или /var/tmp можно куда-то снести...
Да, хорошая идея. Но во время установки указал, что /home не имеет прав на запуск (так предлагалось по умолчанию).
Если я захочу сделать /usr и /var на разделе /home, то кажется будет проблема с правами, так?
--
С уважением,
Владимир Черный
Начальник отдела образовательных проектов ALT Linux
mailto: black at altlinux.ru
Jabber: black at altlinux.org
ICQ: 199158712
_______________________________________________
community mailing list
community@lists.altlinux.org
https://lists.altlinux.org/mailman/listinfo/community
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 19:32 ` Yuri Ilyin
@ 2007-11-25 19:47 ` Motsyo Gennadi aka Drool
2007-11-25 20:47 ` Владимир Черный
1 sibling, 0 replies; 37+ messages in thread
From: Motsyo Gennadi aka Drool @ 2007-11-25 19:47 UTC (permalink / raw)
To: ALT Linux Community general discussions
Yuri Ilyin пишет:
> Да, хорошая идея. Но во время установки указал, что /home не имеет прав на запуск (так предлагалось по умолчанию).
> Если я захочу сделать /usr и /var на разделе /home, то кажется будет проблема с правами, так?
Ну, кое-что можно подправить в /etc/fstab
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 19:32 ` Yuri Ilyin
2007-11-25 19:47 ` Motsyo Gennadi aka Drool
@ 2007-11-25 20:47 ` Владимир Черный
2007-11-26 19:51 ` Yuri Ilyin
1 sibling, 1 reply; 37+ messages in thread
From: Владимир Черный @ 2007-11-25 20:47 UTC (permalink / raw)
To: ALT Linux Community general discussions
25.11.07, Yuri Ilyin<yuri.ilyin@gmail.com> написал(а):
> On Nov 25, 2007 7:27 PM, Владимир Черный <black@altlinux.ru> wrote:
>
>
> 25.11.07, Yuri Ilyin<yuri.ilyin@gmail.com> написал(а):
>
>
>
> > Используя разделы Alt Linux Compact 3, поставил Alt Linux Desktop 4.
> > Выяснилось, что места в 3 ГБ для корневого раздела теперь мало
> > (столько делала программа установки Alt Linux Compact 3 ранее), а я и
> > половины пакетов не поставил, которые хотел.
> >
> > Как бы места ему добавить?
> > Т.е. мне нужно уменьшить /home и увеличить /
> > Или переставлять Alt Linux Desktop 4?
> >
> > что посоветуете?
>
> Решал сравнительно недавно похожую проблемку, причем диск разбит на 4
> праймари и как-то переразбить уже не получается...
> Выход есть: где больше всего объем установленных программ? /usr - вот
> этот каталог надо скопировать в другой раздел диска, где место есть а
> вместо реального каталога поставить линк - выигрыш порядка 2 гб
> Кроме того, если в корневом разделе /var весь - почистите кэш апта -
> место появится - ну и /var или /var/tmp можно куда-то снести...
>
>
> Да, хорошая идея. Но во время установки указал, что /home не имеет прав на запуск (так предлагалось по умолчанию).
> Если я захочу сделать /usr и /var на разделе /home, то кажется будет проблема с правами, так?
Уберите эту опцию из /etc/fstab
>
>
> --
> С уважением,
> Владимир Черный
> Начальник отдела образовательных проектов ALT Linux
> mailto: black at altlinux.ru
> Jabber: black at altlinux.org
> ICQ: 199158712
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
>
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
--
С уважением,
Владимир Черный
Начальник отдела образовательных проектов ALT Linux
mailto: black at altlinux.ru
Jabber: black at altlinux.org
ICQ: 199158712
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 20:47 ` Владимир Черный
@ 2007-11-26 19:51 ` Yuri Ilyin
2007-11-26 22:23 ` Michael Shigorin
0 siblings, 1 reply; 37+ messages in thread
From: Yuri Ilyin @ 2007-11-26 19:51 UTC (permalink / raw)
To: ALT Linux Community general discussions
On 11/25/07, Владимир Черный <black@altlinux.ru> wrote:
> > Выход есть: где больше всего объем установленных программ? /usr - вот
> > этот каталог надо скопировать в другой раздел диска, где место есть а
> > вместо реального каталога поставить линк - выигрыш порядка 2 гб
> > Кроме того, если в корневом разделе /var весь - почистите кэш апта -
> > место появится - ну и /var или /var/tmp можно куда-то снести...
> >
> >
> > Да, хорошая идея. Но во время установки указал, что /home не имеет прав на
> запуск (так предлагалось по умолчанию).
> > Если я захочу сделать /usr и /var на разделе /home, то кажется будет
> проблема с правами, так?
> Уберите эту опцию из /etc/fstab
Вот содержимое моего fstab
proc /proc proc nosuid,noexec,gid=proc
0 0
devpts /dev/pts devpts
nosuid,noexec,gid=tty,mode=620 0 0
tmpfs /tmp tmpfs nosuid
0 0
UUID=51e1628f-5e6d-4c80-8009-ee73ddb71ee5 / ext3
defaults 1 1
UUID=4dc16435-ed70-477c-ba32-d033db3fa88f /home ext3 nosuid
1 2
UUID=5dd79f2a-c7db-40cf-a563-6552633b8ce0 swap swap
defaults 0 0
/dev/hdb /media/cdrom udf,iso9660 ro,noauto,user,utf8 0 0
UUID=4ebb18b0-d034-4760-9025-ee28a46e58bf /mnt/hdd2 ext3
defaults 0 0
/dev/hdc1 /mnt/hdc1 ntfs-3g locale=ru_RU.utf8,umask=0 0 0
/dev/hdd1 /mnt/hdd1 ntfs-3g locale=ru_RU.utf8,umask=0 0 0
Если я уберу nosuid для /home, то тогда получается нужно внутри /home
будет иметь внутренний home c правильными ограничениями на права.
Что-то не очень понимаю как это через fstab можно осуществить.
Более правильным кажется следующее решение:
сжать раздел /home какой нибудь программой, а затем на свободном новом
разделе подмонитировать /var
Разве не так?
С уважением Юрий.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-26 19:51 ` Yuri Ilyin
@ 2007-11-26 22:23 ` Michael Shigorin
0 siblings, 1 reply; 37+ messages in thread
From: Michael Shigorin @ 2007-11-26 22:23 UTC (permalink / raw)
To: ALT Linux Community general discussions
On Mon, Nov 26, 2007 at 10:51:54PM +0300, Yuri Ilyin wrote:
> Если я уберу nosuid для /home, то тогда получается нужно внутри /home
> будет иметь внутренний home c правильными ограничениями на права.
Ничего, и так перебьётся. У меня, например, никаких noexec
на /home нет, зато есть куча скриптов в ~/bin.
> Более правильным кажется следующее решение: сжать раздел /home
> какой нибудь программой, а затем на свободном новом разделе
> подмонитировать /var
Как вариант. Есть ещё один (перед выполнением ОБЯЗАТЕЛЬНО
перейти в однопользовательский режим!):
init 1
mkdir /home/var
rsync -PavH /var/ /home/var/
echo /home/var /var auto bind 0 0 >> /etc/fstab
mount /home/var
и идём в init 5 проверять, всё ли в порядке. Если всё, то
опять в init 1 и освобождаем место на "перекрытом" bindmount'ом
разделе (который корневой в данном случае):
init 1
umount /home/var
rm -rf /var/*
mount /home/var
init 5
Если нет -- отмонтируем /home/var, комментируем или убираем
строчку в fstab, возможно, зачищаем содержимое /home/var
и идём разбираться с советчиком.
PS: с mv /var/* /home/var/* бывают разные накладки, наиболее
неприятная -- этот процесс крайне неудобно разгребать после
принудительной или вынужденной остановки (Ctrl-C или нехватка
места на целевом разделе): часть файлов там, часть -- сям.
Если угораздит наткнуться, выручит опять же rsync (сперва все
остатки в новое место, а потом уже можно _копировать_ или чего
там обратно... ну или по ситуации с местом).
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 16:02 [Comm] Места для корневого раздела мало в Desktop 4 Yuri Ilyin
2007-11-25 16:27 ` Владимир Черный
@ 2007-11-25 16:29 ` Хихин Руслан
2007-11-25 16:32 ` Sergey
` (2 subsequent siblings)
4 siblings, 0 replies; 37+ messages in thread
From: Хихин Руслан @ 2007-11-25 16:29 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 740 bytes --]
Здравствуйте Yuri Ilyin
В сообщении от 25 ноября 2007 Yuri Ilyin написал(a):
> Используя разделы Alt Linux Compact 3, поставил Alt Linux Desktop 4.
>
> Выяснилось, что места в 3 ГБ для корневого раздела теперь мало
>
> (столько делала программа установки Alt Linux Compact 3 ранее), а я
> и
>
> половины пакетов не поставил, которые хотел.
>
>
>
> Как бы места ему добавить?
>
> Т.е. мне нужно уменьшить /home и увеличить /
> Или переставлять Alt Linux Desktop 4?
gparted c LiveCD не поможет ?
--
А ещё говорят так (fortune):
If the odds are a million to one against something occurring, chances
are 50-50 it will.
________________________________________________________________________
С уважением Хихин Руслан
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 16:02 [Comm] Места для корневого раздела мало в Desktop 4 Yuri Ilyin
2007-11-25 16:27 ` Владимир Черный
2007-11-25 16:29 ` Хихин Руслан
@ 2007-11-25 16:32 ` Sergey
2007-11-25 16:36 ` Владимир Черный
` (2 more replies)
2007-11-25 16:48 ` Michael Shigorin
2007-11-25 16:49 ` Michael Shigorin
4 siblings, 3 replies; 37+ messages in thread
From: Sergey @ 2007-11-25 16:32 UTC (permalink / raw)
To: ALT Linux Community general discussions
On Sunday 25 November 2007, Yuri Ilyin wrote:
> Используя разделы Alt Linux Compact 3, поставил Alt Linux Desktop 4.
> Выяснилось, что места в 3 ГБ для корневого раздела теперь мало
3Гб для корня более, чем достаточно:
$ df
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 4.0G 1.3G 2.5G 34% /
/dev/sda1 69M 11M 55M 17% /boot
/dev/sda5 20G 18G 397M 98% /home
/dev/sda8 15G 8.7G 5.0G 64% /usr
/dev/sda6 4.9G 1.1G 3.6G 23% /var
/dev/sda9 29G 28G 54M 100% /var/ftp
Вопрос только, как оно нарезано вообще...
--
С уважением, Сергей
a_s_y@sama.ru
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 16:32 ` Sergey
@ 2007-11-25 16:36 ` Владимир Черный
2007-11-25 16:49 ` Владимир Гусев
2007-11-25 16:47 ` Pavlov Konstantin
2007-11-25 18:07 ` Motsyo Gennadi aka Drool
2 siblings, 1 reply; 37+ messages in thread
From: Владимир Черный @ 2007-11-25 16:36 UTC (permalink / raw)
To: ALT Linux Community general discussions
2007/11/25, Sergey <a_s_y@sama.ru>:
> On Sunday 25 November 2007, Yuri Ilyin wrote:
>
> > Используя разделы Alt Linux Compact 3, поставил Alt Linux Desktop 4.
> > Выяснилось, что места в 3 ГБ для корневого раздела теперь мало
>
> 3Гб для корня более, чем достаточно:
>
> $ df
> Filesystem Size Used Avail Use% Mounted on
> /dev/sda2 4.0G 1.3G 2.5G 34% /
> /dev/sda1 69M 11M 55M 17% /boot
> /dev/sda5 20G 18G 397M 98% /home
> /dev/sda8 15G 8.7G 5.0G 64% /usr
> /dev/sda6 4.9G 1.1G 3.6G 23% /var
> /dev/sda9 29G 28G 54M 100% /var/ftp
>
> Вопрос только, как оно нарезано вообще...
Дык, у вас /usr живет на 15 гигах :)
У меня и гига на корень хватает при таком раскладе...
>
> --
> С уважением, Сергей
> a_s_y@sama.ru
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
--
С уважением,
Владимир Черный
Начальник отдела образовательных проектов ALT Linux
mailto: black at altlinux.ru
Jabber: black at altlinux.org
ICQ: 199158712
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 16:36 ` Владимир Черный
@ 2007-11-25 16:49 ` Владимир Гусев
2007-11-25 16:52 ` Michael Shigorin
0 siblings, 1 reply; 37+ messages in thread
From: Владимир Гусев @ 2007-11-25 16:49 UTC (permalink / raw)
To: ALT Linux Community general discussions
On Sun, 25 Nov 2007 19:36:52 +0300, Владимир Черный <black@altlinux.ru>
wrote:
> 2007/11/25, Sergey <a_s_y@sama.ru>:
>> On Sunday 25 November 2007, Yuri Ilyin wrote:
>>
>> > Используя разделы Alt Linux Compact 3, поставил Alt Linux Desktop 4.
>> > Выяснилось, что места в 3 ГБ для корневого раздела теперь мало
>>
>> 3Гб для корня более, чем достаточно:
>>
>> $ df
>> Filesystem Size Used Avail Use% Mounted on
>> /dev/sda2 4.0G 1.3G 2.5G 34% /
>> /dev/sda1 69M 11M 55M 17% /boot
>> /dev/sda5 20G 18G 397M 98% /home
>> /dev/sda8 15G 8.7G 5.0G 64% /usr
>> /dev/sda6 4.9G 1.1G 3.6G 23% /var
>> /dev/sda9 29G 28G 54M 100% /var/ftp
>>
>> Вопрос только, как оно нарезано вообще...
> Дык, у вас /usr живет на 15 гигах :)
> У меня и гига на корень хватает при таком раскладе...
если корень сам по себе (/usr и /var на отдельных разделах), то 1 гб за
глаза хватит. На ноуте, где lite стоит, у меня / занимает 512 мб (и то,
это многовато, так как /usr и /var отдельно).
На основном компе вот такая картина:
[vova@vova ~]$ df
Файловая система Разм Исп Дост Исп% смонтирована на
/dev/hda8 1012M 159M 802M 17% /
udevfs 5,0M 116K 4,9M 3% /dev
shmfs 506M 0 506M 0% /dev/shm
tmpfs 506M 4,0K 506M 1% /tmp
/dev/hda11 47G 43G 1,6G 97% /home
/dev/hda1 518M 160M 359M 31% /mnt/disk_c
/dev/hda5 13G 12G 774M 95% /mnt/disk_d
/dev/hda6 40G 39G 366M 100% /mnt/disk_e
/dev/hdb5 75G 75G 315M 100% /mnt/disk_f
/dev/hda9 6,8G 2,1G 4,4G 33% /usr
/dev/hda10 3,9G 582M 3,1G 16% /var
--
С уважением, Владимир Гусев
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 16:49 ` Владимир Гусев
@ 2007-11-25 16:52 ` Michael Shigorin
2007-11-25 17:00 ` Sergey
0 siblings, 1 reply; 37+ messages in thread
From: Michael Shigorin @ 2007-11-25 16:52 UTC (permalink / raw)
To: ALT Linux Community general discussions
On Sun, Nov 25, 2007 at 07:49:08PM +0300, Владимир Гусев wrote:
> >> 3Гб для корня более, чем достаточно:
Ничего себе, это чем у тебя он так захламлён-то на гиг с лишним?
:)
> >> $ df
> >> Filesystem Size Used Avail Use% Mounted on
> >> /dev/sda2 4.0G 1.3G 2.5G 34% /
> >> /dev/sda1 69M 11M 55M 17% /boot
> >> /dev/sda5 20G 18G 397M 98% /home
> >> /dev/sda8 15G 8.7G 5.0G 64% /usr
> >> /dev/sda6 4.9G 1.1G 3.6G 23% /var
> >> /dev/sda9 29G 28G 54M 100% /var/ftp
> >> Вопрос только, как оно нарезано вообще...
> > Дык, у вас /usr живет на 15 гигах :)
> > У меня и гига на корень хватает при таком раскладе...
> если корень сам по себе (/usr и /var на отдельных разделах), то
> 1 гб за глаза хватит. На ноуте, где lite стоит, у меня /
> занимает 512 мб (и то, это многовато, так как /usr и /var
> отдельно).
С другой стороны, "впритирку" (250--300M) не стоит -- при
обновлении ядра придётся кувыркаться. Здоровое оно ныне.
> На основном компе вот такая картина:
> [vova@vova ~]$ df
> Файловая система Разм Исп Дост Исп% смонтирована на
> /dev/hda8 1012M 159M 802M 17% /
Вот это похоже на аккуратную машинку.
> /dev/hda11 47G 43G 1,6G 97% /home
> /dev/hda9 6,8G 2,1G 4,4G 33% /usr
> /dev/hda10 3,9G 582M 3,1G 16% /var
С заметным, но ухоженным набором софта.
Только вот /home совсем забит, большинство ФС в пределах 90--95%
заполнения начинают резко терять производительность (у каждой
порог свой, но в общем у всех где-то так).
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 16:52 ` Michael Shigorin
@ 2007-11-25 17:00 ` Sergey
0 siblings, 0 replies; 37+ messages in thread
From: Sergey @ 2007-11-25 17:00 UTC (permalink / raw)
To: ALT Linux Community general discussions
On Sunday 25 November 2007, Michael Shigorin wrote:
> Ничего себе, это чем у тебя он так захламлён-то на гиг с лишним?
> :)
> > >> $ df
> > >> Filesystem Size Used Avail Use% Mounted on
> > >> /dev/sda2 4.0G 1.3G 2.5G 34% /
Это не у него, это у меня. /tmp там. :-)
--
С уважением, Сергей
a_s_y@sama.ru
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 16:32 ` Sergey
2007-11-25 16:36 ` Владимир Черный
@ 2007-11-25 16:47 ` Pavlov Konstantin
2007-11-25 18:07 ` Motsyo Gennadi aka Drool
2 siblings, 0 replies; 37+ messages in thread
From: Pavlov Konstantin @ 2007-11-25 16:47 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 1319 bytes --]
On Sun, Nov 25, 2007 at 08:32:27PM +0400, Sergey wrote:
> On Sunday 25 November 2007, Yuri Ilyin wrote:
>
> > Используя разделы Alt Linux Compact 3, поставил Alt Linux Desktop 4.
> > Выяснилось, что места в 3 ГБ для корневого раздела теперь мало
>
> 3Гб для корня более, чем достаточно:
>
> $ df
> Filesystem Size Used Avail Use% Mounted on
> /dev/sda2 4.0G 1.3G 2.5G 34% /
> /dev/sda1 69M 11M 55M 17% /boot
> /dev/sda5 20G 18G 397M 98% /home
> /dev/sda8 15G 8.7G 5.0G 64% /usr
> /dev/sda6 4.9G 1.1G 3.6G 23% /var
> /dev/sda9 29G 28G 54M 100% /var/ftp
>
> Вопрос только, как оно нарезано вообще...
LVM ftw.
Файловая система Разм Исп Дост Исп% смонтирована на
/dev/sda5 657M 530M 94M 86% /
udevfs 5,0M 136K 4,9M 3% /dev
shmfs 755M 0 755M 0% /dev/shm
tmpfs 755M 52K 755M 1% /tmp
/dev/mapper/sys-home 107G 90G 12G 89% /home
/dev/mapper/sys-usr 3,0G 1,7G 1,2G 59% /usr
/dev/mapper/sys-var 2,0G 447M 1,5G 24% /var
--
Ещё раз для непонятливых: мантейнер пакета startup не использует
reiserfs в качестве root filesystem. И другим тоже не советует.
-- ldv in sisyphus@
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 16:32 ` Sergey
2007-11-25 16:36 ` Владимир Черный
2007-11-25 16:47 ` Pavlov Konstantin
@ 2007-11-25 18:07 ` Motsyo Gennadi aka Drool
2007-11-25 20:52 ` Michael Shigorin
2 siblings, 1 reply; 37+ messages in thread
From: Motsyo Gennadi aka Drool @ 2007-11-25 18:07 UTC (permalink / raw)
To: ALT Linux Community general discussions
Sergey пишет:
> On Sunday 25 November 2007, Yuri Ilyin wrote:
>
>> Используя разделы Alt Linux Compact 3, поставил Alt Linux Desktop 4.
>> Выяснилось, что места в 3 ГБ для корневого раздела теперь мало
>
> 3Гб для корня более, чем достаточно:
>
> $ df
> Filesystem Size Used Avail Use% Mounted on
> /dev/sda2 4.0G 1.3G 2.5G 34% /
> /dev/sda1 69M 11M 55M 17% /boot
> /dev/sda5 20G 18G 397M 98% /home
> /dev/sda8 15G 8.7G 5.0G 64% /usr
> /dev/sda6 4.9G 1.1G 3.6G 23% /var
> /dev/sda9 29G 28G 54M 100% /var/ftp
У меня корень вообще 1,1 гига. Основной монстр - /usr - вот на него и
не жалеть. Если корень маленький - то /home обязательно отдельным разделом.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 18:07 ` Motsyo Gennadi aka Drool
@ 2007-11-25 20:52 ` Michael Shigorin
2007-11-26 6:15 ` Motsyo Gennadi aka Drool
0 siblings, 1 reply; 37+ messages in thread
From: Michael Shigorin @ 2007-11-25 20:52 UTC (permalink / raw)
To: ALT Linux Community general discussions
On Sun, Nov 25, 2007 at 08:07:52PM +0200, Motsyo Gennadi aka Drool wrote:
> Если корень маленький - то /home обязательно отдельным разделом.
Не так: /home _просто_ обязательно отдельным разделом, если на
системе есть пользователи с данными, которые представляют хоть
какую-то ценность.
(случаи с домашниками не в локальном /home подразумевают,
что $ROOT в советах по этой части не нуждается ;)
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 20:52 ` Michael Shigorin
@ 2007-11-26 6:15 ` Motsyo Gennadi aka Drool
2007-11-26 8:04 ` Michael Shigorin
0 siblings, 1 reply; 37+ messages in thread
From: Motsyo Gennadi aka Drool @ 2007-11-26 6:15 UTC (permalink / raw)
To: ALT Linux Community general discussions
Michael Shigorin пишет:
> On Sun, Nov 25, 2007 at 08:07:52PM +0200, Motsyo Gennadi aka Drool wrote:
>> Если корень маленький - то /home обязательно отдельным разделом.
>
> Не так: /home _просто_ обязательно отдельным разделом, если на
> системе есть пользователи с данными, которые представляют хоть
> какую-то ценность.
М... Это зависит от привычек в организации разбиения винта :-) У меня
очень долго /home был в корне, корень был 1,5 гига. Просто еще с
форточек я привык делать отдельный раздел для данных (документы, музыка,
фильмы и прочая развлекуха) и в хомнике ничего не хранилось. Нехватка
стала чувствоваться когда научился пользоваться хашером ;-)
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-26 6:15 ` Motsyo Gennadi aka Drool
@ 2007-11-26 8:04 ` Michael Shigorin
0 siblings, 0 replies; 37+ messages in thread
From: Michael Shigorin @ 2007-11-26 8:04 UTC (permalink / raw)
To: ALT Linux Community general discussions
On Mon, Nov 26, 2007 at 08:15:43AM +0200, Motsyo Gennadi aka Drool wrote:
> >> Если корень маленький - то /home обязательно отдельным разделом.
> > Не так: /home _просто_ обязательно отдельным разделом, если
> > на системе есть пользователи с данными, которые представляют
> > хоть какую-то ценность.
> М... Это зависит от привычек в организации разбиения винта :-)
Это привычки зависят от того, уже наступал на эти грабли или нет.
> У меня очень долго /home был в корне, корень был 1,5 гига.
> Просто еще с форточек я привык делать отдельный раздел для
^^^^^^^^^^^^^^ а там никогда и не приучали к логике
> данных (документы, музыка, фильмы и прочая развлекуха) и в
> хомнике ничего не хранилось.
^^^^^^^ у тебя там был "хомник" как отдельный раздел?
А на самом деле стоит разделять ценные данные (документы, почту)
и файлопомойку. Я обычно при переезде /home на очередной диск
помимо текущего использования (с учётом уборки) стараюсь думать,
какой объём будет нужен, а не провоцировать свалку там, где есть
что бэкапить. И как/куда потом бэкапить.
Всё остальное -- в /var/ftp. Зеркала, dmusic.com и протчая.
> Нехватка стала чувствоваться когда научился пользоваться
> хашером ;-)
Ну вот его как раз надо бы выносить из /home, IMCO Дима
погорячился с этим ограничением. Например, на большом tmpfs
внесколькером собираться -- надо стопку bindmount'ов городить.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 16:02 [Comm] Места для корневого раздела мало в Desktop 4 Yuri Ilyin
` (2 preceding siblings ...)
2007-11-25 16:32 ` Sergey
@ 2007-11-25 16:48 ` Michael Shigorin
2007-11-25 16:49 ` Michael Shigorin
4 siblings, 0 replies; 37+ messages in thread
From: Michael Shigorin @ 2007-11-25 16:48 UTC (permalink / raw)
To: community
On Sun, Nov 25, 2007 at 07:02:50PM +0300, Yuri Ilyin wrote:
> Используя разделы Alt Linux Compact 3, поставил Alt Linux
> Desktop 4. Выяснилось, что места в 3 ГБ для корневого раздела
> теперь мало (столько делала программа установки Alt Linux
> Compact 3 ранее), а я и половины пакетов не поставил, которые
> хотел.
Дело не в "теперь", а в том, что скорее всего или что-то где-то
стоит уже ненужного (сам порой устраиваю пересмотр), или что-то
где-то лежит хламом (здоровенный лог или ещё какой временный
файл).
Для исследования могу предложить:
* filelight;
* du -sh (в более сложных случаях обычно du -shcx, чтоб
не переступало через точки монтирования);
* rpm -qa --qf='%{SIZE}\t\t%{NAME}\n' | sort -n
(возможно, | grep devel)
* apt-get install apt-scripts
apt-cache list-nodeps
echo rpm -e `apt-cache list-nodeps | grep ^lib`
(http://lists.altlinux.org/pipermail/sisyphus/2006-June/082883.html)
> Как бы места ему добавить?
> Т.е. мне нужно уменьшить /home и увеличить /
Мне обычно помогало вынести /usr или /var отдельным разделом,
если получается его создать.
> Или переставлять Alt Linux Desktop 4? что посоветуете?
Я как-то делал снапшот текущего итога своих чтений и опытов:
http://lists.altlinux.ru/pipermail/docs/2004-November/004738.html
По большей части он точен и сейчас, хотя дома в данный момент три
винчестера и система разнесена по двум из них (например, /usr
и /var живут на добавленном диске, в то время как / и /home пока
на старом да проверенном -- новый чего-то дурит изредка,
надо добраться до сервиса насчёт замены).
Также могу рекомендовать Partition mini-HOWTO и если есть
несколько дисков -- Multi-Disk HOWTO. Оба хорошо гуглятся
или в пакете howto-html-en.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 16:02 [Comm] Места для корневого раздела мало в Desktop 4 Yuri Ilyin
` (3 preceding siblings ...)
2007-11-25 16:48 ` Michael Shigorin
@ 2007-11-25 16:49 ` Michael Shigorin
2007-11-25 17:44 ` frozen penguin
2007-11-25 19:28 ` Yuri Ilyin
4 siblings, 2 replies; 37+ messages in thread
From: Michael Shigorin @ 2007-11-25 16:49 UTC (permalink / raw)
To: community
On Sun, Nov 25, 2007 at 07:02:50PM +0300, Yuri Ilyin wrote:
> что посоветуете?
PS: apt-get clean
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 16:49 ` Michael Shigorin
@ 2007-11-25 17:44 ` frozen penguin
2007-11-25 17:45 ` Michael Shigorin
2007-11-25 19:28 ` Yuri Ilyin
1 sibling, 1 reply; 37+ messages in thread
From: frozen penguin @ 2007-11-25 17:44 UTC (permalink / raw)
To: shigorin, ALT Linux Community general discussions
Michael Shigorin пишет:
> On Sun, Nov 25, 2007 at 07:02:50PM +0300, Yuri Ilyin wrote:
>> что посоветуете?
>
> PS: apt-get clean
>
вот это мне очень пригодилось - на / было 1.7 после apt-get clean стало
2.5 Гб :)
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [Comm] Места для корневого раздела мало в Desktop 4.
2007-11-25 16:49 ` Michael Shigorin
2007-11-25 17:44 ` frozen penguin
@ 2007-11-25 19:28 ` Yuri Ilyin
1 sibling, 0 replies; 37+ messages in thread
From: Yuri Ilyin @ 2007-11-25 19:28 UTC (permalink / raw)
To: ALT Linux Community general discussions
Чуть чуть лишь помогло
[root@localhost ~]# df
Filesystem Size Used Avail Use% Mounted on
/dev/hdc5 2.9G 2.7G 51M 99% /
udevfs 5.0M 88K 5.0M 2% /dev
shmfs 253M 0 253M 0% /dev/shm
tmpfs 253M 2.1M 251M 1% /tmp
/dev/hdc7 130G 8.4G 115G 7% /home
/dev/hdd2 80G 28G 48G 37% /mnt/hdd2
/dev/hdc1 98G 49G 49G 50% /mnt/hdc1
/dev/hdd1 32G 28G 4.0G 88% /mnt/hdd1
[root@localhost ~]# apt-get clean
[root@localhost ~]# df
Filesystem Size Used Avail Use% Mounted on
/dev/hdc5 2.9G 2.5G 257M 91% /
udevfs 5.0M 88K 5.0M 2% /dev
shmfs 253M 0 253M 0% /dev/shm
tmpfs 253M 2.1M 251M 1% /tmp
/dev/hdc7 130G 8.4G 115G 7% /home
/dev/hdd2 80G 28G 48G 37% /mnt/hdd2
/dev/hdc1 98G 49G 49G 50% /mnt/hdc1
/dev/hdd1 32G 28G 4.0G 88% /mnt/hdd1
[root@localhost ~]#
On 11/25/07, Michael Shigorin <mike@osdn.org.ua> wrote:
> On Sun, Nov 25, 2007 at 07:02:50PM +0300, Yuri Ilyin wrote:
> > что посоветуете?
>
> PS: apt-get clean
>
> --
> ---- WBR, Michael Shigorin <mike@altlinux.ru>
> ------ Linux.Kiev http://www.linux.kiev.ua/
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
^ permalink raw reply [flat|nested] 37+ messages in thread