Mounting external USB drives and locating shares them.
Posted: Wed Mar 21, 2012 6:33 am
Hi!
I've had this issue with other iterations of Linux, but your documentation says it should work and I'd LIKE it to work, so I'm giving it a try.
I am trying to mount three external USB drives and then locate shares on them. They are mounted via fstab and visible from the command line. I can create a share on them but it is inaccessible from any client, windows, mac or linux. The error is 'The operation can't be completed because the original item for "MintBackup" can't be found' on the Mac. It is similar on all other OS'es.
Workgroup is 'home' and consistent throughout.
My hda-diskmount output:
Ignoring /dev/sda3 - already mounted
Ignoring /dev/sda3 - already in /etc/fstab as UUID=2ae91fdb-d243-4ad7-aef2-8d3254b39e1e
****************************************************************
/usr/sbin/hda-diskmount: line 220: pmount: command not found
Mounted /dev/sdb1 as '/var/hda/files/drives/drive1' (read-write)
You may want your system to mount it every time you boot.
To do so, add this line VERY CAREFULLY to /etc/fstab and reboot:
UUID=6b57cfa9-5807-4830-90d4-bac37da38b41 /var/hda/files/drives/drive1 ext4 defaults 1 2
****************************************************************
/usr/sbin/hda-diskmount: line 220: pmount: command not found
Mounted /dev/sdc1 as '/var/hda/files/drives/drive2' (read-write)
You may want your system to mount it every time you boot.
To do so, add this line VERY CAREFULLY to /etc/fstab and reboot:
UUID=fabd24c5-23fb-4da0-a527-99a4cd73ee59 /var/hda/files/drives/drive2 ext4 defaults 1 2
****************************************************************
/usr/sbin/hda-diskmount: line 220: pmount: command not found
Mounted /dev/sdd1 as '/var/hda/files/drives/drive3' (read-write)
You may want your system to mount it every time you boot.
To do so, add this line VERY CAREFULLY to /etc/fstab and reboot:
UUID=d4208447-b011-4c61-af0c-d6aeb1d36cd5 /var/hda/files/drives/drive3 ext4 defaults 1 2
****************************************************************
The lines [copied from above] added to my /etc/fstab
UUID=6b57cfa9-5807-4830-90d4-bac37da38b41 /var/hda/files/drives/drive1 ext4 defaults 1 2
UUID=fabd24c5-23fb-4da0-a527-99a4cd73ee59 /var/hda/files/drives/drive2 ext4 defaults 1 2
UUID=d4208447-b011-4c61-af0c-d6aeb1d36cd5 /var/hda/files/drives/drive3 ext4 defaults 1 2
making my /etc/fstab look like this:
#
# /etc/fstab
# Created by anaconda on Sat Mar 17 15:04:36 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=2ae91fdb-d243-4ad7-aef2-8d3254b39e1e / ext4 defaults 1 1
UUID=29584210-badc-46f6-a644-d68129ec6ca1 /boot ext3 defaults 1 2
UUID=8b58015c-ac86-4d09-9df6-fd0bde36cfd1 swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
UUID=6b57cfa9-5807-4830-90d4-bac37da38b41 /var/hda/files/drives/drive1 ext4 defaults 1 2
UUID=fabd24c5-23fb-4da0-a527-99a4cd73ee59 /var/hda/files/drives/drive2 ext4 defaults 1 2
UUID=d4208447-b011-4c61-af0c-d6aeb1d36cd5 /var/hda/files/drives/drive3 ext4 defaults 1 2
It mounts properly and is visible on the command line:
[root@localhost MintBackup]# pwd
/var/hda/files/drives/drive1/MintBackup
[root@localhost MintBackup]# ls -l
total 4
drwxr-xr-x 62 1000 1000 4096 Feb 17 00:13 patrick
[root@localhost MintBackup]#
And the share created via the webui:
Access: visible
Permissions: All users and Writeable
Tags: None selected
location: /var/hda/files/drives/drive1/MintBackup
extra parameters: none
Regardless of what I change the permissions to - it doesn't change the end result.
I am aware of the issue of sharing an external USB drive via SMB in other variations of Linux and have used all the tricks I can find to make this work. I have also been all the way through the sharing troubleshooting sheet several times. I have also searched through this forum and made Google my best friend.
Thoughts??
Best regards,
Patrick
I've had this issue with other iterations of Linux, but your documentation says it should work and I'd LIKE it to work, so I'm giving it a try.

