[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gcmd-usr] Need help on Ubuntu 20.04

From: kht-lists
Subject: Re: [gcmd-usr] Need help on Ubuntu 20.04
Date: Mon, 08 Mar 2021 20:38:15 +0000

Hello Greg,

How are you sharing the drives in your media server (nfs, samba, something 
else)? I have a somewhat similar situation and this is how I handle it.

I have 3 data servers. Each one has drives in pairs which I keep mirrored. The 
"a" drives in each pair are exported with nfs. The b drive in each pair is the 
backup. As I do not need access to the data at all times, I only bring up a 
sever when I need it.  This adds a little wrinkle which you might not have. If 
I mount an nfs export from the Mate desktop (on CentOS 7 in this case) the file 
managment system "caja" goes berserk if the server shuts down with the mfs 
export still mounted. I therefor have server-on and server-off scripts which I 
run as needed.

On my CentOS workstation I have the following directory structure to access the 
server data:


These are the mount points for drive 1a on server t14, 2a on server t14 etc.  
Here is the script to mount server t14:

sudo mount t14:/media/data14.1a /data/_servers/data14.1
sudo mount t14:/media/data14.2a /data/_servers/data14.2
sudo mount t14:/media/data14.3a /data/_servers/data14.3
echo mounting finished
sleep 10

And the unmount script:

sudo umount --force -vvv /data/_servers/data14.1
sudo umount --force -vvv /data/_servers/data14.2
sudo umount --force -vvv /data/_servers/data14.3
echo un-mounting finished
sleep 10

You could create a shortcut in Gnome-Commander to access the top of the mount 
tree /data/servers or even a shortcut for each drive. As g-c is not attempting 
to make the connection - and thus not using gnome-vfs - I would not expect any 
issues. This is not quite as handy as "device" buttons but...

If your media server is on-line essentially full time you might wish to look 
into autofs. It will automatically mount nfs exports when accessed. However, I 
have had bad luck using it when the servers are not on-line.

I have given myself NOPASSWD access to the sudo mount and umount commands in 
visudo so I am not bothered by being asked for a password each time I run a 
script. Ask if you need help with that.  If you are using Samba (smb) to share 
the drives you could probably setup something similar on your Ubuntu 20.04 
machine. It has been a while since I have done that.


I don't have a Swiss bank account but I do have a Swiss email address :-)

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, March 8, 2021 10:06 AM, Greg <gregl@nycap.rr.com> wrote:

> Thanks for the advice. I may take me a while to try them.. The devices I
> am trying mount are  nine  Hard drives,each one is named Video 1-Video9.
> This is on my media server.. I hope I can get it to work. I have
> resisted up grading to Ubuntu 20.04,because of GC. If I can't get it
> going,I may return to Ubuntu 18.04.. I have tried several commander type
> file managers,but nothing compares to GC..
> Thanks for the suggestions..
> Greg
> On 3/7/21 4:43 PM, mi wrote:
> > I'm also misusing the device buttons as graphical bookmarks by creating 
> > 'pseudo-devices', which means, instead of the previous mount command, i'll 
> > insert into the 'device' field just a
> >
> > > /dev/null && cd
> >
> > and it will change directory into what is configured as (not really a) 
> > mountpoint.
> > For example, insert '/tmp' there and you'll have a fast switch to the temp 
> > folder.
> >
> > gcmd-users mailing list
> > gcmd-users@nongnu.org
> > https://lists.nongnu.org/mailman/listinfo/gcmd-users
> gcmd-users mailing list
> gcmd-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/gcmd-users

reply via email to

[Prev in Thread] Current Thread [Next in Thread]