Created
September 11, 2012 17:51
-
-
Save kohsuke/3700253 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kohsuke@cabbage:~$ cat /proc/partitions | |
major minor #blocks name | |
8 0 878905344 sda | |
8 1 194560 sda1 | |
8 2 19530752 sda2 | |
8 3 859177984 sda3 | |
251 0 3903488 dm-0 | |
251 1 104857600 dm-1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kohsuke@cabbage:~$ sudo vgdisplay -v | |
Finding all volume groups | |
Finding volume group "lvm" | |
--- Volume group --- | |
VG Name lvm | |
System ID | |
Format lvm2 | |
Metadata Areas 1 | |
Metadata Sequence No 5 | |
VG Access read/write | |
VG Status resizable | |
MAX LV 0 | |
Cur LV 2 | |
Open LV 1 | |
Max PV 0 | |
Cur PV 1 | |
Act PV 1 | |
VG Size 819.38 GiB | |
PE Size 4.00 MiB | |
Total PE 209760 | |
Alloc PE / Size 26553 / 103.72 GiB | |
Free PE / Size 183207 / 715.65 GiB | |
VG UUID WBqFYE-TQZO-3vHQ-Yy72-ySP8-jz3u-LwDcPf | |
--- Logical volume --- | |
LV Name /dev/lvm/swap | |
VG Name lvm | |
LV UUID zY12k4-K3gR-D5q5-WmXB-aH5O-Dqsy-2FPRhr | |
LV Write Access read/write | |
LV Status available | |
# open 1 | |
LV Size 3.72 GiB | |
Current LE 953 | |
Segments 1 | |
Allocation inherit | |
Read ahead sectors auto | |
- currently set to 256 | |
Block device 251:0 | |
--- Logical volume --- | |
LV Name /dev/lvm/srv | |
VG Name lvm | |
LV UUID J22WV3-R0ci-k72t-DUDn-ocgk-EmMf-890EQa | |
LV Write Access read/write | |
LV Status available | |
# open 0 | |
LV Size 100.00 GiB | |
Current LE 25600 | |
Segments 1 | |
Allocation inherit | |
Read ahead sectors auto | |
- currently set to 256 | |
Block device 251:1 | |
--- Physical volumes --- | |
PV Name /dev/sda3 | |
PV UUID VTRC9I-11Tx-Zv7K-hnib-mp0p-NpzQ-BNc9Qk | |
PV Status allocatable | |
Total PE / Free PE 209760 / 183207 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
kohsuke@cabbage:~$ mount
/dev/sda2 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/dev/sda1 on /boot type ext4 (rw)