LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-06-2013, 03:32 AM   #1
maskiepop
Member
 
Registered: Jul 2008
Posts: 35

Rep: Reputation: 15
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
 
Old 11-06-2013, 06:46 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
You don't need to specify an offset or length, just use the partition itself as the source, see Example 2 here.
 
Old 11-06-2013, 03:48 PM   #3
maskiepop
Member
 
Registered: Jul 2008
Posts: 35

Original Poster
Rep: Reputation: 15
how to interpret the fdisk output

Thx.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mpstat output interpret and process info thllgo Linux - Server 6 07-12-2011 09:51 AM
How do I get bash not to interpret the output of a backquote command? curieux Linux - General 1 10-13-2010 08:23 AM
How to interpret Papi output kashyapa Linux - Software 0 07-30-2010 03:59 PM
interpret tcpdump output powah Linux - Networking 3 09-22-2008 07:22 PM
Wine debugger output: how do I interpret this? trashbird1240 Linux - Software 2 02-02-2007 01:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration