Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: usb drive mounted differently after online update

  1. #1

    Default usb drive mounted differently after online update

    I noticed a recent online update mentioned rectifying usb mounting in some way, and since applying it I'm left scratching my head how to get things back to the way I want them.

    I have an external drive mounted via USB which I use as general storage between machines, but its principal use is as extra storage for audio files which I play mainly on one PC. I've created a guest user account on this machine and I want other users to be able to play the music files but not modify or delete them, so I added the device to the fstab as auto-mount at /home/shared (this isn't the guest user directory, just a regular folder owned by me with group read/write permissions), and have set the sticky bit on the /home/shared/Music subdirectory.

    Since the online update, /home/shared no longer lists any files. They get automatically mounted at /run/media/[username]/shared instead. I don't understand the workings or configuration of this new behaviour though the fact that the destination folder is called /shared suggests it is adopting my configuration in some way. I'd prefer just to keep things how they were, though it makes sense for any other usb device I plug in to appear in a unified location.

    As a consequence, Clementine has updated to an empty database because it can no longer find the files at /home/shared/Music. I don't think a symlink from /home/shared is a good idea because the path would have to include the username as a variable. I could point Clementine to the new location on both user accounts but I have /home/shared set as a shortcut in many other places and I'd rather keep the device mounted there. What are the options? Is there a simple way to just cancel this behaviour for a specific device?

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: usb drive mounted differently after online update

    On 2013-03-03 23:46, gumb wrote:
    > so I added the device to the fstab
    > as auto-mount at /home/shared (this isn't the guest user directory, just
    > a regular folder owned by me with group read/write permissions), and
    > have set the sticky bit on the /home/shared/Music subdirectory.
    >
    > Since the online update, /home/shared no longer lists any files. They
    > get automatically mounted at /run/media/[username]/shared instead


    This is a bug, a regression in fact.

    A device that is listed in fstab should not be mounted by the desktop
    elsewhere. So, report as such in Bugzilla.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,158

    Default Re: usb drive mounted differently after online update

    I agree with Carlos. A very important rule in this mounting using the desktop is that it should not be done when the device is in the fstab.

    Now you do tell that it is in your fstab, but you do not show anything to prove that. Remind that we are very sceptical on believing stories, bu we love computer facts. Thus you should have backed your story with at least that entry (of course between CODE tags). I suppose that it contanis a unique identification of that devive (eithr id, UUID or label). But that is one thing we could have seen when you had posted it.
    Henk van Velden

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: usb drive mounted differently after online update

    On 2013-03-04 10:16, hcvv wrote:
    >
    > I agree with Carlos. A very important rule in this mounting using the
    > desktop is that it should not be done when the device is in the fstab.


    In fact, I have reported several bugs on this issue on the past, mostly
    on gnome, and they were solved years ago. So if it is happening again,
    it must be reported, again. I do not use current versions of gnome nor
    kde, so I can't.

    I can check later what happens on 12.3 RC2 xfce.

    > Now you do tell that it is in your fstab, but you do not show anything
    > to prove that. Remind that we are very sceptical on believing stories,
    > bu we love computer facts. Thus you should have backed your story with
    > at least that entry (of course between CODE tags). I suppose that it
    > contanis a unique identification of that devive (eithr id, UUID or
    > label). But that is one thing we could have seen when you had posted it.


    Yes, absolutely, things must be proven if you write a bugzilla. Here we
    can be a bit more lax, but not much :-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))

  5. #5

    Default Re: usb drive mounted differently after online update

    I will report it on Bugzilla unless you see anything obviously wrong with the line in the fstab:

    Code:
    /dev/disk/by-id/usb-TOSHIBA_MK6025GAS_†††††㈠㔵㑌㌶匰-0:0-part3 /home/shared         ext4       user,auto,noatime,acl,user_xattr,nofail 0 0
    By the way, this is on an openSUSE 12.2 machine running xfce.

  6. #6
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,634
    Blog Entries
    3

    Default Re: usb drive mounted differently after online update

    Quote Originally Posted by gumb View Post
    Since the online update, /home/shared no longer lists any files. They get automatically mounted at /run/media/[username]/shared instead.
    I am still puzzled by this.

    I ran online updates last night, on my 12.2 system. And, after the updates, it still mounts a plugged in USB drive at "/media/label-or-uuid". It is only in 12.3 RC2, that I see mounts on "/run/media/$USER/label-or-uuid".

    Was your update an update to 12.3? Or are you running Tumbleweed? Something seems to be missing in the provided information.

    If your disk has a label "shared", that might explain why it is still being mounted at /some/path/shared.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: usb drive mounted differently after online update

    On 2013-03-05 23:36, gumb wrote:
    >
    > I will report it on Bugzilla unless you see anything obviously wrong
    > with the line in the fstab:
    >
    >
    > Code:
    > --------------------
    > /dev/disk/by-id/usb-TOSHIBA_MK6025GAS_†††††㈠㔵㑌㌶匰-0:0-part3 /home/shared ext4 user,auto,noatime,acl,user_xattr,nofail 0 0
    > --------------------


    Is that the actual line? It has unreadable characters on the ID... no
    wonder it does not work.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))

  8. #8

    Default Re: usb drive mounted differently after online update

    Quote Originally Posted by nrickert
    I am still puzzled by this.

    I ran online updates last night, on my 12.2 system. And, after the updates, it still mounts a plugged in USB drive at "/media/label-or-uuid". It is only in 12.3 RC2, that I see mounts on "/run/media/$USER/label-or-uuid".

    Was your update an update to 12.3? Or are you running Tumbleweed? Something seems to be missing in the provided information.
    No just a regular online update on 12.2. I'm not on that machine at the moment but I'll try and find out later which package was updated. Maybe it only currently gets pulled in with certain configurations or desktop environments, which may differ between 12.2 and 12.3?

    Quote Originally Posted by nrickert
    If your disk has a label "shared", that might explain why it is still being mounted at /some/path/shared.
    Yes that would make sense, I probably gave it a label at some point.

    Quote Originally Posted by robin_listas
    Is that the actual line? It has unreadable characters on the ID... no wonder it does not work.
    I thought that originally but it was mounting fine up until this recent update, and that's the string provided by YaST (or by default by the drive I guess) when I did a fresh install on this machine with the drive attached.

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: usb drive mounted differently after online update

    On 2013-03-06 09:56, gumb wrote:
    > robin_listas Wrote:
    >> > Is that the actual line? It has unreadable characters on the ID... no
    >> > wonder it does not work.

    > I thought that originally but it was mounting fine up until this recent
    > update, and that's the string provided by YaST (or by default by the
    > drive I guess) when I did a fresh install on this machine with the drive
    > attached.


    Change it. Is it possible? :-?

    Or use uuid instead, or label.


    The update could have affected UTF strings recognizing in some code:-?

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))

  10. #10

    Default Re: usb drive mounted differently after online update

    Quote Originally Posted by robin_listas View Post
    Change it. Is it possible? :-?

    Or use uuid instead, or label.


    The update could have affected UTF strings recognizing in some code:-?
    I'd be reluctant to change it since I've had problems with this sort of thing before. When doing an earlier install on this machine and drives set to Device Name, the YaST installation faltered at the start and advised I should change all mount points to another option. I tried to change them to UUID but after extensive Googling couldn't find out a comprehensive list of exactly which files needed changing aside from fstab and perhaps something in /boot. Hence, I borked the system and spent ages trying to get back in via the rescue system to put everything back how it was. That's why I decided during the 12.2 install to go with Device ID from the start in the hope of not having further problems.

    I've filed a bug report here.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •