getting started with USB hard drive
petermatulis at yahoo.ca
Tue Feb 21 11:28:48 PST 2006
--- Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:
> On 2006-02-21 11:44, Peter <petermatulis at yahoo.ca> wrote:
> > Hi. I picked up a USB hard drive and quite frankly I am not sure how
> > use disklabel with it (what device I should use). Here are the
> > appended to my logs when connected:
> > kernel: umass0: PI-036 USB2.0 Drive, rev 2.00/0.01, addr 3
> > kernel: umass0: Get Max Lun not supported (STALLED)
> > kernel: da0 at umass-sim0 bus 0 target 0 lun 0
> > kernel: da0: <WDC WD20 00JB-00KFA0 \0000\0000> Fixed Direct Access
> > device
> > kernel: da0: 1.000MB/s transfers
> > kernel: da0: 190782MB (390721968 512 byte sectors: 255H 63S/T 24321C)
> > Can anyone lend a hand? I am running 5.4-STABLE with a "pretty
> > kernel".
> Very cool!
> Your kernel discovered the USB disk and created a /dev/da0 device node
> for it.
> I think you'l find this post useful, as it describes what I did to use
> my own USB disk on FreeBSD:
> Then this one too, to enable USB 2.X support (and greater transfer
> speeds, as a result):
Thanks for your links. I have a hell of a time setting up disks. This is
what I did:
# fdisk -BI da0 (using just -I failed)
# bsdlabel -w da0
Then I get stuck.
# bsdlabel da0s1 (fails)
So, as usual, I retreat back to sysinstall.
Now I have da0s1
# bsdlabel da0s1
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
# size offset fstype [fsize bsize bps/cpg]
c: 390716802 0 unused 0 0 # "raw" part,
d: 390716802 0 4.2BSD 2048 16384 28552
bsdlabel: partition c doesn't cover the whole unit!
bsdlabel: An incorrect partition c may cause problems for standard system
Now I wonder why this disk which is supposed to be 200 GB, was detected by
FreeBSD (when connected) as 190 GB, shows up as 186 GB inside sysinstall,
and has a size of 180 GB when seen by df.
Find your next car at http://autos.yahoo.ca
More information about the freebsd-questions