Smb-sharing auto-mounted ntfs-3g hotplugged device

hi@all,
i have a smb-share for /media. i've got up to 2 partitions mounted there: one internal., mounted via fstab (/dev/sda2 /media/Transfer ntfs-3g locale=de_DE.utf8 0 0) and 1 that gets mounted automatically via udisk/gvfs (not really sure, the default gnome mounting routine^^). i can access sda2 without problems over a samba share, but when i try to open the external hdd, samba requests a user and a password, though it's the same share in the smb.conf. someone in the irc mentioned to put it into the fstab, either, but then the auto-mounting doesn't work anymore (and the external isn't connected everytime the pc boots up). anyone knows how to get this working?
btw, here's how the external hdd gets mounted:
/dev/sdc1 on /media/Extern type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
and the smb.conf:
[global]
workgroup = Arbeitsgruppe
server string = Samba Server
netbios name = ArchBox
security = share
wins support = no
[Media]
path = /media
available = yes
browsable = yes
public = yes
writable = yes
thx for your help,
das_coach
PS: sorry for my bad english, i hope you know what i meant^^ and if you need further information, just ask=)
@mods: i hope this is the right section, it's more the mounting-thing than samba i think^^

hi@all,
i have a smb-share for /media. i've got up to 2 partitions mounted there: one internal., mounted via fstab (/dev/sda2 /media/Transfer ntfs-3g locale=de_DE.utf8 0 0) and 1 that gets mounted automatically via udisk/gvfs (not really sure, the default gnome mounting routine^^). i can access sda2 without problems over a samba share, but when i try to open the external hdd, samba requests a user and a password, though it's the same share in the smb.conf. someone in the irc mentioned to put it into the fstab, either, but then the auto-mounting doesn't work anymore (and the external isn't connected everytime the pc boots up). anyone knows how to get this working?
btw, here's how the external hdd gets mounted:
/dev/sdc1 on /media/Extern type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
and the smb.conf:
[global]
workgroup = Arbeitsgruppe
server string = Samba Server
netbios name = ArchBox
security = share
wins support = no
[Media]
path = /media
available = yes
browsable = yes
public = yes
writable = yes
thx for your help,
das_coach
PS: sorry for my bad english, i hope you know what i meant^^ and if you need further information, just ask=)
@mods: i hope this is the right section, it's more the mounting-thing than samba i think^^

