Skip to content

Instantly share code, notes, and snippets.

@anddam
Last active October 15, 2016 17:20
Show Gist options
  • Select an option

  • Save anddam/e91f0388ee661202d0542bb9f7621f15 to your computer and use it in GitHub Desktop.

Select an option

Save anddam/e91f0388ee661202d0542bb9f7621f15 to your computer and use it in GitHub Desktop.
root@remora:/# sgdisk --print /dev/sda
Disk /dev/sda: 625142448 sectors, 298.1 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 1432CDE6-FAD3-403E-AAA7-7FECBA39D723
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 625142414
Partitions will be aligned on 2048-sector boundaries
Total free space is 199277 sectors (97.3 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 1003519 489.0 MiB EF00
2 1003520 429910015 204.5 GiB 8E00
3 429910016 438298623 4.0 GiB A502 swap
4 438298624 624945151 89.0 GiB A503 root
root@remora:/# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 298.1G 0 disk
|-sda1 8:1 0 489M 0 part /boot/efi
|-sda2 8:2 0 204.5G 0 part
| |-remora--vg-remora--root 254:0 0 197.1G 0 lvm /
| `-remora--vg-remora--swap 254:1 0 7.5G 0 lvm [SWAP]
|-sda3 8:3 0 4G 0 part
`-sda4 8:4 0 89G 0 part
sdb 8:16 0 931.5G 0 disk
|-sdb1 8:17 0 200M 0 part
`-sdb2 8:18 0 931.3G 0 part /media/timemachine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment