mount and umount large capacity external USB HDD (fstab)

email at guice.ath.cx email at guice.ath.cx
Mon Feb 7 06:21:12 UTC 2011


I really hope we aren't as ignorant as what these articles are making us
appear to be ...

We will try and not be long winded on this.

OUR GOAL:
To add a USB 3TB drive, with a UFS2 fs, to an already running x86 FreeBSD
7.3-p1 system.

PROBLEMS – The following sections from the FBSD Handbook are erroneous
and/or not properly working with this device.

18.3.1 Using sysinstall(8) – After all is said and done, we are only left
with da0s1, da0s2 and da0s3 within /dev.

18.3.2 Using Command Line Utilities
18.3.2.1 Using Slices – some of the commands in this section do not yield
positive results and fail. Example, as seen in the handbook:

WORKSTATION# dd if=/dev/zero of=/dev/da0 bs=1k count=1
dd: /dev/da0: Invalid argument
1+0 records in
0+0 records out
0 bytes transferred in 0.000108 secs (0 bytes/sec)

When we edit the ‘bs=1k’ to ‘bs=512k’ this appears to complete
successfully.  Another example:

WORKSTATION# fdisk -BI da0
******* Working on device /dev/da0 *******
fdisk: /boot/mbr: length must be a multiple of sector size

Honestly, how does this stuff make it in to the handbook?  Lets look at a
final example from the handbook; how is a novice suppose to know what to
do in the resulting file after using the following command,

bsdlabel -e da0s1

The system we are working on/with 

-
WORKSTATION# uname -r
7.3-RELEASE-p1
-
WORKSTATION# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad4s1a    484M    412M     33M    93%    /
devfs          1.0K    1.0K      0B   100%    /dev
/dev/ad4s1f    3.4G    168K    3.2G     0%    /tmp
/dev/ad4s1d    106G     23G     74G    23%    /usr
/dev/ad4s1e     29G    4.3G     22G    16%    /var
-
USB DEVICE: (3TB)
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Seagate FA GoFlex Desk 0155> Fixed Direct Access SCSI-4 device
da0: 40.000MB/s transfers
da0: 2861588MB (732566645 4096 byte sectors: 255H 63S/T 45600C)


Everyone says read the handbook, then when we do, this is what we get.



More information about the freebsd-usb mailing list