Wrong partition names in shared folders list (sda is sdb)

  • Hi, i've noticed that the partitions names are not the same in OMV in Storage/Disk and Storage/Files Systems
    i have 3 drives listed in Storage/Disk

    But sdb1 is switched with sda1 in Storage/Files Systems (and one is listed twice)

    my fstab:

    blkid:

    Code
    root@nasXXX:/# sudo blkid
    /dev/sda1: LABEL="DATABACKUP" UUID="fd74e55a-a46f-4441-af9d-ee01ba56f6ce" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="55f2965a-ef37-4c2e-9293-9dbf037fecc1"
    /dev/sdb1: LABEL="DATAGLOUB" UUID="2d390a3f-5b15-4842-9bed-4aa3107daec9" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="0e89d9b5-94ed-42ce-a3e1-86eea4670a03"
    /dev/sdc1: UUID="4458c0b4-6db0-44b9-81eb-2afc7c22f112" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="d1f74ed3-01"
    /dev/sdc5: UUID="73f22072-820a-41d0-a923-64bcef496e5b" TYPE="swap" PARTUUID="d1f74ed3-05"

    lsblk:

    Code
    root@nasXXX:/# lsblk
    NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    sda      8:0    0   3,6T  0 disk
    └─sda1   8:1    0   3,6T  0 part /srv/dev-disk-by-uuid-fd74e55a-a46f-4441-af9d-ee01ba56f6ce
    sdb      8:16   0   3,6T  0 disk
    └─sdb1   8:17   0   3,6T  0 part /srv/dev-disk-by-uuid-2d390a3f-5b15-4842-9bed-4aa3107daec9
    sdc      8:32   0 238,5G  0 disk
    ├─sdc1   8:33   0  21,9G  0 part /
    ├─sdc2   8:34   0     1K  0 part
    └─sdc5   8:37   0     2G  0 part [SWAP]

    sudo fdisk -l:

    Labels and UUIDs are fine in shared folders but sda is sdb...




    Well..I'm i missing something? :/

  • Yes it is showing two sda1 in the dashboard also...

    i'm using rsync to auto-backup my shared folders to the backup drive, for now it seems to work despite the fact that partition name (sda/sdb) is "inverted" with the drives labels in Storage/shared folders but yes two sda1 is a bit strange...

  • Here it is

    • Official Post
    Code
    <mntent>
    <uuid>79684322-3eac-11ea-a974-63a080abab18</uuid>
    <fsname>/dev/sda1</fsname>
    <dir>/</dir>
    <type>ext4</type>
    <opts>errors=remount-ro</opts>
    <freq>0</freq>
    <passno>1</passno>
    <hidden>1</hidden>
    </mntent>

    This is the problem. OMV "thinks" sda1 is the root fs, but actually it is sdc1 now.


    Make a backup of

    /etc/openmediavault/config.xml


    then open the file with nano and change in the section above sda1 by

    /dev/disk/by-uuid/4458c0b4-6db0-44b9-81eb-2afc7c22f112

    Then save the file and run

    omv-salt deploy run fstab monit


    Similar issue here

  • Another weird thing i've found is that backup folders have disappeared using sftp client but showing in ssh! :huh:


    Code
    root@nasXXX:/srv/databackup/appdatabackup# ls
    authelia     dashboard    fireshare  Heimdall       loki         nextclouddb    picoshare   pwndrop          session     transmission  WikiJS
    bookstack    diun         freshrss   homeassistant  media        nodered        pingvin     remotely         snapdrop    uptime-kuma   wireshark
    calibre      docker       Gotify     homebridge     meshcentral  openvas        pinry       rustdesk         snippetbox  vaultwarden   wordpress
    calibre-web  duckdns      grafana    influxdb       mosquitto    openvasbackup  portainer   scrutinyanalogj  swag        wallabag      wordpressdb
    codeserver   duplicati    guacamole  Jellyfin       navidrome    photoprism     prometheus  seafile          syncthing   webtop        zigbee2mqtt
    collabora    filebrowser  hassconf   librespeed     nextcloud    phpMyAdmin     promtail    seafile-mariadb  tailscale   whoogle

    using SFTP client (cyberduck or Transmit)

  • Thanks macom

    changed <fsname> by:


    Code
    <mntent>
    <uuid>79684322-3eac-11ea-a974-63a080abab18</uuid>
    <fsname>/dev/disk/by-uuid/4458c0b4-6db0-44b9-81eb-2afc7c22f112</fsname>
    <dir>/</dir>
    <type>ext4</type>
    <opts>errors=remount-ro</opts>
    <freq>0</freq>
    <passno>1</passno>
    <hidden>1</hidden>
    </mntent>

    Looks better now


    Folders are back in SFTP also :thumbup:

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!