Results 1 to 3 of 3

Thread: System partitions showing as removable devices

  1. #1

    Default System partitions showing as removable devices

    Hello experts,

    I am running Opensuse tumbleweed with xfce as wm, currently installed: 20200627. Upgrades are done with `tumbleweed-cli`.

    For some reason, I'm not sure with which update prior to 20200627, I noticed that system partitions are shown as removable devices.

    Launching xfdesktop-settings > Icons > Removable Devices my desktop is filled with:
    filesystem root
    .snapshots
    efi i386-pc
    x86_64-efi
    home
    opt
    root
    srv
    tmp
    local
    var

    I also have a MP3 player, this is no longer auto mounted when I plug it in, however it is found by the system with name sdd and sde


    Code:
    ~> lsblk
    NAME                                          MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
    sda                                             8:0    0 232.9G  0 disk  
    └─sda1                                          8:1    0 232.9G  0 part  
    sdb                                             8:16   0 111.8G  0 disk  
    ├─sdb1                                          8:17   0   529M  0 part  
    ├─sdb2                                          8:18   0    99M  0 part  
    ├─sdb3                                          8:19   0    16M  0 part  
    ├─sdb4                                          8:20   0  35.7G  0 part  
    ├─sdb5                                          8:21   0   500M  0 part  /boot/efi
    └─sdb6                                          8:22   0    75G  0 part  
      └─cr_ata-SanDisk_SDSSDA120G_155*********-part6
                                                  254:0    0    75G  0 crypt 
        └─system-root                             254:1    0    35G  0 lvm   /opt
    sdc                                             8:32   0   3.7T  0 disk  
    ├─sdc2                                          8:34   0   1.6T  0 part  
    └─sdc3                                          8:35   0   2.1T  0 part  
      └─cr_home                                   254:2    0   2.1T  0 crypt /home
    sdd                                             8:48   1  12.3G  0 disk  
    sde                                             8:64   1 119.1G  0 disk
    On Askubuntu site they suggest I update my fstab, but my fstab looks very unfamiliar with everything under /dev/system/root (perhaps due to btrfs/lvm)
    Code:
     
    ~> less /etc/fstab
    /dev/system/root                           /                       btrfs  defaults                      0  0
    /dev/system/root                           /.snapshots             btrfs  subvol=/@/.snapshots          0  0
    /dev/system/root                           /var                    btrfs  subvol=/@/var                 0  0
    /dev/system/root                           /usr/local              btrfs  subvol=/@/usr/local           0  0
    /dev/system/root                           /tmp                    btrfs  subvol=/@/tmp                 0  0
    /dev/system/root                           /srv                    btrfs  subvol=/@/srv                 0  0
    /dev/system/root                           /root                   btrfs  subvol=/@/root                0  0
    /dev/system/root                           /opt                    btrfs  subvol=/@/opt                 0  0
    UUID=c94f64*********************  /home                   ext4   data=ordered                  0  2
    /dev/system/root                           /boot/grub2/x86_64-efi  btrfs  subvol=/@/boot/grub2/x86_64-efi  0  0
    /dev/system/root                           /boot/grub2/i386-pc     btrfs  subvol=/@/boot/grub2/i386-pc  0  0
    UUID=3A69-****                             /boot/efi               vfat   defaults                      0  2
    Another link from arch suggests that it is kernal issue.
    Code:
    ~> for char in /sys/class/block/*/removable 
                       printf "$char "; cat $char
                   end
    /sys/class/block/dm-0/removable 0
    /sys/class/block/dm-1/removable 0
    /sys/class/block/dm-2/removable 0
    /sys/class/block/sda/removable 0
    /sys/class/block/sdb/removable 0
    /sys/class/block/sdc/removable 0
    /sys/class/block/sdd/removable 1
    /sys/class/block/sde/removable 1
    Can anyone point me in the direction to stop system partions getting recongnized as removable and to get my MP3 to be automountable again?

    Thanks for taking time.
    Samual

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    21,742
    Blog Entries
    1

    Default Re: System partitions showing as removable devices

    Quote Originally Posted by bloomers_boxer View Post

    Can anyone point me in the direction to stop system partions getting recongnized as removable
    Read the following udev/udisks guide...
    https://wiki.archlinux.org/index.php...ted_partitions
    openSUSE Leap 15.2; KDE Plasma 5

  3. #3

    Default Re: System partitions showing as removable devices

    Thanks, this is what I was looking for.

    I do have one other question though, but perhaps I need to ask the Clementine music player crew this.

    Under devices tab, I still see my efi, home and var partitions.

    My home and var are actually different physical devices. Home is a hdd while var is root ssd.

    Looks like these partitions as still somehow seen as removable devices. (however I am not able to mount them)

Tags for this Thread

Posting Permissions

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