Hello, 

I did a complete deletion of all partitions of an external usb hd by
means of diskmgmt.msc under windows, followed by partitioning and
formating to msdos fat32 with kind help of acronis true image since
windows xp does not do such things natively. 

Very unexpectedly (to me) under OpenBSD the fdisk output (see below)
reflects the new layout, but disklabel output (see below) shows the old
partition size. Apart from me wondering how the disklabel(5) could
survive all the messing about under windows, my question is: is
``disklabel -d'' the way to go?
-d Use the default label. This ignores any existing OpenBSD disk label
   on the disk.

Of course I could just try it, but copying 500GB takes quite a while...

Thanks in advance, Marcus

Disk: sd1       geometry: 91201/255/63 [1465149168 Sectors]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
*0: 0C      0  32  33 -  91201  52  51 [        2048:  1465145344 ] Win95 FAT32L
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      

# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label: holmer-medien-01
duid: 94f3e0ef639263f9
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 91201
total sectors: 1465149168
boundstart: 0
boundend: 1465149168
drivedata: 0 

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  c:       1465149168                0  unused                   
  i:       1048576000             2048   MSDOS                   # 

Reply via email to