Similar Messages

  • How to setup ivman to auto-mount ntfs partition using ntfs-3g

    Hi,
    I use ivman/pmount to auto-mount removable devices,
    but for ntfs partitions, it mounts by type "ntfs" which can not support "write"!
    But I can not figure out how to config ivman to do that,
    can someone help me, please?
    BR,
    bsdson.tw

    Hi,
    I use ivman/pmount to auto-mount removable devices,
    but for ntfs partitions, it mounts by type "ntfs" which can not support "write"!
    But I can not figure out how to config ivman to do that,
    can someone help me, please?
    BR,
    bsdson.tw

  • SMB shared drive mounts, but I can see the folders

    Hi,
    I'm having issues seeing the shared folders in a SMB drive that mounts ok in my Mac. I use my active directory account with domain and password to authenticate, and after the drive successfully mounts, it just won't show anything in it, it seems to be empty but in the get info panel it shows 1.3 Tb.
    Anyone can help me out. I really need to access the shared files.
    Pablo

    I have worked it out.
    I was mounting the wrong drive (700+ drives...) hence couldn't open its contents.
    Now I'm a happy share drive user!
    P

  • Auto-mounting USB storage devices doesn't work

    Hi all,
    I have some problems with the auto-mounting of USB storage devices. I already installed udisks and ntfs-3g.
    When I connect the external device (it's an external hard disk WD My Passport 500GB, but I have the same problem with a SanDisk USB stick 8GB) the auto-mount doesn't work. I see a shorcut in the left panel of Thunar but if I try to use it Thunar crash without any message error.
    I try with the manual mount and it works, but the left panel of Thunar continue to have the same problem.
    In the italian Arch forum a friend suggest me to open Thunar from bash and close it. If I do it I receive this error log:
    $ thunar
    thunar: symbol lookup error: /usr/lib/libstdc++.so.6: undefined symbol: _ZNSt14error_categoryD2Ev, version GLIBCXX_3.4.15
    and this is the reply of dmesg command:
    [ 340.826768] usb 1-1: new high speed USB device number 2 using ehci_hcd
    [ 341.591397] Initializing USB Mass Storage driver...
    [ 341.592166] scsi6 : usb-storage 1-1:1.0
    [ 341.592345] usbcore: registered new interface driver usb-storage
    [ 341.592349] USB Mass Storage support registered.
    [ 341.599805] usbcore: registered new interface driver uas
    [ 342.591094] scsi 6:0:0:0: Direct-Access WD My Passport 070A 1032 PQ: 0 ANSI: 4
    [ 342.591474] sd 6:0:0:0: Attached scsi generic sg1 type 0
    [ 342.592845] scsi 6:0:0:1: CD-ROM WD Virtual CD 070A 1032 PQ: 0 ANSI: 4
    [ 342.593048] scsi 6:0:0:1: Attached scsi generic sg2 type 5
    [ 342.594050] sd 6:0:0:0: [sdb] 975400960 512-byte logical blocks: (499 GB/465 GiB)
    [ 342.594814] scsi 6:0:0:2: Enclosure WD SES Device 1032 PQ: 0 ANSI: 4
    [ 342.595141] scsi 6:0:0:2: Attached scsi generic sg3 type 13
    [ 342.596546] sd 6:0:0:0: [sdb] Write Protect is off
    [ 342.596553] sd 6:0:0:0: [sdb] Mode Sense: 23 00 10 00
    [ 342.596557] sd 6:0:0:0: [sdb] Assuming drive cache: write through
    [ 342.599163] sd 6:0:0:0: [sdb] Assuming drive cache: write through
    [ 342.618228] sdb: sdb1
    [ 342.621039] sd 6:0:0:0: [sdb] Assuming drive cache: write through
    [ 342.621046] sd 6:0:0:0: [sdb] Attached SCSI disk
    [ 342.665174] sr0: scsi3-mmc drive: 51x/51x caddy
    [ 342.665180] cdrom: Uniform CD-ROM driver Revision: 3.20
    [ 342.665447] sr 6:0:0:1: Attached scsi CD-ROM sr0
    [ 342.665654] ses 6:0:0:2: Attached Enclosure device
    [ 349.105348] [b]Thunar[996]: segfault at 0 ip b6de1660 sp bfe586f4 error 4 in libglib-2.0.so.0.2800.8[b6d6f000+ed000][/b]
    Do you have any suggestion?
    Thank you very much,
    Gianluca

    Are you using [testing]? Partially updated system?
    The error looks like you have a different version of gcc-libs / glibc than the app was built against.
    Last edited by Mr.Elendig (2011-06-20 19:16:33)

  • Stop Auto Mount of SMB Home Folder

    For awhile, I tried SMB home folders for network users.  This worked poorly, so i went back to using AFP.
    However, for most users, their  network home folder is now getting auto mounted by SMB at login.
    I've checked WGM manager to make sure they have AFP homes and that no SMB home is assigned.
    I've checked the users control panel to see if there is an automount setup there.  Nothing.
    Where else could auto mount information be stored and how can I find it to wipe it out?

    Normally it would be a matter of changing the server to register the AFP share as an auto mount for user home directories, then you have to use Workgroup Manager to reconfigure each user to select the new share location which should now be listed in the Home tab in Workgroup Manager.
    If you only do the first step the user account will still be set to the original settings.
    Is this using Open Directory and a Mac file server? The process might be more complicated if your using Windows Active Directory, and typically a Windows server does not do AFP.

  • [Device Auto-mounting] HAL,KDE4.4 and default permissions

    Hello,
    I have a small problem with default permissions of Automounted
    Removable Devices. Whenever I mount it via KDE4.4's Auto-mounter. it
    sets all files to be owned by root.
    > ls -la /media/Backup/
    total 28
    drwxr-xr-x 4 root root 4096 Feb 11 14:46 .
    drwxr-xr-x 6 root root 4096 Feb 11 14:44 ..
    drwxr-xr-x 3 root root 4096 Feb 11 14:46 Gaurish_data
    drwx------ 2 root root 16384 Feb 10 16:07 lost+found
    I know KDE does not mount anything, it asks HAL. nothing is in
    /etc/fstab but in /etc/mtab and in /proc/mount I got
    $ cat /etc/mtab
    /dev/sdb1 /media/Backup ext4 rw,nosuid,nodev,uhelper=hal 0 0
    $ cat /proc/mounts
    /dev/sdb1 /media/Backup ext4
    rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
    I like all my files and folders to be owner by me and NOT by root.
    any help?

    Are you using [testing]? Partially updated system?
    The error looks like you have a different version of gcc-libs / glibc than the app was built against.
    Last edited by Mr.Elendig (2011-06-20 19:16:33)

  • No auto mount of NTFS partititions

    Hi All,
    I'm a newbie Arch user, few weeks ago I successfully installed Arch x64 + KDE4 on my desktop (dual boot with Windows 7). Earlier all the NTFS partitions were auto mounted on boot but now after booting into the desktop, I get the following error in Dolphin when I try to access any NTFS partition:
    An error occured while accessing 'Disk', the system responded: org.freedesktop.UDisks.Error.PermissionDenied: Not Authorized
    Once I provide the admin password and manually mount the partitions, then I'm able to access the partitions.
    Please advise on how can I make auto-mounting of NTFS partitions work.

    Use fstab to mount internal stuff at boot. (and make sure to have ntfs-3g installed)
    Last edited by Mr.Elendig (2011-04-09 11:48:02)

  • Working auto-mount?

    Hi all,
    I have a xfce4 desktop installed. I want an automount service. I tried autoFS, with the following settings:
    auto.master
    /media /etc/autofs/auto.custom --timeout=15
    auto.custom
    disc -fstype=auto,ro,nodev,nosuid :/dev/cdrom
    Backup -fstype=auto,user,rw,async,umask=000,gid=users,noatime,nodiratime :/dev/disk/by-uuid/f569bba5-8007-40f5-8b3c-36960c5796d5
    ## Backup -fstype=ext4,user,rw,async,umask=000,gid=users,noatime,nodiratime :/dev/disk/by-uuid/f569bba5-8007-40f5-8b3c-36960c5796d5
    Shared -fstype=ntfs-3g,user,rw,async,umask=000,gid=users,noatime,nodiratime :/d ev/disk/by-uuid/565AF3085AF2E421
    ReaderCard -fstype=vfat,flush,user,rw,async,umask=000,gid=users,noatime,nodirat
    ime :/dev/disk/by-uuid/0102-0304
    ##ReaderInt -fstype=auto,async,nodev,nosuid,umask=000,gid=users :
    ## Other medium here
    # floppy -fstype=auto,async,nodev,nosuid,umask=000 :/dev/fl
    The files are formatted following the instructions. The partition Backup, however, does not come up ("no such file or directory", even when root).
    Backup is ext4 and it's kept on an external hard drive, the same of Shared. Mounting it manually works. I have tried with simpler options (as simple as
    Backup -fstype=auto :/dev/disk/by-uuid/f569bba5-8007-40f5-8b3c-36960c5796d5
    with no results. Autofs won't do.
    As an alternative I have tried xfce volume manager, but that doesn't work with ANY external device.
    Please help. Thank you.

    That would be a solution - if it worked. I tried that too. The Arch wiki just glances on the setup, solving the whole question with a one liner "Thunar-volman's automount doesn't work currently because of the hal to udev switch, Sept 2010"
    The section on udev is obscure, mentioning to check policykit to "properly start your session".
    However the policykit page is also obscure, containing no mention about starting X session properly or even improperly for what matters.
    The default setting produces no result at all.
    Nowhere I was able to find a five-lines working example of set up. I have used Linux daily since 2000 (and I know it should not take more than 5 line explanation to setup an auto-mount).
    I am really embittered by this interpretation of "the arch way". The documentation on certain core tools such as policykit is completely insufficient and the defaults do not solve basic problems (hours to set up a basic auto-mount? incomplete wiki pages referring each other?).
    Arch could be a perfect desktop distribution with just a pinch of attention to put the obvious features, when correctly disabled by default, at easy reach through complete examples. (Shutdown buttons? Same story: one line reference to policykit, dbus and other 10 tools with not the barest explanation about how to use them in synergy for the purpose. Result? Manual shutdown for the moment).
    If you could provide a working setup for thunar volume manager I'll be happy to use and add it to the wiki.
    Thank you.

  • External Hard Drive connected to AEBS does not auto mount

    Just upgraded from Tiger 10.4.11 to Leopard 10.5.5. I have a AEBS running 5.3.2 airport utility with a LaCie HD connected to it.
    In Tiger, my external hard drive would auto mount onto the desktop every time the computer turned on or woke up from sleeping etc.
    In Leopard, my external drive will not auto mount. It does not show up in the sidebar under devices. It does not show up in the disk utility. To access it, I have to go the the finder sidebar, select my AEBS under shared, then select my HD. Also, I did check show connected servers and external disk on the desktop in the finder preferences. Also, not sure if this matters but the icon on my external drive on my desktop is the blue drive with three people holding hands and not the brighter blue one with the wireless signal logo.
    In tiger my external HD basically acted like any other folder that was always there and not like a networked drive that I had to go and connect to. I want to go back to that. I heard this has to do with leopord no longer having the airdisk utility??
    thanks

    Try making an alias of one of the top-level folders in your external (AEBS-connected) drive, drag it to the desktop, and then put it in your Login Items.
    --> System Preferences/Accounts/Login Items
    You can simply drag the folder alias into the Login Items window.
    When you next log in, the folder will be automatically opened. Alas, it doesn't give you instant access to the entire external drive, but you can back out a level to see the entire drive. It isn't quite what you had with Tiger, but perhaps it will suffice.
    If you leave the aliased folder on your desktop, you have a skinny approximation to the mounted volume that you had with Tiger.

  • Sharing a mounted disk image doesn't work

    Hello,
    I'm trying to create a share point for a folder on an USB drive that is TrueCrypt encrypted with no success so far. TrueCrypt mounts the volume using a disk image - but that should not matter since the image is writeable.
    The folder is located on a Mac OS Extended (Journaled) formatted volume. When creating the share by dragging the folder into the File Sharing pane in the Server Preferences app, the folder seems to get the correct ACL permissions.
    In the Finder Info, the volume does not have "Ignore ownership on this volume" checked.
    This is the folder that does not appear in the AFP listing, although "Share this item using AFP" is selected in Server Admin.
    drwxr-x---+ 86 admin staff 2924 Jan 15 12:59 folder1
    0: group:workgroup allow list,addfile,search,delete,add_subdirectory,delete_child,readattr,writeattr,readextattr, writeextattr,readsecurity,file_inherit,directoryinherit
    1: user:_spotlight inherited allow list,search,fileinherit,directoryinherit
    The strange thing is that the share appears in the directory listing when connecting via FTP as it's supposed to and the permissions seem to be fine (read/write ok). It also appears in the SMB share listing and can be mounted, but it's read only. Something's seriously wrong here, any idea what that could be?
    Thanks a lot,
    David

    Welcome to the discussions!
    +My question is... how can I have the remote disk auto-mounted upon connecting to the network?+
    Not sure if this will do what you want, but might be worth a look.
    Try System Preferences > Accounts > Login Items. Once you have clicked the Login Items tab, click the + (plus) button at the bottom of the list to display a Finder like interface. Navigate to the disk you want, highlight it, and click Add at the lower right.
    This should mount the disk when the computer is powered up. You will need to restart your computer for the change to take effect.

  • GNOME: How to get usbstick to auto-mount

    Hi there,
    This quite puzzles me. A few months ago, a friend of mine gave me his usbstick, and the thing just auto-mounted when plugged into a free USB port. Now I got my own stick, but no auto-mount, and mount /dev/sda1 doesn't work either ("no block device"). hotplug, dbus, hal, and udev are running. Do I need a special udev rule or something?
    Is there an easy, step-by-step guide somewhere how to set up Arch linux to (auto-) mount usbsticks? The Wiki entry isn't very helpful.
    Thanks,
    -Sascha.rb

    OK, forget it. The usbstick was broken, got a new one, works out-of-the box as it's supposed to ...
    First time I heard of a broken usbstick, though. Just my luck.

  • Help me, why i canot auto mount Usb harddisk?

    hi all,
    i have install a new archlinux, but i found i cant auto mount Usb harddisk
    Canot mount volume
    Canot get volume.fstype.alternative
    i have install hal,dbus , ntfs-3g, and add hal,dbus to rc.conf, why it still donnot work?

    yes, i add to storage group:
    [root@myhost figo]# groups figo
    wheel network video audio optical storage power users dbus hal stb-admin figo
    [root@myhost figo]#
    i have confuse, i use dolpin which is kde4 program, i cant mount my usb harddisk, but
    i have nautilus ,it canot mount.
    [root@myhost figo]# hal-device /dev/sdb1
    libhal.c 522 : invalid udi: /dev/sdb1 doesn't startwith '/org/freedesktop/Hal/devices/'.
    (null): (null)
    [root@myhost figo]#
    what is the problem?

  • Rhythmbox breaks auto mounting.

    For a few days I have struggeled with making gnome-volume-manager automount removable storage devices. Some times it woked and sometimes it did not. I had enabled hal and dbus I was sure gnome-volume-manager was running. Eventualy I even loggeg into Gnome as root and everything workes perfectly, so my system is configured correctly. So maybe it was a permission issue, was what first come to my mind, but eventualy it turned out to be Rhythmbox(Rb) who was the trubblemaker. Rb does not autostart as root, as it does on my regular user account, thats way it worked as root.
    Now, after some more testing, the situation is this: Automounting works perfektly until i start rhythmbox, then it just stop woking. Even if i stops Rhythmbox, automounting still is broken, even a "pkill gnome-volume-manager && gnome-volume-manager" does not fix it, but logging out and inn again does fix it! No other programs breaks auto mounting!!
    I have tried to recompile Rb without both the --with-ipod and --with-dbus flags, but it did not help? Otherwise I have a standard Arch-install.

    This is my rc.conf, so if you don't see anything wrong with it I can file a bug!
    # /etc/rc.conf - Main Configuration for Arch Linux
    # Localization
    # HARDWARECLOCK: set to "UTC" or "localtime"
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/unimaps
    # USECOLOR: use ANSI color sequences in startup messages
    HARDWARECLOCK="UTC"
    TIMEZONE=Europe/Oslo
    KEYMAP=no-latin1
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # Networking
    HOSTNAME="arch"
    # Module to load at boot-up (in this order)
    #   (prefix a module with a ! to disable it)
    MODULES=(usblp fuse snd-bt-sco)
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    #   - prefix an entry in INTERFACES with a ! to disable it
    # Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
    lo="lo 127.0.0.1"
    eth0="dhcp"
    ra0="dhcp"
    INTERFACES=(lo ra0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    #   - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up.  These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    #   - set to 'menu' to present a menu during boot-up
    #   - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network-profiles
    #NET_PROFILES=(main)
    # Daemons to start at boot-up (in this order)
    #   - prefix a daemon with a ! to disable it
    #   - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng hotplug sshd network netfs crond dbus portmap fam hal alsa cups uptimed sensors hcid)
    # End of file

  • Mounting NTFS on Solaris 10

    How can i munt the NTFS partition of my Windows XP on Solaris 10?
    Can somebody help me????
    It can be possible?

    Package FSWmisc now mounts NTFS partitions directly. No special mount_ntfs program required. It is based on Martin Rosenau's mount_ntfs. Package FSWpart comes with prtpart, which displays all the partitions, including extended partitions, and partition types.
    See http://www.genunix.org/distributions/belenix_site/binfiles/README.FSWfsmisc.txt
    Download from http://www.belenix.org/binfiles/FSWpart.tar.gz and http://www.belenix.org/binfiles/FSWfsmisc.tar.gz
    Install with pkgadd -d . (in the directory you unpacked the above two tarballs).
    Here's a sample /etc/vfstab line:
    /dev/dsk/c0d0p1     -     /c     ntfs     -     no     roAnd sample output from mount and xlsmounts:
    # mount
    /c on 127.0.0.1:/ remote/read only/setuid/devices/port=33249/public/vers=2/proto=udp/xattr/dev=4700004 on Sun Nov 26 19:42:29 2006
    # xlsmounts
      PHYSICAL DEVICE                 LOGICAL DEVICE      FS    PID         ADDR Mounted on
      /dev/dsk/c0d0p1                /dev/dsk/c0d0p1    ntfs   3354  127.0.0.1:/ /cAlso both mount_ntfs and FSWfsmisc work with Solaris 10 and OpenSolaris ("Nevada").

  • Can not able to mount ntfs external hard disk

    Hi
    Getting the below error when try to mount NTFS external harddisk
    Disk /dev/sdb: 1000.2 GB, 1000204885504 bytes
    255 heads, 63 sectors/track, 121601 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /dev/sdb1 1 121602 976761558 7 HPFS/NTFS
    sudo mount -t ntfs /dev/sdb1 /media
    [root@devtest ~]# sudo mkdir /media/Skliros_Diskos
    [root@devtest ~]# sudo mount -t ntfs-3g /dev/sdb1 /media/Skliros_Diskos
    mount: unknown filesystem type 'ntfs-3g'
    Rgrds,

    Oracle Linux NTFS how-to:
    Oracle Linux NTFS how-to

Maybe you are looking for

  • ISE Posture Remediation issue with AV client installation

    Problem: If  user start AV client installation in pc via AV link remediation after some time (while AV client  installation not completed yet) trend micro Update windows gets pop up but not start automatic AV or AS def  remediation and Cisco NAC agen

  • JavaTM 2 Standard Edition, version 1.4.0

    I have made the mistake of installing Java 1.4.0-b92 on my WindowsNT machine. Now none of my homespun Java applications work very well. 1) It is much slower even when it will work. 2) It looks as if it is taking its time before deciding what to do ne

  • Seems like a new modified url hack is back to reset passwords

    Was doing some studies. http://www.macrumors.com/2013/03/22/apple-id-security-hole-allows-password-reset -with-email-address-and-date-of-birth/ Seems this situation is back. For the past couple months, my recovery email kept getting the message about

  • FrameMaker 10 missing toolbars in Windows 7

    I use Parallels on a MacBook Pro to run Windows. Yesterday I finally got around to installing Windows 7 (patched up to date) and then Frame 10 (with update) on it, but there appears to be one problem so far: Three of the four toolbars offered by Fram

  • Trouble installing Photoshop CS6 on Mac OSX lion

    I bought Photoshop CS6 extended and am trying to install it on my Mac OSX Lion v. 10.7.4 and I keep coming up with the install error of: Exit Code: 34 -------------------------------------- Summary -------------------------------------- - 1 fatal err