LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 01-24-2014, 01:28 PM   #1
Mattrixx
LQ Newbie
 
Registered: Jan 2014
Posts: 4

Rep: Reputation: Disabled
Question Retaining "Shares" on additional HDDs


Hi,

I am running ZORIN 7.1 O.S. on an older system (Socket 939) and it runs great!
I have had some Linux experience running MINT on my newer rigs, which also run fine.
My question is regarding "sharing" files/drives and *retaining* those same "Shares".

I have two additional HDDs besides the O.S. drive being "auto mounted" on start-up to my Zorin O.S. drive`s desktop via the provided "Disks" utility, using the "Edit Mount Options" options box to accomplish this.
I can consistently start-up or re-boot, and these two additional HDDs will appear and be mounted on my Zorin Desktop. From here, I am able to successfully create "Shares" on either of these two mounted HDDs.

However, when I reboot or start-up from scratch, these two HDDs return mounted as expected, but WITHOUT the previously created "Shares"!
I have to create yet again each and every time any "Shares" that I desire to have *permanently* assigned to each HDD!

Can anyone here help this newbie out with some experienced solutions or insight?

Thanks
 
Old 01-24-2014, 02:02 PM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
stop using the GUI to manage your shares and manually create NFS exports or SAMBA shares via the command line.

also you state the 2 additional drives are "auto mounted" does that mean they are external USB drives? if so that is never a good idea for sharing via a LAN as just like in any OS their drive letters can and will change.

think of it like this in MS Windows land. you plug in the drive today and it is labeled E:\, but tomorrow you plug it in and all of the sudden its now F:\ not the same device, therefor the shares fail. my guess, and thats all it is without touching your system, is that is what is going on.

in addition to them being USB drives you would want to create fstab entries for them to NOT be mounted by the GUI, but by the kernel itself using the uuid of the devices. from what i understand even USB devices do not change their uuid's unless you change the formatting and partition tables of them. so for shares that would be a much better solution.
 
Old 01-24-2014, 04:14 PM   #3
Mattrixx
LQ Newbie
 
Registered: Jan 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks lleb for your reply.

NO the aforementioned "additional Drives" are NOT USB external drives! They are conventional internal Hard Drives both of which happen to be formatted as NTFS.
The "Disks" utility GUI allowed me to have these two internal Hard Drives become Auto mounted at start-up!

My questions to you (without being sarcastic) are:

Why is there a "Disks" utility GUI provided if a (newbie) person should not take advantage of it?

Also: Are you saying that my inability to "retain" any created "Shares" is due to the fact that I used the "Disks" GUI instead of using the command line?

Thanks lleb for anymore insight into my (newbie) problem!

Last edited by Mattrixx; 01-24-2014 at 04:33 PM.
 
Old 01-26-2014, 02:48 PM   #4
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
to me it sounds like the shares created by your GUI are temporary and not created for retention, thus my direction to use the CLI and SAMBA as these are both NTFS and you will need to mount them as such and then share them, im guessing, with other MS Windows computers.

Ideally you will NEVER use NTFS inside of a Linux system, they are not native and can lead to corruption of data.

the GUI tools while they have come a long way, some distros further then others, are not up to par with the CLI tools yet. Think on the history of Linux, what came first and is still in use on servers today? yes that would be the CLI tools, the GUI tools are just front end managers of the CLI tools.

Again I would add their info to the /etc/fstab using UUID (google that) and to share them manually create the SAMBA shares and the samba users for your other computers to access that data.

if you do not need to share them across your LAN< then format them either ext2,3, 4 and use a native Linux file system instead of the broken MS Windows file system.
 
1 members found this post helpful.
  


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
ATi/AMD Proprietary FGLRX driver? "additional drivers" CrazyGuy158 Linux Mint 4 02-24-2012 11:21 AM
PHP - How do I change the "Scan this dir for additional .ini files" setting SmurfGGM Linux - Server 3 01-12-2011 03:20 PM
Problem: slackware: missed additional group "audio" when use slim e280s Linux - Desktop 1 06-18-2009 02:32 AM
"LI" on Boot Have 2 HDDs w/ Ultrabay..... missremixx Linux - General 0 08-04-2005 12:03 AM
installed "xscreensaver" but still no additional sccren savers? sirpelidor Mandriva 4 11-02-2003 12:19 PM


All times are GMT -5. The time now is 07:43 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