LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to interpret the fdisk output (https://www.linuxquestions.org/questions/linux-general-1/how-to-interpret-the-fdisk-output-4175483558/)

maskiepop 11-06-2013 03:32 AM

how to interpret the fdisk output
 
Below is an the output from: fdisk -l /.dev/sde. I want to run ddrescues of /dev/sde1 and /dev/sde2. How do I specify the starting position in bytes and the total size in bytes for partions /dev/sde1 and /dev/sde2.

I find the terminologies, units used, etc of the HD confusing. Can someone point me to some literature, or tutorial on this subject?


Disk /dev/sde: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 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: 0x000b69a0

Device Boot Start End Blocks Id System
/dev/sde1 2048 51202047 25600000 8e Linux LVM
/dev/sde2 51202048 994920447 471859200 8e Linux LVM
/dev/sde3 994921515 2043500129 524289307+ 5 Extended
/dev/sde5 994922496 1047351295 26214400 83 Linux
/dev/sde6 1047353344 2043498495 498072576 83 Linux

kbp 11-06-2013 06:46 AM

You don't need to specify an offset or length, just use the partition itself as the source, see Example 2 here.

maskiepop 11-06-2013 03:48 PM

how to interpret the fdisk output
 
Thx.


All times are GMT -5. The time now is 12:08 AM.