I am trying to mount three external USB drives and then locate shares on them. They are mounted via fstab and visible from the command line. I can create a share on them but it is inaccessible from any client, windows, mac or linux. The error is 'The operation can't be completed because the original item for "MintBackup" can't be found' on the Mac. It is similar on all other OS'es.
Workgroup is 'home' and consistent throughout.
My hda-diskmount output:
Ignoring /dev/sda3 - already mounted
Ignoring /dev/sda3 - already in /etc/fstab as UUID=2ae91fdb-d243-4ad7-aef2-8d3254b39e1e
****************************************************************
/usr/sbin/hda-diskmount: line 220: pmount: command not found
Mounted /dev/sdb1 as '/var/hda/files/drives/drive1' (read-write)
You may want your system to mount it every time you boot.
To do so, add this line VERY CAREFULLY to /etc/fstab and reboot:
UUID=6b57cfa9-5807-4830-90d4-bac37da38b41 /var/hda/files/drives/drive1 ext4 defaults 1 2
****************************************************************
/usr/sbin/hda-diskmount: line 220: pmount: command not found
Mounted /dev/sdc1 as '/var/hda/files/drives/drive2' (read-write)
You may want your system to mount it every time you boot.
To do so, add this line VERY CAREFULLY to /etc/fstab and reboot:
UUID=fabd24c5-23fb-4da0-a527-99a4cd73ee59 /var/hda/files/drives/drive2 ext4 defaults 1 2
****************************************************************
/usr/sbin/hda-diskmount: line 220: pmount: command not found
Mounted /dev/sdd1 as '/var/hda/files/drives/drive3' (read-write)
You may want your system to mount it every time you boot.
To do so, add this line VERY CAREFULLY to /etc/fstab and reboot:
UUID=d4208447-b011-4c61-af0c-d6aeb1d36cd5 /var/hda/files/drives/drive3 ext4 defaults 1 2
****************************************************************
The lines [copied from above] added to my /etc/fstab
UUID=6b57cfa9-5807-4830-90d4-bac37da38b41 /var/hda/files/drives/drive1 ext4 defaults 1 2
UUID=fabd24c5-23fb-4da0-a527-99a4cd73ee59 /var/hda/files/drives/drive2 ext4 defaults 1 2
UUID=d4208447-b011-4c61-af0c-d6aeb1d36cd5 /var/hda/files/drives/drive3 ext4 defaults 1 2
making my /etc/fstab look like this:
#
# /etc/fstab
# Created by anaconda on Sat Mar 17 15:04:36 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=2ae91fdb-d243-4ad7-aef2-8d3254b39e1e / ext4 defaults 1 1
UUID=29584210-badc-46f6-a644-d68129ec6ca1 /boot ext3 defaults 1 2
UUID=8b58015c-ac86-4d09-9df6-fd0bde36cfd1 swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
UUID=6b57cfa9-5807-4830-90d4-bac37da38b41 /var/hda/files/drives/drive1 ext4 defaults 1 2
UUID=fabd24c5-23fb-4da0-a527-99a4cd73ee59 /var/hda/files/drives/drive2 ext4 defaults 1 2
UUID=d4208447-b011-4c61-af0c-d6aeb1d36cd5 /var/hda/files/drives/drive3 ext4 defaults 1 2
It mounts properly and is visible on the command line:
[root@localhost MintBackup]# pwd
/var/hda/files/drives/drive1/MintBackup
[root@localhost MintBackup]# ls -l
total 4
drwxr-xr-x 62 1000 1000 4096 Feb 17 00:13 patrick
[root@localhost MintBackup]#
And the share created via the webui:
Access: visible
Permissions: All users and Writeable
Tags: None selected
location: /var/hda/files/drives/drive1/MintBackup
extra parameters: none
Regardless of what I change the permissions to - it doesn't change the end result.
I am aware of the issue of sharing an external USB drive via SMB in other variations of Linux and have used all the tricks I can find to make this work. I have also been all the way through the sharing troubleshooting sheet several times. I have also searched through this forum and made Google my best friend.
Thoughts??
Best regards,
Patrick