daily pastebin goal
0%
SHARE
TWEET

Untitled

a guest Jun 28th, 2015 202 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@ubuntu:/home/ubuntu# vgscan
  2.   Reading all physical volumes.  This may take a while...
  3.   Found volume group "vg1" using metadata type lvm2
  4. root@ubuntu:/home/ubuntu#
  5.  
  6. root@ubuntu:/home/ubuntu# vgchange -ay vg1
  7.   1 logical volume(s) in volume group "vg1" now active
  8. root@ubuntu:/home/ubuntu#
  9.  
  10. root@ubuntu:/home/ubuntu# lvs
  11.   LV   VG   Attr      LSize Pool Origin Data%  Move Log Copy%  Convert
  12.   lv1  vg1  -wi-a---- 3.63t                                          
  13. root@ubuntu:/home/ubuntu#
  14.  
  15. root@ubuntu:/home/ubuntu# fdisk -lu
  16.  
  17. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  18.  
  19.  
  20. Disk /dev/sda: 4000.8 GB, 4000787030016 bytes
  21. 255 heads, 63 sectors/track, 486401 cylinders, total 7814037168 sectors
  22. Units = sectors of 1 * 512 = 512 bytes
  23. Sector size (logical/physical): 512 bytes / 4096 bytes
  24. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  25. Disk identifier: 0x00000000
  26.  
  27.    Device Boot      Start         End      Blocks   Id  System
  28. /dev/sda1               1  4294967295  2147483647+  ee  GPT
  29. Partition 1 does not start on physical sector boundary.
  30.  
  31. Disk /dev/mapper/vg1-lv1: 3995.4 GB, 3995372355584 bytes
  32. 255 heads, 63 sectors/track, 485743 cylinders, total 7803461632 sectors
  33. Units = sectors of 1 * 512 = 512 bytes
  34. Sector size (logical/physical): 512 bytes / 4096 bytes
  35. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  36. Disk identifier: 0x00000000
  37.  
  38. Disk /dev/mapper/vg1-lv1 doesn't contain a valid partition table
  39.  
  40. Disk /dev/sdb: 4025 MB, 4025483264 bytes
  41. 228 heads, 59 sectors/track, 584 cylinders, total 7862272 sectors
  42. Units = sectors of 1 * 512 = 512 bytes
  43. Sector size (logical/physical): 512 bytes / 512 bytes
  44. I/O size (minimum/optimal): 512 bytes / 512 bytes
  45. Disk identifier: 0x0007e7b7
  46.  
  47.    Device Boot      Start         End      Blocks   Id  System
  48. /dev/sdb1   *        2048     7854079     3926016    c  W95 FAT32 (LBA)
  49. root@ubuntu:/home/ubuntu#
  50.  
  51.  
  52.  
  53. root@ubuntu:/home/ubuntu# fdisk -l /dev/sda
  54.  
  55. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  56.  
  57.  
  58. Disk /dev/sda: 4000.8 GB, 4000787030016 bytes
  59. 255 heads, 63 sectors/track, 486401 cylinders, total 7814037168 sectors
  60. Units = sectors of 1 * 512 = 512 bytes
  61. Sector size (logical/physical): 512 bytes / 4096 bytes
  62. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  63. Disk identifier: 0x00000000
  64.  
  65.    Device Boot      Start         End      Blocks   Id  System
  66. /dev/sda1               1  4294967295  2147483647+  ee  GPT
  67. Partition 1 does not start on physical sector boundary.
  68. root@ubuntu:/home/ubuntu#
  69.  
  70. root@ubuntu:/home/ubuntu# pvs
  71.   PV         VG   Fmt  Attr PSize PFree
  72.   /dev/sda8  vg1  lvm2 a--  3.63t    0
  73. root@ubuntu:/home/ubuntu#
  74.  
  75.  
  76. root@ubuntu:/home/ubuntu# lvdisplay
  77.   --- Logical volume ---
  78.   LV Path                /dev/vg1/lv1
  79.   LV Name                lv1
  80.   VG Name                vg1
  81.   LV UUID                Iri4Ta-IPrJ-plsi-ZC5L-aRuq-hoFf-LLPWNM
  82.   LV Write Access        read/write
  83.   LV Creation host, time ,
  84.   LV Status              available
  85.   # open                 0
  86.   LV Size                3.63 TiB
  87.   Current LE             952571
  88.   Segments               1
  89.   Allocation             inherit
  90.   Read ahead sectors     auto
  91.   - currently set to     256
  92.   Block device           252:0
  93.    
  94. root@ubuntu:/home/ubuntu#
  95.  
  96. root@ubuntu:/home/ubuntu# lvdisplay vg1
  97.   --- Logical volume ---
  98.   LV Path                /dev/vg1/lv1
  99.   LV Name                lv1
  100.   VG Name                vg1
  101.   LV UUID                Iri4Ta-IPrJ-plsi-ZC5L-aRuq-hoFf-LLPWNM
  102.   LV Write Access        read/write
  103.   LV Creation host, time ,
  104.   LV Status              available
  105.   # open                 0
  106.   LV Size                3.63 TiB
  107.   Current LE             952571
  108.   Segments               1
  109.   Allocation             inherit
  110.   Read ahead sectors     auto
  111.   - currently set to     256
  112.   Block device           252:0
  113.    
  114. root@ubuntu:/home/ubuntu# mount /dev/vg1/lv1 /mnt/gandy -o ro,user
  115. mount: wrong fs type, bad option, bad superblock on /dev/mapper/vg1-lv1,
  116.        missing codepage or helper program, or other error
  117.        In some cases useful info is found in syslog - try
  118.        dmesg | tail  or so
RAW Paste Data
Top