Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Please advice why I get the following errors: sfdisk: seek error on /dev/cciss/c0d0 - cannot seek to 533078016 (the last lines with the error) when I run the sfdisk command

    more c0d0-partition-info.sfdisk

    # partition table of /dev/cciss/c0d0
    unit: sectors

    /dev/cciss/c0d0p1 : start=       63, size=   401562, Id=83, bootable
    /dev/cciss/c0d0p2 : start=   401625, size=266331943, Id=83
    /dev/cciss/c0d0p3 : start=266733568, size=266342400, Id=83
    /dev/cciss/c0d0p4 : start=533078016, size= 52783104, Id= 5
    /dev/cciss/c0d0p5 : start=533080064, size= 25511936, Id=83
    /dev/cciss/c0d0p6 : start=558594048, size= 16771072, Id=82
    /dev/cciss/c0d0p7 : start=575367168, size= 10489856, Id=83

sfdisk --force /dev/cciss/c0d0 < c0d0-partition-info.sfdisk

 Disk /dev/cciss/c0d0: 35132 cylinders, 255 heads, 32 sectors/track
 Old situation:
 Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

 Device Boot Start     End   #cyls    #blocks   Id  System
 /dev/cciss/c0d0p1   *      0+     24      25-    200781   83  Linux
 /dev/cciss/c0d0p2         25    7334    7310   58717575   83  Linux
 /dev/cciss/c0d0p3       7335   14644    7310   58717575   83  Linux
 /dev/cciss/c0d0p4      14645   17843    3199   25695967+   5  Extended
 /dev/cciss/c0d0p5      14645+  16146    1502-  12064783+  83  Linux
 /dev/cciss/c0d0p6      16147+  17190    1044-   8385898+  82  Linux swap / Solaris
 /dev/cciss/c0d0p7      17191+  17843     653-   5245191   83  Linux
 New situation:
 Units = sectors of 512 bytes, counting from 0

 Device Boot    Start       End   #sectors  Id  System
 /dev/cciss/c0d0p1   *        63    401624     401562  83  Linux
 /dev/cciss/c0d0p2        401625 266733567  266331943  83  Linux
 /dev/cciss/c0d0p3     266733568 533075967  266342400  83  Linux
 /dev/cciss/c0d0p4     533078016 585861119   52783104   5  Extended
 /dev/cciss/c0d0p5     533080064 558591999   25511936  83  Linux
 /dev/cciss/c0d0p6     558594048 575365119   16771072  82  Linux swap / Solaris
 /dev/cciss/c0d0p7     575367168 585857023   10489856  83  Linux
 Re-reading the partition table ...

 d of disk
 lseek: Invalid argument

 sfdisk: seek error on /dev/cciss/c0d0 - cannot seek to 533078016
 If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
 to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
 (See fdisk(8).)
share|improve this question

closed as not a real question by random Aug 1 '11 at 20:53

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

Browse other questions tagged or ask your own question.