sudo pvdisplay를 실행하면 드라이브가 표시되지 않습니다.

sudo pvdisplay를 실행하면 드라이브가 표시되지 않습니다.

내 우분투 14.04 서버에서 RAID5 설정을 수행하겠습니다. 2개의 4TB WD NAS 드라이브가 있고 다른 드라이브를 구입했습니다. 그러나 pvs를 사용하여 시스템에서 이러한 드라이브를 찾으려고 하면 3개의 드라이브(내 시스템 드라이브와 2개의 추가 드라이브)만 찾습니다.

 PV         VG        Fmt  Attr PSize   PFree
  /dev/sda5  unas14-vg lvm2 a--  111.55g  27.73g
  /dev/sdb1  storage   lvm2 a--    3.64t 654.02g
  /dev/sdd1            lvm2 a--    3.64t   3.64t

fidsk -l이 나에게 준다

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 4000.8 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders, total 7814037168 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/sdb1               1  4294967295  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 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 identifier: 0x000baa50

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      499711      248832   83  Linux
/dev/sda2          501758   234440703   116969473    5  Extended
/dev/sda5          501760   234440703   116969472   8e  Linux LVM

Disk /dev/sdc: 4000.8 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders, total 7814037168 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

Disk /dev/sdc doesn't contain a valid partition table

WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdd: 4000.8 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders, total 7814037168 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/sdd1               1  4294967295  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/mapper/storage-storage: 3298.5 GB, 3298534883328 bytes
255 heads, 63 sectors/track, 401024 cylinders, total 6442450944 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

Disk /dev/mapper/storage-storage doesn't contain a valid partition table

Disk /dev/mapper/unas14--vg-root: 85.7 GB, 85714796544 bytes
255 heads, 63 sectors/track, 10420 cylinders, total 167411712 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 identifier: 0x00000000

Disk /dev/mapper/unas14--vg-root doesn't contain a valid partition table

Disk /dev/mapper/unas14--vg-swap_1: 4282 MB, 4282384384 bytes
255 heads, 63 sectors/track, 520 cylinders, total 8364032 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 identifier: 0x00000000

Disk /dev/mapper/unas14--vg-swap_1 doesn't contain a valid partition table

따라서 sdc 드라이브가 pvs에 표시되지 않습니다. RAID를 수행하기 전에 걱정할 사항입니까, 아니면 계속 진행해야 합니까?

미리 감사드립니다.. :)

답변1

pvs물리적 드라이브는 나열되지 않으며 물리적 볼륨입니다. pvs출력 에 표시되기 전에 물리 볼륨을 생성해야 합니다 .

pvcreate /dev/sdc

또는

pvcreate /dev/sdc1

(드라이브를 분할한 경우 후자).

관련 정보