Install error on fresh Buster

  • Hello,


    I followed these instructions on a fresh Buster install and this line:

    Code
    apt-get --yes --auto-remove --show-upgraded \
    	--allow-downgrades --allow-change-held-packages \
    	--no-install-recommends \
    	--option Dpkg::Options::="--force-confdef" \
    	--option DPkg::Options::="--force-confold" \
    	install openmediavault-keyring openmediavault

    fails with:

    Whole output here: https://pastebin.com/3dUNLFJt


    Do you have any hint on what could be expected, as a block device number 22?


    This is cat /etc/fstab:

    and ls -l /dev/block:

    Code
    total 0
    lrwxrwxrwx 1 root root 6 Aug  6 15:36 8:0 -> ../sda
    lrwxrwxrwx 1 root root 7 Aug  6 15:36 8:1 -> ../sda1
    lrwxrwxrwx 1 root root 6 Aug  6 15:36 8:16 -> ../sdb
    lrwxrwxrwx 1 root root 7 Aug  6 15:36 8:17 -> ../sdb1
    lrwxrwxrwx 1 root root 7 Aug  6 15:36 8:2 -> ../sda2
    lrwxrwxrwx 1 root root 6 Aug  6 15:36 8:32 -> ../sdc
    lrwxrwxrwx 1 root root 7 Aug  6 15:36 8:33 -> ../sdc1
    lrwxrwxrwx 1 root root 7 Aug  6 15:36 8:5 -> ../sda5

    I understand OMV is meant to work with a data partition which is distinct from the root fs, can you figure if the above error is related? I'd like to rule out other issues before reallocating the storage.

    2 Mal editiert, zuletzt von Daniele () aus folgendem Grund: Fix link typo and formatting.

    • Offizieller Beitrag

    It seems that there is a problem with BTRFS as root filesystem and the pyudev library.


    Could you please execute the following commands and post the output:


    Bash
    $ stat /


    Bash
    $ python3
    Python 3.6.8 (default, Jan 14 2019, 11:02:34)[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linuxType "help", "copyright", "credits" or "license" for more information.
    >>> import os
    >>> st = os.stat("/")
    >>> st
    >>> os.major(st.st_dev), os.minor(st.st_dev)

    The output of the Python interactive shell should look like:


    Bash
    $ python3
    Python 3.6.8 (default, Jan 14 2019, 11:02:34) 
    [GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import os
    >>> st = os.stat("/")
    >>> st
    os.stat_result(st_mode=16877, st_ino=2, st_dev=2050, st_nlink=24, st_uid=0, st_gid=0, st_size=4096, st_atime=1565156590, st_mtime=1563864897, st_ctime=1563864897)
    >>> os.major(st.st_dev), os.minor(st.st_dev)
    (8, 2)


    Now execute the following command with YOUR major/minor numbers:



    Bash
    $ ls -alh /sys/dev/block/8:2
  • Thanks for your quick reply, stat / gives:

    Code
    File: /
      Size: 276       	Blocks: 32         IO Block: 4096   directory
    Device: 16h/22d	Inode: 256         Links: 1
    Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
    Access: 2019-08-07 11:09:01.836276415 +0200
    Modify: 2019-08-07 11:05:06.986117941 +0200
    Change: 2019-08-07 11:05:06.986117941 +0200
     Birth: -

    The Python session (note I had version 3.7.3 pulled automatically):

    Python
    Python 3.7.3 (default, Apr  3 2019, 05:39:12) 
    [GCC 8.3.0] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import os
    >>> st = os.stat("/")
    >>> st
    os.stat_result(st_mode=16877, st_ino=256, st_dev=22, st_nlink=1, st_uid=0, st_gid=0, st_size=276, st_atime=1565168941, st_mtime=1565168706, st_ctime=1565168706)
    >>> os.major(st.st_dev), os.minor(st.st_dev)
    (0, 22)

    and indeed ls -alh /sys/dev/block/0:22 doesn't find it:

    Code
    ls: cannot access '/sys/dev/block/0:22': No such file or directory

    ls -alh /sys/dev/block gives:

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!