Skip to content

Instantly share code, notes, and snippets.

@yano3
Created June 2, 2012 14:39
Show Gist options
  • Save yano3/2858672 to your computer and use it in GitHub Desktop.
Save yano3/2858672 to your computer and use it in GitHub Desktop.
Sakura VPS Ubuntu 10.04 amd64 Guided - use entire disk and set up LVM
$ sudo fdisk -l
Disk /dev/vda: 214.7 GB, 214748364800 bytes
16 heads, 63 sectors/track, 416101 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00080477
Device Boot Start End Blocks Id System
/dev/vda1 * 3 496 248832 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/vda2 498 416100 209463297 5 Extended
Partition 2 does not end on cylinder boundary.
/dev/vda5 498 416100 209463296 8e Linux LVM
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/www11260uf-root
191G 841M 181G 1% /
none 1000M 184K 1000M 1% /dev
none 1005M 0 1005M 0% /dev/shm
none 1005M 32K 1005M 1% /var/run
none 1005M 0 1005M 0% /var/lock
none 1005M 0 1005M 0% /lib/init/rw
none 191G 841M 181G 1% /var/lib/ureadahead/debugfs
/dev/vda1 228M 17M 199M 8% /boot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment