geekvenue.net

Welcome to Chucktips Hardware HELP WITH DEAD OS Installing FreeBSD Miscellaneous
 faq
 search
 add article
 cool-stuff
 how-to
 main
 tips


How to mount a USB 2.0 Hard Drive to FreeBSD
Hardware Posted by jeff chen on Monday November 29, @05:29PM
from the dept.
Hello, I'm a newbie at FreeBSD. My previous guy setup a file server for us using FreeBSD, but he's unavailable to help out. I've run out of room on my /dev/ar0s1d drive mounted on /export/fserve. I'm trying to plug in a USB 2.0 External hard drive so that i can backup the stuff to the external drive. What are the steps to mount the drive and then to copy the files over to clear up some space. Any help is appreciated. Jeff


<  |  >

 

Related Links
  • Articles on Hardware
  • Also by jeff chen
  • Contact author

    Lilliput Mini USB Computer Monitor

    If you have ever wanted to learn about Cisco Routers, check out my new book "Cisco Routers for the Small Business" - it's Cisco CLI for the Regular Guy!

  • Sponsors

    The Fine Print: The following comments are owned by whoever posted them.
    ( Add a Reply )

    Re: How to mount a USB 2.0 Hard Drive to FreeBSD
    by Understudy on Monday November 29, @06:00PM
    Okay a couple of things here. The basic command is:
    mount -t msdos /dev/da0s1 /mnt

    However that assumes you have a FAT32 partition on the usb drive. Which is fine. If you have a NTFS partition you need to have NTFS support in the kernel, which isn't very good right now. If it is a ufs partition (FreeBSD 4.x), the basic command is :
    mount -t ufs /dev/da0s1 /mnt

    If it is a ufs2 partition (FreeBSD 5.x), the basic command is :
    mount -t ufs2 /dev/da0s1 /mnt

    In order to copy the files you simply do:
    $ cp /diretoryname/filename /mnt/directoryname/filename
    as a very rough example.
    But if you want to free up space I recommend using move:
    $ mv /diretoryname/filename /mnt/directoryname/filename

    [ Add a Reply to this ]
    • Re: How to mount a USB 2.0 Hard Drive to FreeBSD
      by Understudy on Thursday February 10, @10:56PM
      The ufs2 mount mounts the same as ufs do not place the 2 after ufs.
      [ Reply to this ]
    • Re: How to mount a USB 2.0 Hard Drive to FreeBSD
      by veerreddy on Friday February 18, @09:43PM
      how i get an error when mounting external hdd to my system. i get this error mount :/dev/da0s4: operation not permited
      [ Reply to this ]
    Re: How to mount a USB 2.0 Hard Drive to FreeBSD
    by Understudy on Thursday February 10, @11:01PM
    There is a really cool article on how to format and create a file system and mount point for a new usb drive here.
    http://freebsd.backfire.ca/pages/newdisk
    I should update this for a usb specfic item but the idea is there.
    [ Add a Reply to this ]
    • Re: How to mount a USB 2.0 Hard Drive to FreeBSD
      by awais on Friday October 24, @08:00AM
      o thanks dear. you have solved my big probelm.
      [ Reply to this ]

     
    The Fine Print: The following comments are owned by whoever posted them.
    ( Article Reply )

    "You never know how many friends you have until you own a Condo on the beach." -- Jason's Postulate

    Powered by Zope  Powered by Apache  Squishdot Powered
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©2001 Jason Neumann.
    [ main | post article | search ]