LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-17-2010, 06:42 PM   #1
johnychemist
LQ Newbie
 
Registered: Oct 2010
Posts: 10

Rep: Reputation: 0
SUSE 11.3 - USB Hard Drive mount points


Hi There

My SUSE 11.3 installation is doing some random things with USB Hardrive mount points.

I have 2 Hard drives, 1 x 1TB (Shared Media) and 1 x 500GB (Ext Storage) disks on 2 USB ports on my SUSE Desktop thats shared to my Windows network using SAMBA. This works perfectly once shared to the network but when left for an hour or so, the folders in the shares disappear and can't be accessed by the windows pc's on network.

When I reboot the external disks they get re-mounted as (Shared Media1) and (Ext Storage1) as completely new mounts, and leaving the original names (Shared Media) and (Ext Storage), if I share those entries, they work fine but the same things happens again soon after.

I'm up to (Shared Media3) & (Ext Storage3) now. Anyone idea how I can make these mounts and shares permanent please?
 
Old 10-17-2010, 07:51 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,887

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
You will have to do some research into writing udev rules to make usb mount points persistent. Once the rules are written, you can then add entries for the usb mounts into /etc/fstab.

Here's a link to get you started. Scroll down to "Persistent device naming". http://www.softpanorama.org/Commerci...ces/udev.shtml
 
Old 10-18-2010, 03:00 AM   #3
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 879

Rep: Reputation: 113Reputation: 113
Yes wright some udev rules

I've found this http://www.reactivated.net/writing_udev_rules.html that may help you wright them. I googled "how to add udev rules for usb device" and there is much more info.

Then like the above poster said as well mount it automatically via /etc/fstab on boot up. Which is very simple
 
Old 10-18-2010, 08:31 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,152
Blog Entries: 15

Rep: Reputation: 3081Reputation: 3081Reputation: 3081Reputation: 3081Reputation: 3081Reputation: 3081Reputation: 3081Reputation: 3081Reputation: 3081Reputation: 3081Reputation: 3081
I put my external USB harddrive in fstab.
 
Old 10-19-2010, 06:27 AM   #5
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 879

Rep: Reputation: 113Reputation: 113
Quote:
Originally Posted by frankbell View Post
I put my external USB harddrive in fstab.
I think OP is referring to everytime he pugs his HD into a USB port he gets a new device node. So he is unable to put it in fstab with out putting in udev rules so it will mount to the same device node everytime.
 
Old 11-02-2010, 04:33 PM   #6
johnychemist
LQ Newbie
 
Registered: Oct 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Hey guys

Thanks for all your help, I put the USB drives into FSTAB, works perfectly with some trial and error on the rules.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard drive mount points change on reboot. Springs Linux - Hardware 2 01-28-2010 03:54 AM
suse 11.2 mount usb camera as hard drive? brianpbarnes Linux - Hardware 2 12-09-2009 04:52 PM
Adding new hard drive, mount points etc. Kizzume Linux - General 6 07-24-2007 03:32 PM
Mount points on usb devices (dig. camera, zip drive, external hard disk) Impaler Linux - Hardware 3 05-29-2006 11:08 PM
8 mount points on hard drive? drtydane Linux - Newbie 3 12-15-2005 09:50 AM


All times are GMT -5. The time now is 09:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration