- root@ubuntu:/home/ubuntu# vgscan
- Reading all physical volumes. This may take a while...
- Found volume group "vg1" using metadata type lvm2
- root@ubuntu:/home/ubuntu#
- root@ubuntu:/home/ubuntu# vgchange -ay vg1
- 1 logical volume(s) in volume group "vg1" now active
- root@ubuntu:/home/ubuntu#
- root@ubuntu:/home/ubuntu# lvs
- LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert
- lv1 vg1 -wi-a---- 3.63t
- root@ubuntu:/home/ubuntu#
- root@ubuntu:/home/ubuntu# fdisk -lu
- WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
- Disk /dev/sda: 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/sda1 1 4294967295 2147483647+ ee GPT
- Partition 1 does not start on physical sector boundary.
- Disk /dev/mapper/vg1-lv1: 3995.4 GB, 3995372355584 bytes
- 255 heads, 63 sectors/track, 485743 cylinders, total 7803461632 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/vg1-lv1 doesn't contain a valid partition table
- Disk /dev/sdb: 4025 MB, 4025483264 bytes
- 228 heads, 59 sectors/track, 584 cylinders, total 7862272 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: 0x0007e7b7
- Device Boot Start End Blocks Id System
- /dev/sdb1 * 2048 7854079 3926016 c W95 FAT32 (LBA)
- root@ubuntu:/home/ubuntu#
- root@ubuntu:/home/ubuntu# fdisk -l /dev/sda
- WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
- Disk /dev/sda: 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/sda1 1 4294967295 2147483647+ ee GPT
- Partition 1 does not start on physical sector boundary.
- root@ubuntu:/home/ubuntu#
- root@ubuntu:/home/ubuntu# pvs
- PV VG Fmt Attr PSize PFree
- /dev/sda8 vg1 lvm2 a-- 3.63t 0
- root@ubuntu:/home/ubuntu#
- root@ubuntu:/home/ubuntu# lvdisplay
- --- Logical volume ---
- LV Path /dev/vg1/lv1
- LV Name lv1
- VG Name vg1
- LV UUID Iri4Ta-IPrJ-plsi-ZC5L-aRuq-hoFf-LLPWNM
- LV Write Access read/write
- LV Creation host, time ,
- LV Status available
- # open 0
- LV Size 3.63 TiB
- Current LE 952571
- Segments 1
- Allocation inherit
- Read ahead sectors auto
- - currently set to 256
- Block device 252:0
- root@ubuntu:/home/ubuntu#
- root@ubuntu:/home/ubuntu# lvdisplay vg1
- --- Logical volume ---
- LV Path /dev/vg1/lv1
- LV Name lv1
- VG Name vg1
- LV UUID Iri4Ta-IPrJ-plsi-ZC5L-aRuq-hoFf-LLPWNM
- LV Write Access read/write
- LV Creation host, time ,
- LV Status available
- # open 0
- LV Size 3.63 TiB
- Current LE 952571
- Segments 1
- Allocation inherit
- Read ahead sectors auto
- - currently set to 256
- Block device 252:0
- root@ubuntu:/home/ubuntu# mount /dev/vg1/lv1 /mnt/gandy -o ro,user
- mount: wrong fs type, bad option, bad superblock on /dev/mapper/vg1-lv1,
- missing codepage or helper program, or other error
- In some cases useful info is found in syslog - try
- dmesg | tail or so
SHARE
TWEET
Untitled
a guest
Jun 28th, 2015
202
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
