ZFS Trouble mounting usb drive

Hi,

To start off i am very new to FreeBSD, and just installed it on my Laptop, I am currently running KDE5 on it. It seems that i am having trouble mounting my usb drive on my system, because every time i try to mount it nothing shows. Earlier i when trying to mount it i came across an error:

"Error: org.freedesktop.Hal.Device.PermissionDeniedByPolicy:
org.freedesktop.hal.storage.mount-fixed no"

I then did a little reasearch on it and from what i read i had to configure:
usr/local/etc/PolicyKit/PolicyKit.conf

I believe i may have made a mistake and/or forgot to do something else, because ever since configuring this file the usb does not show any more when mounting it, any help for this situation would be great!

I also used the command sysctl vfs.usermount=1

My configuration for /usr/local/etc/PolicyKit/PolicyKit.conf

Code:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->

<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"

"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">

<!-- See the manual page PolicyKit.conf(5) for file format -->
<config version="0.1">
<match user="root">
<return result="yes"/>
</match>
<define_admin_auth group="wheel"/>

<match action="org.freedesktop.hal.storage.mount-removable">
<match user="username">
<return result="yes"/>
</match>
</match>

<match action="org.freedesktop.hal.storage.mount-fixed">
<match user="username">
<return result="yes"/>
</match>
</match>

</config>
 
You need to modify this:
Code:
{..}
<match user="username">
{..}
<match user="username">
{..}

That username is supposed to be your username.
 
My apologies everyone "username" actually isn't my username, i just simply used that due to not feeling to comfortable posting my actual username on the forum, not that there's anything to hide or along those lines.

here's what it actually is:

Code:
<match action="org.freedesktop.hal.storage.mount-removable">
<match user="dreamon">
<return result="yes"/>
</match>
</match>

<match action="org.freedesktop.hal.storage.mount-fixed">
<match user="dreamon">
<return result="yes"/>
</match>
</match>
</config>
 
You need to modify this:
Code:
{..}
<match user="username">
{..}
<match user="username">
{..}

That username is supposed to be your username.

No its i only used that as an example username, due to not feeling all that comfortable posting my actual username on the forum since I'm very new here. However i do have it as:

Code:
{..}
<match user="dreamon">
{..}
<match user="dreamon">
{..}

My actual username is: dreamon
 
So i gave it a shot in trying to mount my usb drive, but its no where to be shown on my file manager. I used this command, and here is what i got: usbconfig

Code:
ugen5.1: <AMD OHCI root HUB> at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen3.1: <AMD OHCI root HUB> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen1.1: <AMD OHCI root HUB> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen4.1: <AMD EHCI root HUB> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen2.1: <AMD EHCI root HUB> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.1: <0x1022 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen3.2: <Broadcom Corp BCM20702A0> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (0mA)
ugen4.2: <Vimicro corp. Integrated Camera> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (256mA)
ugen0.2: <vendor 0x13fe USB DISK 2.0> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (200mA)

Like it shows the my USB DISK is on my system, but not listed on my file manager.
 
Why is this tagged ZFS? Does the USB drive have a ZFS filesystem on it? The reason I ask is because I'm wondering if you're able to mount the filesystem via the command line.
 
Why is this tagged ZFS? Does the USB drive have a ZFS filesystem on it? The reason I ask is because I'm wondering if you're able to mount the filesystem via the command line.

ZFS is what i currently use on my system, thats why i tagged it as ZFS. the USB drive does not have a ZFS filesystem.
 
Back
Top