๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.os.linux
Article #385

Re: Sharing Data on Linux Mint xfce

#385
From: Paul
Date: Thu, 03 Dec 2026 16:15
106 lines
5818 bytes
On Thu, 12/3/2026 8:39 AM, Jeff Gaines wrote:
> On 03/12/2026 in message <ga48um-li5.ln1@spock.lan> dillinger wrote:
> 
>> On 03-12-2026 11:31, Jeff Gaines wrote:
>>> On 02/12/2026 in message <hft5um-0c8.ln1@spock.lan> dillinger wrote:
>>>
>>>> On 02-12-2026 15:23, Jeff Gaines wrote:
>>>>>
>>>>> I have a Lenovo TS140 with a Xeon processor running Linux Mint xfce. It
>>>>> has been my media server and does that job so well I have today added a
>>>>> new drive that will enable me to use it to share data and my archive.
>>>>>
>>>>> I physically added a 4TB SSD, used gparted to clean off the NTFS
>>>>> partition and added and formatted one big partition to ext4. I then
>>>>> added 2 x directories (Data and Archive), added them to smb.conf and re-
>>>>> started samba. Both are visible over the home network and I am copying
>>>>> data over at the moment.
>>>>>
>>>>> Sitting here drinking a celebratory cuppa I have realised that when I
>>>>> set up my media shares I did the following:
>>>>>
>>>>> Physically install the 2 x drives.
>>>>> Partitioned, formatted and added a directory to each.
>>>>> Ensured they were in fstab.
>>>>> Created 2 x mount points in home/mnt, linked them to the directories on
>>>>> the drives and shared those link points.
>>>>>
>>>>> Strikes me I have added an unnecessary extra step there and could have
>>>>> just put the directories in smb.conf as I did today with the new drive.
>>>>>
>>>>> I was following online instructions fairly blindly and it worked but
>>>>> seem it could be streamlined.
>>>>>
>>>>> Am I right, can I take that extra step out? I am looking at 6 TB of data
>>>>> and would prefer not to lose it! (is is backed up twice).
>>>>>
>>>>
>>>> So you skipped the fstab step, which makes me wonder where you've
>>>> mounted your drive.
>>>> Can you run "df -h" and post the output here?
>>>> It could be OK, there are always several ways to do things, but it isn't
>>>> very clear to me what you've done exactly.
>>>
>>> It's not very clear to me what I have done exactly either :-)
>>>
>>> Relevant lines form fstab:
>>>
>>> /dev/disk/by-uuid/d8630cfc-01b3-4647-a38b-3ea4155245f5 /home/jeff/mnt/
>>> Media/ auto nosuid,nodev,nofail,x-gvfs-show 0 0
>>>
>>> /dev/disk/by-uuid/949129ba-01a8-4804-93db-3161a2314ea9 /
>>> mnt/949129ba-01a8-4804-93db-3161a2314ea9 auto nosuid,nodev,nofail,x-
>>> gvfs-show 0 0
>>>
>>> In the firstย  case I was following instructions step by step by creating
>>> a directory to use as a mount point then sharing that mount point in samba.
>>>
>>> In the second I let Linux create a mount point then shared the directory
>>> I created on the drive.
>>>
>>> Is there a proper or accepted way to do this so I can keep things standard?
>>>
>>> PS I won't spell chek this....
>>>
>>
>> Since you haven't answered my question and everything appears to be
>> working for you now I suggest you leave it alone, if it ain't broke
>> don't fix it.
>>
>> Either way you used works, there is no one and only "correct" way, you
>> can even let Linux auto mount your media drives, at least on KDE you can.
>>
>> Good luck.
> 
> I think the suggestion Paul got from co-pilot is pretty accurate but as 
> a very new user I just can't remember exactly what I did except follow 
> online instructions very carefully!
> 

Type "history" into that Terminal, and it shows what you did.

Normally we would put an alias in our profile, so
that the short form of "h" is enough.

There are features in the shell you should know about, to
make better use of that history list. Try the cursor UP
key and the cursor DOWN key, to make recently typed commands
available for immediate reuse. Be careful of course, if
repeating your    /bin/rm -Rf *    command and giving
that return key a whack. A command you repeat a week
later is highly unlikely to be in exactly the same context :-)
Be careful with this stuff, and double check you didn't
just release a wrecking ball.

Examples of other tricks.

!!            # Previous command
!$            # Last argument of last command    /bin/ls !$
!1234         # Repeat the command numbered as item 1234 in the history list
<tab> key     # tab completion, for example gives listing of available matching executables

That "history" is quite handy.

Find a thin book about the shell you use, for comfort features.

   Paul
Technical Details
Message-ID: <11es4jp$hm9c$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <xn0py1h4k4ghswj006@news.individual.net> <hft5um-0c8.ln1@spock.lan> <xn0py2pjx5nmela009@news.individual.net> <ga48um-li5.ln1@spock.lan> <xn0py2uij5udaqs00b@news.individual.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Paul <nospam@needed.invalid>
Newsgroups: alt.os.linux
Subject: Re: Sharing Data on Linux Mint xfce
Date: Thu, 3 Dec 2026 11:15:52 -0500
Organization: A noiseless patient Spider
Lines: 106
Message-ID: <11es4jp$hm9c$1@dont-email.me>
References: <xn0py1h4k4ghswj006@news.individual.net>
 <hft5um-0c8.ln1@spock.lan> <xn0py2pjx5nmela009@news.individual.net>
 <ga48um-li5.ln1@spock.lan> <xn0py2uij5udaqs00b@news.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 03 Dec 2026 16:15:54 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="579884"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/vqCdBUDnHc8WM5FAOZs/Wh6t51hAUFww="; posting-host="5f123e588b0e69ae80c6eca3f0680862"
User-Agent: THIS SPACE FOR RENT
Cancel-Lock: sha1:nopiZV6l3MtFMwRWuOOS5IX7Hb8= sha256:fuSjlpT79ujvUAchEBmuaFZzygmefCtMiQKcLnShcOA=
	sha1:vFlCpSqwWTbw+9SSnUE9u02gcNI= sha256:DAvpkE0hy4xbHu63WBu/nRdjScJJSRSjGdngXBWN3zE=
Content-Language: en-US
In-Reply-To: <xn0py2uij5udaqs00b@news.individual.net>