Skip to content

Instantly share code, notes, and snippets.

@neofob
Created August 12, 2013 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neofob/6213412 to your computer and use it in GitHub Desktop.
Save neofob/6213412 to your computer and use it in GitHub Desktop.
Output from `fdisk -l`. LSI MegaRAID SAS 84016E

Screenshot of fdisk after partitioning 1TB drive

Command (m for help): p

Disk /dev/sda: 999.0 GB, 998999326720 bytes
255 heads, 63 sectors/track, 121454 cylinders, total 1951170560 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: 0x074cc975

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048    33556479    16777216   83  Linux
/dev/sda2        33556480  1951170559   958807040   83  Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

Output from fdisk -l after that

# fdisk -l /dev/sda

Disk /dev/sda: 999.0 GB, 998999326720 bytes
255 heads, 63 sectors/track, 121454 cylinders, total 1951170560 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/sda doesn't contain a valid partition table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment