Re: [PLUG] NOT QUITE SOLVED Re: Rsync to a NAS drive

2016-07-10 Thread Larry Brigman
Sorry. There are reasons for multiple mounts. Bind for one.
On Jul 9, 2016 7:48 PM, "John Jason Jordan"  wrote:

> On Sat, 9 Jul 2016 19:08:40 -0700
> Bill Barry  dijo:
>
> >> Whew! Hooray!
> >>
> >> Now on to trying to figure out rsync.
>
> >Excellent! Next time maybe try --diplomatic before --force.
>
> Even better, next time try not stupidly mounting the filesystem
> twice. :)
>
> That might be a good feature request for mount. If the filesystem is
> already mounted someplace, don't allow it to be mounted again, with an
> error message to umount the other one first.
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] NOT QUITE SOLVED Re: Rsync to a NAS drive

2016-07-09 Thread John Jason Jordan
On Sat, 9 Jul 2016 19:08:40 -0700
Bill Barry  dijo:

>> Whew! Hooray!
>>
>> Now on to trying to figure out rsync.

>Excellent! Next time maybe try --diplomatic before --force.

Even better, next time try not stupidly mounting the filesystem
twice. :)

That might be a good feature request for mount. If the filesystem is
already mounted someplace, don't allow it to be mounted again, with an
error message to umount the other one first.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] NOT QUITE SOLVED Re: Rsync to a NAS drive

2016-07-09 Thread Bill Barry
On Sat, Jul 9, 2016 at 7:03 PM, John Jason Jordan 
wrote:

> On Sat, 9 Jul 2016 18:49:52 -0700
> Bill Barry  dijo:
>
> >> I'm afraid to reboot. Rebooting will umount everything, except /
> >> and /home will be remounted, so that should clear up part of the
> >> problem with /mnt. But what about the missing permissions and other
> >> stuff?
>
> Guess what? Ubuntu repaired itself. I did nothing. But suddenly /mnt
> appears properly with ls -la, and Thunar displays the filesystem again.
> I don't know how this happened, but I'm not questioning it.
>
> Whew! Hooray!
>
> Now on to trying to figure out rsync.
>

Excellent! Next time maybe try --diplomatic before --force.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] NOT QUITE SOLVED Re: Rsync to a NAS drive

2016-07-09 Thread John Jason Jordan
On Sat, 9 Jul 2016 18:49:52 -0700
Bill Barry  dijo:

>> I'm afraid to reboot. Rebooting will umount everything, except /
>> and /home will be remounted, so that should clear up part of the
>> problem with /mnt. But what about the missing permissions and other
>> stuff?

Guess what? Ubuntu repaired itself. I did nothing. But suddenly /mnt
appears properly with ls -la, and Thunar displays the filesystem again.
I don't know how this happened, but I'm not questioning it. 

Whew! Hooray!

Now on to trying to figure out rsync. 
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] NOT QUITE SOLVED Re: Rsync to a NAS drive

2016-07-09 Thread Bill Barry
On Sat, Jul 9, 2016 at 6:32 PM, John Jason Jordan 
wrote:

> On Sat, 9 Jul 2016 18:00:19 -0700
> Bill Barry  dijo:
>
> >On Sat, Jul 9, 2016 at 5:51 PM, John Jason Jordan 
> >wrote:
>
> >> From the command line the ls -la command shows /mnt as a directory,
> >> but the permissions are just d??, followed by ? for all the
> >> other attributes. I can see the attributes it is supposed to have by
> >> looking at it on my desktop computer (also Xubuntu 14.04), which
> >> shows it as owned by root. So I tried 'sudo chown root:root /mnt',
> >> but got 'No such device. I also tried rmdir, but got 'Device or
> >> resource busy.'
>
> >It did not take well to your forced umount. Everything still thinks
> >there is something mounted at /mnt
> >Don't really know  how to solve this, but you can try
> >umount -i /media/jjj/Synology
> >umount -i /mnt
> >See if thunar is ok, then try to mount again where you want it.
>
> umount -i /media/jjj/Synology
> umount: /media/jjj/Synology is not in the fstab (and you are not root)
>
> I got the same message when I tried it on /mnt.
>
> The only things in fstab are / and /home.
>
> I'm afraid to reboot. Rebooting will umount everything, except /
> and /home will be remounted, so that should clear up part of the problem
> with /mnt. But what about the missing permissions and other stuff?
>

It might even have trouble rebooting.
I am just stabbing in the dark at this point but you can try
umount --lazy /media/jjj/Synology
umount --lazy /mnt

Bill
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] NOT QUITE SOLVED Re: Rsync to a NAS drive

2016-07-09 Thread John Jason Jordan
On Sat, 9 Jul 2016 18:00:19 -0700
Bill Barry  dijo:

>On Sat, Jul 9, 2016 at 5:51 PM, John Jason Jordan 
>wrote:

>> From the command line the ls -la command shows /mnt as a directory,
>> but the permissions are just d??, followed by ? for all the
>> other attributes. I can see the attributes it is supposed to have by
>> looking at it on my desktop computer (also Xubuntu 14.04), which
>> shows it as owned by root. So I tried 'sudo chown root:root /mnt',
>> but got 'No such device. I also tried rmdir, but got 'Device or
>> resource busy.'

>It did not take well to your forced umount. Everything still thinks
>there is something mounted at /mnt
>Don't really know  how to solve this, but you can try
>umount -i /media/jjj/Synology
>umount -i /mnt
>See if thunar is ok, then try to mount again where you want it.

