This is embarrassing.  I have a second disk in my laptop which I
use for storing large things (500G disk).  A few weeks ago I was
dealing with a bunch of USB disks, and I guess I managed to
blitz sd1 (500G disk) in the process.

It used to be one 'a' partition of the entire disk.  When I looked
just a moment ago (see data below) I have a very small part
of the disk carved up for OpenBSD and no partitions.  Somehow
during my diskfest I worked on the wrong disk.

It's not the end of the world if I don't get it back, and I do
have some backups, but still.....

My thought is to run fdisk again and give it the entire disk
and then disklabel it with the one 'a' partition.  Assuming that
I didn't write to the disk (I don't think I did), this should
work... Right?

Thanks,

--STeve Andre'
(red faced at the moment)

[relevant data]
paladin ~ fdisk sd1
Disk: sd1       geometry: 64601/240/63 [976773168 Sectors]
Offset: 0       Signature: 0x0
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 3: A6      0   1   1 -     66  34   1 [          63:     1000000 ] OpenBSD
paladin ~ disklabel sd1
# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label: ST9500325AS
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 240
sectors/cylinder: 15120
cylinders: 64601
total sectors: 976773168
rpm: 3600
interleave: 1
boundstart: 0
boundend: 976773168
drivedata: 0

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  c:        976773168                0  unused
paladin ~

Reply via email to