LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zorin OS
User Name
Password
Zorin OS This forum is for the discussion of Zorin OS Linux.

Notices


Reply
  Search this Thread
Old 01-25-2014, 02:47 PM   #1
Mattrixx
LQ Newbie
 
Registered: Jan 2014
Posts: 4

Rep: Reputation: Disabled
Question Sharing Files with auto mounted "data" HDDs


Hi,

I am running ZORIN 7.1 O.S. on an older system (Socket 939). I love it 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 from my recently installed "auto mounted at start-up" internal NTFS formatted HDDs. More specifically,*RETAINING* these same "Shares"!

I have installed two internal HDDs besides the Zorin O.S. drive to this system. These are being "auto mounted" on start-up to my Zorin O.S. via the Zorin provided "Disks" utility, which I have used successfully with the also provided "Edit Mount Options" options box to accomplish "auto mounting at start-up".

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 auto mounted HDDs!

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

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

Thanks

Last edited by Mattrixx; 01-25-2014 at 02:48 PM.
 
Old 01-29-2014, 07:54 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by Mattrixx View Post
I am running ZORIN 7.1 O.S. on an older system (Socket 939). I love it and it runs great!
I have had some Linux experience running MINT on my newer rigs, which also run fine.
just to make that point clear: I don't have any specific knowledge about ZORIN beyond the fact that there is something of that name. So I can only give you some very general hints.

Quote:
Originally Posted by Mattrixx View Post
My question is regarding "sharing" files/drives from my recently installed "auto mounted at start-up" internal NTFS formatted HDDs. More specifically,*RETAINING* these same "Shares"!
You put "shares" in quotation marks. Why? What do you actually have? A share is usually meant to be a directory that is accessible from the network, typically using Samba as a fileserver software. But your description sounds more like you simply have these drives built in, but not permanently mounted, then have your desktop system mount them.

Besides: Why NTFS? If you don't intend to swap these drives into a Windows computer (and I assume you don't because you're now using them as internal drivel in a Linux box), NTFS is about the last thing I'd recommend.

Quote:
Originally Posted by Mattrixx View Post
I have installed two internal HDDs besides the Zorin O.S. drive to this system. These are being "auto mounted" on start-up to my Zorin O.S. via the Zorin provided "Disks" utility, which I have used successfully with the also provided "Edit Mount Options" options box to accomplish "auto mounting at start-up".

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 auto mounted HDDs!

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

Can anyone here help this newbie out with some experienced solutions or insight?
I'd assume your problem dissolves into thin air once you mount the two extra drives permanently on system level by choosing a permanent mount point and adding an entry to /etc/fstab for each of them. That way, they're mounted at the earliest possible time during boot, and every process being started later (including the desktop system) recognizes them as being already there. The fact that they're not available at boot time is probably why the shares disappear.

[X] Doc CPU
 
1 members found this post helpful.
Old 01-29-2014, 07:54 AM   #3
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by Mattrixx View Post
I am running ZORIN 7.1 O.S. on an older system (Socket 939). I love it and it runs great!
I have had some Linux experience running MINT on my newer rigs, which also run fine.
just to make that point clear: I don't have any specific knowledge about ZORIN beyond the fact that there is something of that name. So I can only give you some very general hints.

Quote:
Originally Posted by Mattrixx View Post
My question is regarding "sharing" files/drives from my recently installed "auto mounted at start-up" internal NTFS formatted HDDs. More specifically,*RETAINING* these same "Shares"!
You put "shares" in quotation marks. Why? What do you actually have? A share is usually meant to be a directory that is accessible from the network, typically using Samba as a fileserver software. But your description sounds more like you simply have these drives built in, but not permanently mounted, then have your desktop system mount them.

Besides: Why NTFS? If you don't intend to swap these drives into a Windows computer (and I assume you don't because you're now using them as internal drivel in a Linux box), NTFS is about the last thing I'd recommend.

Quote:
Originally Posted by Mattrixx View Post
I have installed two internal HDDs besides the Zorin O.S. drive to this system. These are being "auto mounted" on start-up to my Zorin O.S. via the Zorin provided "Disks" utility, which I have used successfully with the also provided "Edit Mount Options" options box to accomplish "auto mounting at start-up".

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 auto mounted HDDs!

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

Can anyone here help this newbie out with some experienced solutions or insight?
I'd assume your problem dissolves into thin air once you mount the two extra drives permanently on system level by choosing a permanent mount point and adding an entry to /etc/fstab for each of them. That way, they're mounted at the earliest possible time during boot, and every process being started later (including the desktop system) recognizes them as being already there. The fact that they're not available at boot time is probably why the shares disappear.

[X] Doc CPU
 