umount -i /media/jjj/Synology
umount: /media/jjj/Synology is not in the fstab (and you are not root)

I got the same message when I tried it on /mnt.

The only things in fstab are / and /home. 

I'm afraid to reboot. Rebooting will umount everything, except /
and /home will be remounted, so that should clear up part of the problem
with /mnt. But what about the missing permissions and other stuff? 
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] NOT QUITE SOLVED Re: Rsync to a NAS drive

2016-07-09 Thread Bill Barry
On Sat, Jul 9, 2016 at 5:51 PM, John Jason Jordan 
wrote:

> On Sat, 9 Jul 2016 17:26:34 -0700
> John Jason Jordan  dijo:
>
> >I solved this problem with the -f (force) option. That umounted it from
> >both places. Then I remounted it just in /media/jjj/Synology. I thought
> >all was solved but now Thunar won't display the filesystem. The error
> >message is
> >
> >Failed to open directory "Filesystem"
> >Error when getting information for file '/mnt': No such device.
> >
> >I tried mkdir /mnt, but I got 'cannot create directory '/mnt': File
> >exists.'
>
> >From the command line the ls -la command shows /mnt as a directory, but
> the permissions are just d??, followed by ? for all the other
> attributes. I can see the attributes it is supposed to have by looking
> at it on my desktop computer (also Xubuntu 14.04), which shows it as
> owned by root. So I tried 'sudo chown root:root /mnt', but got 'No such
> device. I also tried rmdir, but got 'Device or resource busy.'
>

It did not take well to your forced umount. Everything still thinks there
is something mounted at /mnt
Don't really know  how to solve this, but you can try
umount -i /media/jjj/Synology
umount -i /mnt
See if thunar is ok, then try to mount again where you want it.

Bill


> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] NOT QUITE SOLVED Re: Rsync to a NAS drive

2016-07-09 Thread John Jason Jordan
On Sat, 9 Jul 2016 17:26:34 -0700
John Jason Jordan  dijo:

>I solved this problem with the -f (force) option. That umounted it from
>both places. Then I remounted it just in /media/jjj/Synology. I thought
>all was solved but now Thunar won't display the filesystem. The error
>message is 
>
>Failed to open directory "Filesystem"
>Error when getting information for file '/mnt': No such device.
>
>I tried mkdir /mnt, but I got 'cannot create directory '/mnt': File
>exists.'

>From the command line the ls -la command shows /mnt as a directory, but
the permissions are just d??, followed by ? for all the other
attributes. I can see the attributes it is supposed to have by looking
at it on my desktop computer (also Xubuntu 14.04), which shows it as
owned by root. So I tried 'sudo chown root:root /mnt', but got 'No such
device. I also tried rmdir, but got 'Device or resource busy.'
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] NOT QUITE SOLVED Re: Rsync to a NAS drive

2016-07-09 Thread Don Buchholz
Make sure any stale entries have been cleared from /etc/fstab and then reboot.

On July 9, 2016 5:26:34 PM PDT, John Jason Jordan  wrote:
>On Sat, 9 Jul 2016 16:53:54 -0700
>John Jason Jordan  dijo:
>
>>On Sat, 9 Jul 2016 16:40:02 -0700
>>Bill Barry  dijo:
>>
>>>Check to see if the cifs-utils package is installed.
>
>Not quite solved. After installing cifs-utils I ran the command, but I
>didn't realize that the last time I ran the mount command I was trying
>to mount it in /mnt - so that is where it mounted it. Realizing my
>error I ran the command again and mounted it in /media/jjj/Synology. So
>then I needed to umount it from /mnt, but the umount command didn't
>like that:
>
>jjj@Devil-Bonobo:/media/jjj$ umount //synology.local/synology/
>   umount: it seems //synology.local/synology/ is mounted multiple
>   times
>
>I solved this problem with the -f (force) option. That umounted it from
>both places. Then I remounted it just in /media/jjj/Synology. I thought
>all was solved but now Thunar won't display the filesystem. The error
>message is 
>
>Failed to open directory "Filesystem"
>Error when getting information for file '/mnt': No such device.
>
>I tried mkdir /mnt, but I got 'cannot create directory '/mnt': File
>exists.'
>
>Now what?
>___
>PLUG mailing list
>PLUG@lists.pdxlinux.org
>http://lists.pdxlinux.org/mailman/listinfo/plug

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] NOT QUITE SOLVED Re: Rsync to a NAS drive

2016-07-09 Thread John Jason Jordan
On Sat, 9 Jul 2016 16:53:54 -0700
John Jason Jordan  dijo:

>On Sat, 9 Jul 2016 16:40:02 -0700
>Bill Barry  dijo:
>
>>Check to see if the cifs-utils package is installed.

Not quite solved. After installing cifs-utils I ran the command, but I
didn't realize that the last time I ran the mount command I was trying
to mount it in /mnt - so that is where it mounted it. Realizing my
error I ran the command again and mounted it in /media/jjj/Synology. So
then I needed to umount it from /mnt, but the umount command didn't
like that:

jjj@Devil-Bonobo:/media/jjj$ umount //synology.local/synology/
umount: it seems //synology.local/synology/ is mounted multiple
times

I solved this problem with the -f (force) option. That umounted it from
both places. Then I remounted it just in /media/jjj/Synology. I thought
all was solved but now Thunar won't display the filesystem. The error
message is 

Failed to open directory "Filesystem"
Error when getting information for file '/mnt': No such device.

I tried mkdir /mnt, but I got 'cannot create directory '/mnt': File
exists.'

Now what?
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug