ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] systemd и /usr на отдельном разделе
Date: Mon, 17 Jun 2013 12:50:47 +0400
Message-ID: <51BECDE7.7090200@solin.spb.ru> (raw)
In-Reply-To: <CAEdvWkR2Ojuxj12mYCs9CeZ9OBAaDH09YgXu+j6Y7kJGv2U5NQ@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 5392 bytes --]

17.06.2013 02:30, Alexey Shabalin пишет:
> 16 июня 2013 г., 23:30 пользователь Aleksey Avdeev  написал:
> 
>     11.06.2013 22:10, Alexey Shabalin пишет:
>     > 11 июня 2013 г., 11:11 пользователь Sergei Epiphanov  написал:
>     >
>     >     Исторически сложилось, что у меня на всех компьютерах каталог /usr
>     >     находится
>     >     на отдельном разделе, как того требовала политика партии. Сейчас с
>     >     приходом
>     >     systemd оказалось, что это неправильная политика и необходимо
>     объединить
>     >     корневой и /usr вместе. Недавно я наткнулся на проблему,
>     связанную с
>     >     этим:
>     >
>     > Эта политика(объединить корневой и /usr вместе) касается федоры, и к
>     > ALTLinux отношения не имеет.
> 
>       У меня, при /usr отдельным разделом systemd нормально систему
>     загрузить не может: LVM поднимается, / (на LVM) монтируется, а /usr,
>     /var и /home (все тоже на LVM) остаются не смонтированными. Приходится
>     их монтировать вручную. Как поправить пока не знаю.
> 
> Выйду из отпуска, воспроизведу ситуацию в виртуалке.

  Спасибо заранее.

> как устроет LVM? сколько физических дисков, сколько групп?

  Физический диск один, группа тоже одна.

>  Пришлите мне вывов
> fdisk -l /dev/sd?

$ sudo -H fdisk -l /dev/sd?

Disk /dev/sda: 640.1 GB, 640135028736 bytes, 1250263728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     8388607     4193280   82  Linux swap / Solaris
/dev/sda2         8388608     8910847      261120   83  Linux
/dev/sda3         8910848  1250256895   620673024   8e  Linux LVM

> pvdisplay

$ sudo -H pvdisplay
  --- Physical volume ---
  PV Name               /dev/sda3
  VG Name               vgntr
  PV Size               591.92 GiB / not usable 14.00 MiB
  Allocatable           yes
  PE Size               32.00 MiB
  Total PE              18941
  Free PE               16221
  Allocated PE          2720
  PV UUID               smNTTo-a0pB-7AwM-N50O-2lvH-exwY-Dh3ShX


> vgdisplay

$ sudo -H vgdisplay
  --- Volume group ---
  VG Name               vgntr
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  1
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                4
  Open LV               4
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               591.91 GiB
  PE Size               32.00 MiB
  Total PE              18941
  Alloc PE / Size       2720 / 85.00 GiB
  Free  PE / Size       16221 / 506.91 GiB
  VG UUID               RkW8al-ogi7-P2NR-bTkX-myjr-WagQ-3dDYI9

> lvdisplay

$ sudo -H lvdisplay
  --- Logical volume ---
  LV Path                /dev/vgntr/lvntrroot
  LV Name                lvntrroot
  VG Name                vgntr
  LV UUID                ZKeeiQ-Kaxo-sV1C-wqhL-wlZY-erCw-5szsHv
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 1
  LV Size                5.00 GiB
  Current LE             160
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0

  --- Logical volume ---
  LV Path                /dev/vgntr/lvntrusr
  LV Name                lvntrusr
  VG Name                vgntr
  LV UUID                L5FIbb-vmlS-TKWT-1UVU-i6ip-eEgg-NesSnQ
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 1
  LV Size                20.00 GiB
  Current LE             640
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1

  --- Logical volume ---
  LV Path                /dev/vgntr/lvntrhome
  LV Name                lvntrhome
  VG Name                vgntr
  LV UUID                v18afs-v161-MbZm-5Iew-KNbW-E2Lp-JqsWCo
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 1
  LV Size                50.00 GiB
  Current LE             1600
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:2

  --- Logical volume ---
  LV Path                /dev/vgntr/lvntrvar
  LV Name                lvntrvar
  VG Name                vgntr
  LV UUID                3uJ7qe-3rRo-87pl-o0JA-SXhw-G4m7-aqrt3B
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 1
  LV Size                10.00 GiB
  Current LE             320
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:3


> cat /etc/fstab

  fstab приложен.

> 
> 
>     PS: Подробности описаны в
>     <http://lists.altlinux.org/pipermail/sisyphus/2013-May/360834.html>.

-- 

С уважением. Алексей.


[-- Attachment #1.2: fstab --]
[-- Type: text/plain, Size: 638 bytes --]

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=89b37fff-aee6-4e6c-bee7-8bc1e511f77b	/	ext4	relatime	1	1
UUID=97c50f22-81c6-48f9-9067-4a4d960fab48	/boot	ext2	nodev,nosuid,noexec,relatime	1	2
UUID=579b597d-e9b1-4c36-9c27-f6185622d02a	/home	ext4	nosuid,relatime	1	2
UUID=bff7457e-2337-4b74-b5ed-865af0cddd3b	/usr	ext4	nodev,relatime	1	2
UUID=0f147518-1339-4e67-a961-219e0b1d0839	/var	ext4	nosuid,relatime	1	2
UUID=05ef3772-df41-47f6-814c-261260b17ac7	swap	swap	defaults	0	0
/dev/sr0	/media/cdrom	udf,iso9660	ro,noauto,user,utf8	0 0

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]

  parent reply	other threads:[~2013-06-17  8:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-11  7:11 Sergei Epiphanov
2013-06-13  7:15   ` Sergei Epiphanov
2013-06-13  7:17   ` Sergei Epiphanov
2013-06-16 19:30   ` Aleksey Avdeev
2013-06-17  8:50       ` Aleksey Avdeev [this message]
2013-08-17 10:57           ` Aleksey Avdeev
2013-08-17 14:17             ` Aleksey Avdeev

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=51BECDE7.7090200@solin.spb.ru \
    --to=solo@solin.spb.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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