1 members found this post helpful.
Old 01-29-2014, 01:03 PM   #4
Mattrixx
LQ Newbie
 
Registered: Jan 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi Doc CPU and thanks for your reply.

Since I posted my question on this forum I have actually been able to accomplish what I had set out to do, which was to turn on my Zorin rig and have those two additional (NTFS) Hard Drives appear on my desktop mounted and with the Directories/Folders I previously selected (containing Videos and Music files) ready and available to be shared to my other computers and W.D. Media Player over my LAN.

I am a relative newbie to Linux, and as such get confused easily as to exactly how to go about things that are done more or less seamlessly in Windows like adding a hard drive for data file storage. As such, I know I need to learn the CLI to really get a grasp of Linux! However, I WAS able to use the provided "DISKS" utility and "Automatic Mount Options" GUI to first, mount the 2 internal drives at START-UP, and finally was somehow(?) able to get the created "shared" Folders from my original post question, to actually become (what I call) "retained" after a shutdown or re-boot. I would be hard pressed to explain or repeat exactly what I did to finally resolve this "retention" problem, but I believe it had to do with "Sharing" the entire drive rather than just my Folders/Directories?

Here are some screenshots of what I am talking about:

Please, any comments or observations would be appreciated.

Thanks again for your help and interest!
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2014-01-29 250GB HARD DRIVE.jpg
Views:	38
Size:	110.7 KB
ID:	14637   Click image for larger version

Name:	Screenshot        ETC_FSTAB.png
Views:	32
Size:	168.5 KB
ID:	14638   Click image for larger version

Name:	Screenshot from 2014-01-29 GLOBAL.png
Views:	32
Size:	172.4 KB
ID:	14639  
 
1 members found this post helpful.
Old 01-29-2014, 02:36 PM   #5
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by Mattrixx View Post
Since I posted my question on this forum I have actually been able to accomplish what I had set out to do, which was to turn on my Zorin rig and have those two additional (NTFS) Hard Drives appear on my desktop mounted and with the Directories/Folders I previously selected (containing Videos and Music files) ready and available to be shared to my other computers and W.D. Media Player over my LAN.
well, congrats so far.

Quote:
Originally Posted by Mattrixx View Post
I am a relative newbie to Linux
Yeah, we all used to be, didn't we? :-)

Quote:
Originally Posted by Mattrixx View Post
and as such get confused easily as to exactly how to go about things that are done more or less seamlessly in Windows like adding a hard drive for data file storage.
Actually, I was a very intimate Windows user over a period of nearly 15 years. But after slowly moving from Windows to Linux, I'm still amazed every now and then at how simple things are in Linux that were a pain in the ass with Windows. Very rarely the other way round.

Quote:
Originally Posted by Mattrixx View Post
As such, I know I need to learn the CLI to really get a grasp of Linux!
That's very helpful, in fact. However, most contemporary Linux distros try to offer alternative approaches to cater for those who don't like diggin' around in config files or juggling with command line switches. Yet, some tasks are really easier to accomplish using the command line (and that applies to Windows, too).

You know the difference between Windows and Linux from a user's point of view?
In Windows, there's a GUI for everything. Some things, however, can also be done via CLI.
In Linux, there's a command line way for everything. Some things, however, can also be done using a GUI.
And believe me: In about 25 years of computer experience, I've come to the conviction that editing a configuration file is usually a much more convenient approach than using a GUI. GUI solutions that prove this statement wrong are very, very rare.

Quote:
Originally Posted by Mattrixx View Post
I would be hard pressed to explain or repeat exactly what I did to finally resolve this "retention" problem, but I believe it had to do with "Sharing" the entire drive rather than just my Folders/Directories?
I don't think so. Looking at your screenshots, I can see that you're in fact mounting your extra drives in /etc/fstab now, and that you're actually using Samba for creating the shares. Good. That's the usual approach. I think that ZORIN is doing some magic behind the scenes in one or the other scenario that is hard to guess for someone who isn't familiar with that particular distro.

[X] Doc CPU
 
1 members found this post helpful.
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Moving files, on shell, auto-renaming in a "basename(##).ext" pattern? the dsc Programming 7 12-02-2013 01:43 PM
Strange "characters" appearing in auto "created" man pages Sector11 Linux - General 7 02-28-2010 11:05 AM
automount 5.0.3 with auto.smb script yields "key "<name>" not found in map" rbergen Linux - Software 0 01-01-2010 12:27 PM
How to get the "data type" of an "unknown variable" in "C Language" ? Affair Programming 8 06-20-2009 12:30 PM
"Permission denied" when trying to copy files into mounted windows with all rights twist3r Linux - Newbie 14 05-06-2008 05:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zorin OS

All times are GMT -5. The time now is 12:56 AM.

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
Open Source Consulting | Domain Registration