Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
ubuntu@ip-10-40-107-82:~$ fdisk -l
ubuntu@ip-10-40-107-82:~$ sudo fdisk -l
Disk /dev/xvda1: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders, total 16777216 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: 0x00000000
Disk /dev/xvda1 doesn't contain a valid partition table
Disk /dev/xvdb: 160.1 GB, 160104972288 bytes
255 heads, 63 sectors/track, 19464 cylinders, total 312705024 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: 0x00000000
Disk /dev/xvdb doesn't contain a valid partition table
Disk /dev/xvda3: 939 MB, 939524096 bytes
255 heads, 63 sectors/track, 114 cylinders, total 1835008 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: 0x00000000
Disk /dev/xvda3 doesn't contain a valid partition table
ubuntu@ip-10-40-107-82:~$ cat /proc/partitions
major minor #blocks name
202 1 8388608 xvda1
202 16 156352512 xvdb
202 3 917504 xvda3
ubuntu@ip-10-40-107-82:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xvda1 8256952 790800 7046724 11% /
udev 838328 8 838320 1% /dev
tmpfs 338520 168 338352 1% /run
none 5120 0 5120 0% /run/lock
none 846300 0 846300 0% /run/shm
/dev/xvdb 153899044 192068 145889352 1% /mnt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment