ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Dubrovskiy Viacheslav <slava@tangramltd.com>
To: Devel@lists.altlinux.org
Subject: [devel] количество смонтированных устройств
Date: Thu, 26 Jan 2012 15:09:54 -0500
Message-ID: <4F21B312.5060008@tangramltd.com> (raw)

26.01.2012 13:51, Alexey Shabalin пишет:
> Остаётся только смонтировать как -o bind /var/run на /run 
Скажите, дополнительно к нормальным дискам, у меня монтируется еще 
tmpfs, shmfs, udevfs, sysfs, proc, beancounter, container, fairsched, и 
в дополнение умноженные на количество контейнеров openvz и еще для 
каждого контейнера запись root.

Вот например вывод команды mount c сервера где 2 контейнера:

[root@ua102 ~]# mount
udevfs on /dev type tmpfs (rw,relatime,size=5120k,mode=755)
/dev/md1 on / type ext4 (rw,relatime,barrier=1,data=ordered)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts 
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shmfs on /dev/shm type tmpfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,relatime)
/dev/mapper/main-vz on /var/lib/vz type ext4 
(rw,nosuid,nodev,noexec,relatime,barrier=1,data=ordered)
beancounter on /proc/vz/beancounter type cgroup 
(rw,relatime,blkio,name=beancounter)
container on /proc/vz/container type cgroup 
(rw,relatime,freezer,devices,name=container)
fairsched on /proc/vz/fairsched type cgroup 
(rw,relatime,cpuacct,cpu,cpuset,name=fairsched)
/var/lib/vz/private/1113 on /var/lib/vz/root/1113 type simfs (rw,relatime)
proc on /var/lib/vz/root/1113/proc type proc (rw,relatime)
sysfs on /var/lib/vz/root/1113/sys type sysfs (rw,relatime)
devpts on /var/lib/vz/root/1113/dev/pts type devpts 
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /var/lib/vz/root/1113/tmp type tmpfs 
(rw,nosuid,relatime,size=2621440k,nr_inodes=655360)
/var/lib/vz/private/1114 on /var/lib/vz/root/1114 type simfs (rw,relatime)
proc on /var/lib/vz/root/1114/proc type proc (rw,relatime)
sysfs on /var/lib/vz/root/1114/sys type sysfs (rw,relatime)
devpts on /var/lib/vz/root/1114/dev/pts type devpts 
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /var/lib/vz/root/1114/tmp type tmpfs 
(rw,nosuid,relatime,size=1572864k,nr_inodes=393216)


А есть сервера где не 2 контейнера, а 20. И тогда этот вывод занимает 3 
экрана и найти что-то не реально.

Поэтому есть 2 вопроса:

1. Риторический: зачем мне все это? Почему это все не монтируется с 
опцией -n ?
2. Практический: есть ли возможность не выводить хоть данные по 
контейнерам? Так как это было сделано в ovz-rhel.


Извините, наболело.

-- 
WBR,
Dubrovskiy Viacheslav




             reply	other threads:[~2012-01-26 20:09 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-26 20:09 Dubrovskiy Viacheslav [this message]
2012-01-26 21:17 ` Dmitry V. Levin
2012-01-26 23:10   ` Dubrovskiy Viacheslav
2012-01-26 22:45     ` Dmitry V. Levin
2012-01-27  0:22       ` Dubrovskiy Viacheslav
2012-01-29  5:03       ` [devel] Убрать /etc/mtab -> /proc/mounts [was: количество смонтированных устройств] Dubrovskiy Viacheslav
2012-01-30  9:31         ` Alexey Shabalin
2012-01-30 10:58         ` Денис Смирнов
2012-01-30 14:16           ` Dubrovskiy Viacheslav
2012-01-30 15:02             ` Dmitry V. Levin
2012-01-30 16:16               ` Dubrovskiy Viacheslav
2012-01-30 19:50                 ` Alexey Gladkov
2012-01-30 20:27                   ` Dubrovskiy Viacheslav
2012-01-30 21:09                     ` Alexey Gladkov
2012-01-30 21:36                       ` Dmitry V. Levin
2012-01-30 21:47                         ` Alexey Gladkov
2012-01-30 22:02                           ` Dmitry V. Levin
2012-01-30 22:06                             ` Dubrovskiy Viacheslav
2012-01-30 22:10                               ` Dmitry V. Levin
2012-01-30 22:16                             ` Alexey Gladkov
2012-01-30 22:25                               ` Dmitry V. Levin
2012-01-30 22:35                                 ` Alexey Gladkov
2012-01-30 22:42                                   ` Dmitry V. Levin
2012-01-30 23:04                                     ` Alexey Gladkov
2012-01-31 12:00                             ` Sergey Y. Afonin
2012-01-31 13:15                             ` Alexey Gladkov
2012-01-31 14:28                               ` Dmitry V. Levin
2012-01-31 14:37                                 ` Alexey Gladkov
2012-01-31 14:39                                   ` Dmitry V. Levin
2012-01-31 14:38                   ` Dmitry V. Levin
2012-01-30 19:35           ` Sergey Y. Afonin
2012-01-30 21:20             ` Dmitry V. Levin
2012-01-31  0:55               ` Dubrovskiy Viacheslav
2012-01-31  9:38                 ` Dmitry V. Levin
2012-01-31 15:58                   ` Dubrovskiy Viacheslav
2012-02-01 10:04                     ` Aleksey Avdeev
2012-01-30  9:28       ` [devel] количество смонтированных устройств Alexey Shabalin
2012-01-30  9:43         ` Alexey Gladkov
2012-01-30 11:36           ` Sergey V Turchin
2012-01-30 11:50             ` [devel] [jt] " Dmitry V. Levin
2012-01-30 12:11               ` Sergey V Turchin
2012-01-30 13:04                 ` Alexey Gladkov
2012-01-30 13:22                   ` Денис Смирнов
2012-01-30 13:35                     ` Alexey Gladkov
2012-01-30 12:46           ` [devel] " Alexey Shabalin
2012-01-30 13:03             ` Alexey Gladkov
2012-02-28 21:50           ` Michael Shigorin
2012-01-30  9:19 ` Alexey Shabalin

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=4F21B312.5060008@tangramltd.com \
    --to=slava@tangramltd.com \
    --cc=Devel@lists.altlinux.org \
    /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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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