Only two physical drives visible.

  • Linux noob:


    I have create a OpenMediaVault DomU on my xenserver.
    On the host I have 3 x 1TB and a 230GB drives. The host and VM's use the 230GB drive.
    The 3 X 1TB drives are mapped through as per http://techblog.conglomer.net/…disk-access-on-xenserver/


    On XenCenter I have attached these three drives to the OMV vm but only two of them will show up when I scan for Physical Disks.


    root@openmediavault:~# ls -l
    total 936
    -rw-r--r-- 1 root root 208410 Sep 18 2014 openmediavault-omvextrasorg_0.6.25_all.deb
    -rw-r--r-- 1 root root 208410 Sep 18 2014 openmediavault-omvextrasorg_0.6.25_all.deb.1
    -rw-r--r-- 1 root root 267608 Aug 20 08:02 openmediavault-omvextrasorg_latest_all.deb
    -rw-r--r-- 1 root root 267608 Aug 20 08:02 openmediavault-omvextrasorg_latest_all.deb.1


    root@openmediavault:~# blkid
    /dev/xvda1: UUID="a6c75686-4343-40c3-92d2-3c2a36eeed30" TYPE="ext4"
    /dev/xvda5: UUID="a3e7e6a9-fb51-49de-be6b-5010850cabd0" TYPE="swap"
    /dev/xvdb1: LABEL="vol01" UUID="ca7f94b9-3ffc-4350-bb75-9b8149b05f2a" TYPE="xfs"
    /dev/xvdc1: LABEL="vol02" UUID="3568fc84-20af-4369-912d-1de5a2aa7b4c" TYPE="xfs"


    root@openmediavault:~# df -h
    Filesystem Size Used Avail Use% Mounted on
    rootfs 16G 1.2G 14G 9% /
    udev 10M 0 10M 0% /dev
    tmpfs 100M 412K 100M 1% /run
    /dev/disk/by-uuid/a6c75686-4343-40c3-92d2-3c2a36eeed30 16G 1.2G 14G 9% /
    tmpfs 5.0M 0 5.0M 0% /run/lock
    tmpfs 343M 0 343M 0% /run/shm
    /dev/xvdb1 932G 33M 932G 1% /media/ca7f94b9-3ffc-4350-bb75-9b8149b05f2a
    /dev/xvdc1 932G 33M 932G 1% /media/3568fc84-20af-4369-912d-1de5a2aa7b4c


    Any help would be appreciated.


    Thanks in advance.

  • Usually when you installed OMV on a virtual machine as a guest such as Virtualbox or Proxmox, you might need to pass through the hard drives to it; in order for it to detect the drives.


    Zitat

    In order to get Xenserver to recognize the SATA drive we’ll need to create some symbolic links in the hypervisor’s /dev/xapi/block directory by editing the /etc/udev/rules.d/50-udev.rules
    file. (The udev daemon in the kernel properly abstracts USB and SATA
    while placing the appropriate node into the /dev directory).


    Using /dev/sdb as the drive we wish to attach, add the following lines to /etc/udev/rules.d/50-udev.rules which are modified from similar USB mass storage detection rules.


    Code
    ACTION=="add", KERNEL=="sdb", SYMLINK+="xapi/block/%k", RUN+="/bin/sh -c '/opt/xensource/libexec/local-device-change %k 2>&1 >/dev/null&'"
    ACTION=="remove", KERNEL=="sdb", RUN+="/bin/sh -c '/opt/xensource/libexec/local-device-change %k 2>&1 >/dev/null&'"



    source: http://techblog.conglomer.net/…disk-access-on-xenserver/

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

    Einmal editiert, zuletzt von tinh_x7 ()

Jetzt mitmachen!

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