@doleynikov71
технарь-любитель

Забыл создать FS на добавляемом в LVM диске, как быть?

Добрый день.
Я еще не волжебник, а просто, мимо проходил...
есть маленький дебиан. При установке включил lvm. Хочу добавить большой диск к /home. Вернее, добавил уже. Но не создал на нем файловую систему. Вернее там когда-то windowsXP стояла, так NTFS и осталась. а там , наверное, побитости есть. Как его отключить для проверки? Может новый подключить нужно?
root@server:/# fdisk -l
Disk /dev/sda: 1,8 TiB, 2000398934016 bytes, 3907029168 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
Disklabel type: dos
Disk identifier: 0xb8d0b8d0

Device     Boot Start        End    Sectors  Size Id Type
/dev/sda1  *       63 3907007999 3907007937  1,8T  7 HPFS/NTFS/exFAT

Partition 1 does not start on physical sector boundary.


Disk /dev/sdb: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x17ec9b15

Device     Boot  Start        End    Sectors   Size Id Type
/dev/sdb1  *      2048     499711     497664   243M 83 Linux
/dev/sdb2       501758 1953523711 1953021954 931,3G  5 Extended
/dev/sdb5       501760 1953523711 1953021952 931,3G 8e Linux LVM


Disk /dev/mapper/server--vg-root: 23,3 GiB, 24998051840 bytes, 48824320 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/server--vg-var: 9,3 GiB, 9999220736 bytes, 19529728 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/server--vg-swap_1: 1004 MiB, 1052770304 bytes, 2056192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/server--vg-tmp: 1,9 GiB, 1996488704 bytes, 3899392 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/server--vg-home: 2,7 TiB, 2962281725952 bytes, 5785706496 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

root@server:/# lvdisplay
File descriptor 7 (pipe:[22825]) leaked on lvdisplay invocation. Parent PID 1407: bash
  --- Logical volume ---
  LV Path                /dev/server-vg/root
  LV Name                root
  VG Name                server-vg
  LV UUID                ewr07X-uaer-zfz1-aihk-2Y0e-g2Hr-dFtguU
  LV Write Access        read/write
  LV Creation host, time server, 2017-12-08 19:44:48 +0300
  LV Status              available
  # open                 1
  LV Size                23,28 GiB
  Current LE             5960
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:0

  --- Logical volume ---
  LV Path                /dev/server-vg/var
  LV Name                var
  VG Name                server-vg
  LV UUID                2FLfQR-Qae4-mfyN-Bko3-LH8E-INlB-nCzuC9
  LV Write Access        read/write
  LV Creation host, time server, 2017-12-08 19:44:48 +0300
  LV Status              available
  # open                 1
  LV Size                9,31 GiB
  Current LE             2384
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:1

  --- Logical volume ---
  LV Path                /dev/server-vg/swap_1
  LV Name                swap_1
  VG Name                server-vg
  LV UUID                FNR2cI-e2XV-Mo4G-B3cb-SgKI-RPTz-DajQU2
  LV Write Access        read/write
  LV Creation host, time server, 2017-12-08 19:44:48 +0300
  LV Status              available
  # open                 2
  LV Size                1004,00 MiB
  Current LE             251
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:2

  --- Logical volume ---
  LV Path                /dev/server-vg/tmp
  LV Name                tmp
  VG Name                server-vg
  LV UUID                3Xynfn-RDq2-Tpy2-Td0S-TVKH-oyeJ-2Rtj7J
  LV Write Access        read/write
  LV Creation host, time server, 2017-12-08 19:44:49 +0300
  LV Status              available
  # open                 1
  LV Size                1,86 GiB
  Current LE             476
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:3

  --- Logical volume ---
  LV Path                /dev/server-vg/home
  LV Name                home
  VG Name                server-vg
  LV UUID                BlbsPB-fJja-EIBz-rZ6G-pfEe-h726-xGy0uU
  LV Write Access        read/write
  LV Creation host, time server, 2017-12-08 19:44:49 +0300
  LV Status              available
  # open                 1
  LV Size                2,69 TiB
  Current LE             706263
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:4

root@server:/# vgdisplay
File descriptor 7 (pipe:[22825]) leaked on vgdisplay invocation. Parent PID 1407: bash
  --- Volume group ---
  VG Name               server-vg
  System ID
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  8
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                5
  Open LV               5
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               2,73 TiB
  PE Size               4,00 MiB
  Total PE              715334
  Alloc PE / Size       715334 / 2,73 TiB
  Free  PE / Size       0 / 0
  VG UUID               1mqC6a-CF5x-167k-tjQQ-jK0Q-3U4a-z9MguI

root@server:/# pvdisplay
File descriptor 7 (pipe:[22825]) leaked on pvdisplay invocation. Parent PID 1407: bash
  --- Physical volume ---
  PV Name               /dev/sdb5
  VG Name               server-vg
  PV Size               931,27 GiB / not usable 4,00 MiB
  Allocatable           yes (but full)
  PE Size               4,00 MiB
  Total PE              238405
  Free PE               0
  Allocated PE          238405
  PV UUID               8Xqqwf-CQv9-OoUb-p0OS-zOp5-ImIm-w52LJj

  --- Physical volume ---
  PV Name               /dev/sda1
  VG Name               server-vg
  PV Size               1,82 TiB / not usable 2,72 MiB
  Allocatable           yes (but full)
  PE Size               4,00 MiB
  Total PE              476929
  Free PE               0
  Allocated PE          476929
  PV UUID               YQvORa-e4Fc-eGcT-baVm-IlKs-oAJY-JjC4vO
  • Вопрос задан
  • 98 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы