daily pastebin goal
37%
SHARE
TWEET

Untitled

a guest Apr 18th, 2015 173 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@scruffy:/# vgdisplay
  2.   --- Volume group ---
  3.   VG Name               lvm-raid
  4.   System ID            
  5.   Format                lvm2
  6.   Metadata Areas        1
  7.   Metadata Sequence No  11
  8.   VG Access             read/write
  9.   VG Status             resizable
  10.   MAX LV                0
  11.   Cur LV                0
  12.   Open LV               0
  13.   Max PV                0
  14.   Cur PV                1
  15.   Act PV                1
  16.   VG Size               8.19 TiB
  17.   PE Size               4.00 MiB
  18.   Total PE              2146093
  19.   Alloc PE / Size       0 / 0  
  20.   Free  PE / Size       2146093 / 8.19 TiB
  21.   VG UUID               qtN3wM-fWyD-T3LN-WV4u-BXqU-50ym-uO72WF
  22.    
  23. root@scruffy:/# pvdisplay
  24.   --- Physical volume ---
  25.   PV Name               /dev/md0
  26.   VG Name               lvm-raid
  27.   PV Size               8.19 TiB / not usable 3.50 MiB
  28.   Allocatable           yes
  29.   PE Size               4.00 MiB
  30.   Total PE              2146093
  31.   Free PE               2146093
  32.   Allocated PE          0
  33.   PV UUID               nAXjk5-bb6J-QdKT-jiJ1-Khip-Q1Ky-7phI7m
  34.    
  35. root@scruffy:/# lvcreate -l +100%FREE lvm-raid -n media
  36.   device-mapper: create ioctl on lvm--raid-media failed: Device or resource busy
  37.   Failed to activate new LV.
  38. root@scruffy:/# lvdisplay
  39. root@scruffy:/# cat /proc/mdstat
  40. Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
  41. md0 : active raid5 sdf1[4] sdd1[2] sdb1[1] sda1[0]
  42.       8790400512 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]
  43.       [==>..................]  recovery = 10.8% (317369856/2930133504) finish=429.7min speed=101334K/sec
  44.      
  45. unused devices: <none>
RAW Paste Data
Top