Advertisement
VecH

Untitled

Dec 15th, 2015
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.18 KB | None | 0 0
  1. root@host:~# pvscan
  2.   PV /dev/md2   VG pve   lvm2 [111.22 GiB / 13.80 GiB free]
  3.   Total: 1 [111.22 GiB] / in use: 1 [111.22 GiB] / in no VG: 0 [0   ]
  4.  
  5. root@host:~# pvs
  6.   PV         VG   Fmt  Attr PSize   PFree
  7.   /dev/md2   pve  lvm2 a--  111.22g 13.80g
  8.  
  9. root@host:~# vgscan
  10.   Reading all physical volumes.  This may take a while...
  11.   Found volume group "pve" using metadata type lvm2
  12.  
  13. root@host:~# vgs
  14.   VG   #PV #LV #SN Attr   VSize   VFree
  15.   pve    1   3   0 wz--n- 111.22g 13.80g
  16.  
  17. root@host:~# lvscan
  18.   ACTIVE            '/dev/pve/swap' [4.00 GiB] inherit
  19.   ACTIVE            '/dev/pve/root' [27.75 GiB] inherit
  20.   ACTIVE            '/dev/pve/data' [65.67 GiB] inherit
  21.  
  22. root@host:~# lvs
  23.   LV   VG   Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  24.   data pve  -wi-ao---- 65.67g
  25.   root pve  -wi-ao---- 27.75g
  26.   swap pve  -wi-ao----  4.00g
  27.  
  28. root@host:~# cat /proc/mdstat
  29. Personalities : [raid1]
  30. md1 : active raid1 sdb2[1] sda2[2]
  31.       521920 blocks super 1.2 [2/2] [UU]
  32.  
  33. md2 : active raid1 sdb3[1] sda3[2]
  34.       116630400 blocks super 1.2 [2/2] [UU]
  35.  
  36. unused devices: <none>
  37.  
  38. root@host:~# fdisk -l /dev/sda
  39.  
  40. Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
  41. Units: sectors of 1 * 512 = 512 bytes
  42. Sector size (logical/physical): 512 bytes / 512 bytes
  43. I/O size (minimum/optimal): 512 bytes / 512 bytes
  44. Disklabel type: gpt
  45. Disk identifier: 8DA42E5E-E8AB-4427-B8E2-D408823420AE
  46.  
  47. Device       Start       End   Sectors   Size Type
  48. /dev/sda1     2048      4095      2048     1M BIOS boot
  49. /dev/sda2     4096   1048575   1044480   510M EFI System
  50. /dev/sda3  1048576 234440703 233392128 111.3G Linux LVM
  51.  
  52. root@host:~# fdisk -l /dev/sdb
  53.  
  54. Disk /dev/sdb: 149.1 GiB, 160041885696 bytes, 312581808 sectors
  55. Units: sectors of 1 * 512 = 512 bytes
  56. Sector size (logical/physical): 512 bytes / 512 bytes
  57. I/O size (minimum/optimal): 512 bytes / 512 bytes
  58. Disklabel type: gpt
  59. Disk identifier: BC616E85-A592-44B4-BE6B-1A5799847645
  60.  
  61. Device       Start       End   Sectors   Size Type
  62. /dev/sdb1     2048      4095      2048     1M BIOS boot
  63. /dev/sdb2     4096   1048575   1044480   510M EFI System
  64. /dev/sdb3  1048576 234440703 233392128 111.3G Linux LVM
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement