Hi

Maybe my brain is sleeping. But I can't find a solution to why my externally 
connected disk with a FAT partition wont show up in OpenBSD. A simple USB 
memory stick seems to work and the FAT partition on the stick show up as 
"sd1i" and can easily be mounted...


I have attached an externa USB Sarotech disk storage with a 250 GB SATA disk 
inside to my OpenBSD 3.8. It show up as the following in dmesg:
sd1 at scsibus3 targ 1 lun 0: <Maxtor 7, Y250M0, YAR5> SCSI0 0/direct fixed
sd1: 238418MB, 238418 cyl, 64 head, 32 sec, 512 bytes/sec, 488281250 sec total




I have created partitions as follows:
[EMAIL PROTECTED]:~#fdisk -e sd1
fdisk: sysctl(machdep.bios.diskinfo): Device not configured
Enter 'help' for information
fdisk: 1> p
Disk: sd1       geometry: 238418/64/32 [488281250 Sectors]
Offset: 0       Signature: 0xAA55
         Starting       Ending       LBA Info:
 #: id    C   H  S -    C   H  S [       start:      size   ]
------------------------------------------------------------------------
*0: A6    0   0  1 - 210000  63 32 [           0:   430082048 ] OpenBSD
 1: 0C 210001   0  1 - 238417  63 32 [   430082048:    58198016 ] Win95 FAT32L
 2: 00    0   0  0 -    0   0  0 [           0:           0 ] unused
 3: 00    0   0  0 -    0   0  0 [           0:           0 ] unused




I have formatted sd1a and mounted it sucessfully as a 210GB std 4.2BSD partion 
on /mnt/TEST. I have also  moved the external disk to a Windows XP machine 
which can use the 27GB FAT32L partion that is left. However... A "disklabel 
sd1" wont show anything about my FAT partition at all. I can see that the 
space is there (subtraction of "a" from "c"). But that is all.


[EMAIL PROTECTED]:~#disklabel  sd1
# Inside MBR partition 0: type A6 start 0 size 430082048
# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label: Y250M0
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 238418
total sectors: 488281250
rpm: 3600
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]
  a:     430082048             0  4.2BSD   2048 16384  323 # Cyl     0 -210000
  c:     488281250             0  unused      0     0      # Cyl     0 
-238418*









ok ok my brain is sleeping. But I don't see where the problem is...
Do I have to add this FAT partition manually according to section 14.16.1 of 
the FAQ? Or what?


Thanks in advance
Per-Olov

Reply via email to