๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.os.linux
Article #386

Re: Sharing Data on Linux Mint xfce

#386
From: Jeff Gaines
Date: Thu, 03 Dec 2026 17:25
120 lines
5876 bytes
On 03/12/2026 in message <11es4jp$hm9c$1@dont-email.me> Paul wrote:

>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.

I tend to close terminal windows after use so history is limited to that 
session.

Many moons ago, early 90's, I was trying Windows 286, O/S2 Warp and 
Slackware in triple boot configuration.

Whiles in a terminal in Slackware I was logged on the the Windows drive 
and tried a command that involved rm, *, v, and perhaps others. Never seen 
a complete Widows installation disappear so quickly :-(

-- 
Jeff Gaines Dorset UK
Have you ever noticed that all the instruments searching for intelligent 
life are pointing away from Earth?
Technical Details
Message-ID: <xn0py30h862fafs00d@news.individual.net>
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!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> <11es4jp$hm9c$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: "Jeff Gaines" <jgnewsid@outlook.com>
Newsgroups: alt.os.linux
Subject: Re: Sharing Data on Linux Mint xfce
Date: 3 Dec 2026 17:25:26 GMT
Lines: 120
Message-ID: <xn0py30h862fafs00d@news.individual.net>
References: <xn0py1h4k4ghswj006@news.individual.net> <hft5um-0c8.ln1@spock.lan> <xn0py2pjx5nmela009@news.individual.net> <ga48um-li5.ln1@spock.lan> <xn0py2uij5udaqs00b@news.individual.net> <11es4jp$hm9c$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net jIzT8JD0g+6NNEtdPr9IEAdSrBF0wmxjQCzNefAcdrlZVXXV08
Cancel-Lock: sha1:5tgWCl8djRgbN9yq43cBfoiKwow= sha256:qPrfYaoAJVuI7qiOSeNUVgD7rqcy2+9M2FwROzOOR1o=
User-Agent: XanaNews/1.21-f3fb89f (x86; Portable ISpell)
X-Face: `{n`"d>nF^Uwzc:,L`j<I0Z`+o3aIFomb({]W!ey_aouI;EhEg9Q~,73RF,@{]-!$,A,z>,x
X-Ref: news.individual.net ~XNS:000063D6