User Tools

Site Tools


knud:lvm

This is an old revision of the document!


This is a list of storage device/LVM info for knud.ais.columbia.edu.

Raid Devices: Devices and their drives

[[ben@knud|~]]$ cat /proc/mdstat 
Personalities : [[raid1]] [[raid6]] [[raid5]] [[raid4]] 
md3 : active raid1 sdc6[[0]] sda6[[1]]
      122881088 blocks [[2/2]] [[UU]]
     
md2 : active raid1 sdc2[[0]] sda2[[1]]
      20482752 blocks [[2/2]] [[UU]]
     
md0 : active raid1 sdc1[[0]] sda1[[1]]
      264960 blocks [[2/2]] [[UU]]
     
md1 : active raid1 sdc3[[0]] sda3[[1]]
      10241344 blocks [[2/2]] [[UU]]
     
unused devices: <none>

PV's: List of Physical Volumes

[[ben@knud|~]]$ sudo pvdisplay
--- Physical volume ---
PV Name               /dev/md3
VG Name               vg0
PV Size               117.19 GB / not usable 65.06 MB
Allocatable           yes 
PE Size (KByte)       131072
Total PE              937
Free PE               29
Allocated PE          908
PV UUID               OQqPVk-wINL-2Naa-bSbR-SEox-zTgC-KQfVBe
 

VG's: List of Volume Groups

[[ben@knud|~]]$ sudo vgdisplay
--- Volume group ---
VG Name               vg0
System ID             
Format                lvm2
Metadata Areas        1
Metadata Sequence No  21
VG Access             read/write
VG Status             resizable
MAX LV                0
Cur LV                6
Open LV               6
Max PV                0
Cur PV                1
Act PV                1
VG Size               117.12 GB
PE Size               128.00 MB
Total PE              937
Alloc PE / Size       908 / 113.50 GB
Free  PE / Size       29 / 3.62 GB
VG UUID               TuX6jh-2pHq-vP72-1g7v-9HX7-fzoG-1LcXnY

LV's: List of Logical Volumes

~$ sudo lvdisplay

  1. – Logical volume —

LV Name /dev/vg0/home

VG Name                vg0
LV UUID                wmnlXs-XpJr-KEO3-0tnu-a4sW-zjtN-RjVUtJ
LV Write Access        read/write
LV Status              available
# open                 1
LV Size                81.25 GB
Current LE             650
Segments               1
Allocation             inherit
Read ahead sectors     0
Block device           253:0
 
--- Logical volume ---
LV Name                /dev/vg0/var
VG Name                vg0
LV UUID                8azita-V6yw-qep4-ifCV-v2le-ilSx-sF6eEl
LV Write Access        read/write
LV Status              available
# open                 1
LV Size                10.75 GB
Current LE             86
Segments               1
Allocation             inherit
Read ahead sectors     0
Block device           253:1
 
--- Logical volume ---
LV Name                /dev/vg0/mysql
VG Name                vg0
LV UUID                n6cQpe-1Xxj-5pga-lPH0-DxIG-Yq0X-JCP8d9
LV Write Access        read/write
LV Status              available
# open                 1
LV Size                2.50 GB
Current LE             20
Segments               1
Allocation             inherit
Read ahead sectors     0
Block device           253:2
 
--- Logical volume ---
LV Name                /dev/vg0/benhall
VG Name                vg0
LV UUID                V15glB-60UP-2x5n-pu6w-v7tH-jDKc-QuDt9q
LV Write Access        read/write
LV Status              available
# open                 1
LV Size                9.00 GB
Current LE             72
Segments               1
Allocation             inherit
Read ahead sectors     0
Block device           253:4
 
--- Logical volume ---
LV Name                /dev/vg0/catpatz
VG Name                vg0
LV UUID                Qwehy1-iM28-InSN-j0aD-hprL-QE5M-3IZI74
LV Write Access        read/write
LV Status              available
# open                 1
LV Size                1.00 GB
Current LE             8
Segments               1
Allocation             inherit
Read ahead sectors     0
Block device           253:5
 
--- Logical volume ---
LV Name                /dev/vg0/nickrivera
VG Name                vg0
LV UUID                m9jdwe-0k2H-Te0T-Kco3-OZeN-KQms-kXc1L1
LV Write Access        read/write
LV Status              available
# open                 1
LV Size                9.00 GB
Current LE             72
Segments               2
Allocation             inherit
Read ahead sectors     0
Block device           253:3
 

Mount points: List of mount points

[[ben@knud|~]]$ sudo mount
/dev/md1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/md0 on /boot type ext3 (rw) 
/dev/md2 on /usr type ext3 (rw)
/dev/mapper/vg0-var on /var type ext3 (rw)
/dev/mapper/vg0-mysql on /var/lib/mysql type ext3 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sdb1 on /mnt type ext3 (rw)
/dev/mapper/vg0-home on /home type ext3 (rw)
/dev/mapper/vg0-benhall on /var/www/benhall type ext3 (rw)
/dev/mapper/vg0-catpatz on /var/www/catpatz type ext3 (rw)
/dev/mapper/vg0-nickrivera on /var/www/nick type ext3 (rw)
none on /proc/fs/vmblock/mountPoint type vmblock (rw)
/dev/sdb1 on /home/scratch type ext3 (rw)
//c-usr.ais.columbia.edu/users on /home/ben/G type cifs (rw,mand)
knud/lvm.1267856342.txt.gz · Last modified: 2010/03/06 01:19 by ben