[PC-BSD Testing] Mounting USB Hard Drives

Brodey Dover doverosx at gmail.com
Fri May 7 15:01:53 PDT 2010


Right setting mount -t msdosfs WILL NOT work with NTFS... If you have PC-BSD
we should have fuse.ko loaded but try with this instead...

mount -t ntfs-3g

On Fri, May 7, 2010 at 2:42 PM, Jeff <dejamuse at yahoo.com> wrote:

> This drive is a WD combo, 300GB, NTFS.
>
> It works fine under Windoze.
>
> This gives an error (invalid argument): mount -o large -t msdosfs /dev/da1
> /media/Backup
>
> Ditto with: mount -o large -t msdosfs /dev/da1s1 /media/Backup
>
> Both da1 and da1s1 are shown in the dev list (perms = 640), but camcontrol
> shows it as da1.
>
> The drive is recognized when plugged in and the little USB stick symbol
> shows up in Dolphin but when you click on it nothing happens.
>
>
> --- On *Thu, 5/6/10, Mike Bybee <mbybee at dometrilogy.com>* wrote:
>
>
> From: Mike Bybee <mbybee at dometrilogy.com>
> Subject: Re: [PC-BSD Testing] Mounting USB Hard Drives
>
> To: "PC-BSD Testing list" <testing at lists.pcbsd.org>
> Date: Thursday, May 6, 2010, 5:57 PM
>
>
>
> On Thu, May 6, 2010 at 2:33 PM, Ian Robinson <fitchkendall at gmail.com>wrote:
>
>>
>>
>> On Thu, May 6, 2010 at 3:00 PM, Jeff wrote:
>>
>> Another drive I have was formatted for Windoze.? Way back in PCBSD 7 or
>>> possibly earlier, I was able to read this drive and retrieve some old
>>> Windoze files.? I cannot mount this drive anymore using various combinations
>>> of: mount_msdosfs -o large /dev/da0s1 /media/Backup
>>>
>>> Or: mount -o large -t msdosfs /dev/da0s1 /media/Backup
>>>
>>> camcontrol devlist reports this drive as da0.
>>>
>>
>> 1.  Sometimes a USB device will not mount with the /dev/da0s1 argument but
>> will mount with /dev/da0
>>
>> 2.  The FreeBSD handbook (@
>> http://www.freebsd.org/doc/en/books/handbook/usb-disks.html  ) adds a
>> couple of "extras" which may be worth reviewing:
>>
>>
>> ======= Begin Quote from FreeBSD Handbook ================
>>
>> "To make this device mountable as a normal user, certain steps have to be
>> taken. First, the devices that are created when a USB storage device is
>> connected need to be accessible by the user. A solution is to make all users
>> of these devices a member of the operator group. This is done with pw(8)<http://www.freebsd.org/cgi/man.cgi?query=pw&sektion=8>.
>> Second, when the devices are created, the operator group should be able
>> to read and write them. This is accomplished by adding these lines to
>> /etc/devfs.rules:
>>
>> [localrules=5]
>> add path 'da*' mode 0660 group operator
>>
>>  *Note:* If there already are SCSI disks in the system, it must be done a
>> bit different. E.g., if the system already contains disks da0 through da2attached to the system, change the second line as follows:
>>
>> add path 'da[3-9]*' mode 0660 group operator
>>
>> This will exclude the already existing disks from belonging to the
>> operator group.
>>
>>  You also have to enable your devfs.rules(5)<http://www.freebsd.org/cgi/man.cgi?query=devfs.rules&sektion=5>ruleset in your
>> /etc/rc.conf file:
>>
>> devfs_system_ruleset="localrules"
>>
>> Next, the kernel has to be configured to allow regular users to mount file
>> systems. The easiest way is to add the following line to /etc/sysctl.conf
>> :
>>
>> vfs.usermount=1
>>
>> Note that this only takes effect after the next reboot. Alternatively, one
>> can also use sysctl(8)<http://www.freebsd.org/cgi/man.cgi?query=sysctl&sektion=8>to set this variable.
>>
>> The final step is to create a directory where the file system is to be
>> mounted. This directory needs to be owned by the user that is to mount the
>> file system. One way to do that is for root to create a subdirectory
>> owned by that user as /mnt/*username* (replace *username* by the login
>> name of the actual user and *usergroup* by the user's primary group):
>>
>> # mkdir /mnt/*username*
>> # chown *username*:*usergroup* /mnt/*username*"
>>
>>
>> ======= End Quote from FreeBSD Handbook ================
>>
>>
>> 3.  The last three Western Digital external USB drives I bought with 500
>> Gb and larger came formatted NTFS.  Are yours formatted Fat32 or NTFS?
>>
>> 4.  Even then, NTFS may present mounting issues on 8.0/64 bit
>> installations.  See " [solved] *Can't mount ntfs usb hard drive"* @
>> 4ttp://forums.freebsd.org/showthread.php?t=11968
>>
>> 5.  There are reports of USB disks hanging during the boot/POST sequence
>> with a recommendation to "disable legacy USB support" in the BIOS.  See @
>> http://forums.freebsd.org/showthread.php?t=11650
>>
>> Ian Robinson
>> Salem, Ohio
>>
>>
>>
>>
>>
>> _______________________________________________
>> Testing mailing list
>> Testing at lists.pcbsd.org
>> http://lists.pcbsd.org/mailman/listinfo/testing
>>
>>
> I've had major issues with NTFS USB drives on the new PC-BSD 8 images -
> especially the higher capacity ones. It's almost critical to make sure you
> plug them in once you're logged in - I haven't gotten one to work yet if it
> was plugged in prior to booting.
> Also worth noting is that the new extFAT that some of the new thumbdrives
> come with is nearly impossible to get working (I found it's far easier to
> just reformat them).
>
> --
> Thanks,
> Mike Bybee
>
> -----Inline Attachment Follows-----
>
> _______________________________________________
> Testing mailing list
> Testing at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/testing
>
>
>
> _______________________________________________
> Testing mailing list
> Testing at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/testing
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pcbsd.org/pipermail/testing/attachments/20100507/661cb6bd/attachment.html>


More information about the Testing mailing list