Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

OpenBSD disklabel

  • 20-03-2006 7:41pm
    #1
    Registered Users, Registered Users 2 Posts: 1,105 ✭✭✭


    Anyone know how to diagnose disklabel problems???


    disklabel: warning, partition c: size % cylinder-size != 0


Comments

  • Closed Accounts Posts: 96 ✭✭krinDar


    larryone wrote:
    disklabel: warning, partition c: size % cylinder-size != 0

    The problem is that the size of the C: partition does not fill a
    complete cylinder.

    Can you put up the output of the partition table ?


  • Registered Users, Registered Users 2 Posts: 1,105 ✭✭✭larryone


    It's a disk from an Alpha server that I need to get data from... The Alpha server no longer boots, and I dont have the time right now to diagnose the problem. So I took the disk and lashed it into a Sun Ultra60, which is also running OpenBSD. My problem is that I cant remember all of the details of the partitioning that the disk had...
    machine$ disklabel sd1
    # /dev/rsd1c:
    type: SCSI
    disk: SCSI disk
    label: RZ2DD-LS (C) DEC
    flags:
    bytes/sector: 512
    sectors/track: 168
    tracks/cylinder: 20
    sectors/cylinder: 3360
    cylinders: 5273
    total sectors: 17773524
    rpm: 10045
    interleave: 1
    trackskew: 0
    cylinderskew: 0
    headswitch: 0           # microseconds
    track-to-track seek: 0  # microseconds
    drivedata: 0
    
    3 partitions:
    #             size        offset  fstype [fsize bsize  cpg]
      c:      17773524             0  unused      0     0      # Cyl     0 -  5289*
    disklabel: warning, partition c: size % cylinder-size != 0
    machine$
    machine$ disklabel -r sd1
    disklabel: no disklabel found. scanning.
    disklabel: no disk label
    machine$
    


  • Registered Users, Registered Users 2 Posts: 1,105 ✭✭✭larryone


    I also have a complete dd from the disk on aother machine - considering trying to dig through that to get the data out of it, but I'm not really sure yet how to go about doing that...


  • Registered Users, Registered Users 2 Posts: 1,105 ✭✭✭larryone


    If I edit the disklabel so it has the size of "c" is sectors per cylinder times the number of cylinders, I get this:
    machine$ disklabel sd1
    # /dev/rsd1c:
    type: SCSI
    disk: SCSI disk
    label: RZ2DD-LS (C) DEC
    flags:
    bytes/sector: 512
    sectors/track: 168
    tracks/cylinder: 20
    sectors/cylinder: 3360
    cylinders: 5273
    total sectors: 17717280
    rpm: 10045
    interleave: 1
    trackskew: 0
    cylinderskew: 0
    headswitch: 0           # microseconds
    track-to-track seek: 0  # microseconds
    drivedata: 0
    
    16 partitions:
    #             size        offset  fstype [fsize bsize  cpg]
      c:      17717280             0  unused      0     0      # Cyl     0 -  5272
    machine$
    
    But I know theat there is an "a" "b" and "d" on the disk, possibly others... the copy of disklabel on the system now gives me this, and trying to read the disklabel straight from the disk fails...


Advertisement