Beiträge von ipo

    My network is failed but I get access to http and ssh ...
    But not smb ...


    root@omv:/# systemctl status networking.service
    ● networking.service - Raise network interfaces
    Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
    Drop-In: /run/systemd/generator/networking.service.d
    └─50-insserv.conf-$network.conf
    Active: failed (Result: exit-code) since dim. 2017-10-15 09:08:07 CEST; 25min ago
    Docs: man:interfaces(5)
    Main PID: 2004 (code=exited, status=1/FAILURE)



    oct. 15 09:08:06 omv systemd[1]: Starting Raise network interfaces...
    oct. 15 09:08:06 omv ifup[2004]: RTNETLINK answers: File exists
    oct. 15 09:08:06 omv ifup[2004]: Failed to bring up eth0.
    oct. 15 09:08:07 omv systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
    oct. 15 09:08:07 omv systemd[1]: Failed to start Raise network interfaces.
    oct. 15 09:08:07 omv systemd[1]: networking.service: Unit entered failed state.
    oct. 15 09:08:07 omv systemd[1]: networking.service: Failed with result 'exit-code'.
    root@omv:/#


    root@omv:/# sudo ifup -v eth0


    Configuring interface eth0=eth0 (inet)
    /bin/run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
    run-parts: executing /etc/network/if-pre-up.d/ethtool
    run-parts: executing /etc/network/if-pre-up.d/ifenslave
    + [ inet = meta ]
    + IF_BOND_SLAVES=
    + [ ]
    + [ ]
    + [ -z ]
    + exit
    run-parts: executing /etc/network/if-pre-up.d/wireless-tools
    run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
    /bin/ip addr add 192.168.1.201/255.255.255.0 broadcast 192.168.1.255 dev eth0 label eth0
    RTNETLINK answers: File exists
    Failed to bring up eth0.
    root@omv:/#


    root@omv:/# df
    Sys. de fichiers blocs de 1K Utilisé Disponible Uti% Monté sur
    udev 10240 0 10240 0% /dev
    tmpfs 616928 8276 608652 2% /run
    /dev/sda1 19090620 16693824 1520672 92% /
    tmpfs 1542320 8 1542312 1% /dev/shm
    tmpfs 5120 0 5120 0% /run/lock
    tmpfs 1542320 0 1542320 0% /sys/fs/cgroup
    root@omv:/#


    Thx for your help

    I run on proxmox. Host is a Core i3 - 2130 - 8Gb RAM


    My VM OMV has 2 VCPU - 2 Gb Ram.


    In fact, I had to intall again my VM cause another issue without relation.


    Yet, Before I hadn't issue with plex.


    But, I don't see relation with CPU ?

    Hello,


    I installed Plex. But it don't want to boot.


    Here is log :
    root@omv:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs# cat Plex\ Media\ Server.log


    Aug 23, 2017 21:31:36.072 [0x7f0649e75700] INFO - Plex Media Server v1.7.5.4035-313f93718 - ubuntu PC x86_64 - build: linux-ubuntu-x86_64 ubuntu - GMT 02:00
    Aug 23, 2017 21:31:36.072 [0x7f0649e75700] INFO - Linux version: 4.9.0-0.bpo.3-amd64 (#1 SMP Debian 4.9.30-2+deb9u2~bpo8+1 (2017-06-27)), language: fr-FR
    Aug 23, 2017 21:31:36.072 [0x7f0649e75700] INFO - Processor Common KVM processor
    Aug 23, 2017 21:31:36.072 [0x7f0649e75700] INFO - /usr/lib/plexmediaserver/Plex Media Server
    Aug 23, 2017 21:31:36.071 [0x7f0655943800] DEBUG - BPQ: [Idle] -> [Starting]
    Aug 23, 2017 21:31:36.072 [0x7f0655943800] ERROR - FATAL ERROR: Codecs: Initialize: 'boost::filesystem::create_directory: Too many levels of symbolic links: "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/46b03cf-1241-linux-ubuntu-x86_64"'
    Aug 23, 2017 21:31:36.084 [0x7f0655943800] DEBUG - Job running: '/usr/lib/plexmediaserver/CrashUploader' '--directory=/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Crash Reports/1.7.5.4035-313f93718' '--version=1.7.5.4035-313f93718' '--platform=linux-ubuntu-x86_64 (4.9.0-0.bpo.3-amd64 (#1 SMP Debian 4.9.30-2+deb9u2~bpo8+1 (2017-06-27)))' '--serverUuid=cd9af64e52a243b3dd7bc71bb8ca0be68b65e189' '--userId=NOUSERID' '--url=https://crashreport.plexapp.com'


    Please help

    ok Plex is an issue but my initial trouble is not this one ...


    I simply asked how to recover my space on sda.


    The Swap partition was blocking any extended. So I deleted it.
    And now I should recover this space freeing.


    So in fact I have 4 HD.


    1 for OS (20GB - sda).
    3 for DATA (sdb, sdc, sdd)


    root@omv:~# fdisk -l



    Disk /dev/sdb: 1,8 TiB, 2000398934016 bytes, 3907029168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk /dev/sdc: 1,8 TiB, 2000398934016 bytes, 3907029168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk /dev/sda: 20 GiB, 21474836480 bytes, 41943040 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x000d326b



    Device Boot Start End Sectors Size Id Type
    /dev/sda1 * 2048 29296875 29294828 14G 83 Linux



    Disk /dev/sdd: 1,8 TiB, 2000398934016 bytes, 3907029168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: dos
    Disk identifier: 0xefd9a1b4



    Device Boot Start End Sectors Size Id Type
    /dev/sdd1 256 488378111 488377856 232,9G 7 HPFS/NTFS/exFAT



    Disk /dev/md127: 3,7 TiB, 4000528203776 bytes, 7813531648 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 524288 bytes / 1048576 bytes


    And now I would like extended my / partition.
    How to do ?

    Thx for your answer


    I deleted swap.
    I deleted sda5 and sda2.


    I extented partition sda1 to 15GB.


    root@omv:~# du -d3 -BM / 2>/dev/null | sort -h -r | head -n10 | tail -n9
    1962545M /media/b5da5c85-55df-40fd-aea7-a783e49c72d2
    1962545M /media
    1819855M /media/b5da5c85-55df-40fd-aea7-a783e49c72d2/VIDEO
    140437M /media/b5da5c85-55df-40fd-aea7-a783e49c72d2/DATA
    4865M /var
    4771M /var/lib
    4627M /var/lib/plexmediaserver
    2255M /media/b5da5c85-55df-40fd-aea7-a783e49c72d2/plexmediaserver
    1246M /usr


    I dont understand my partition sda1 is only 7,6 GB ...


    root@omv:~# df
    Sys. de fichiers blocs de 1K Utilisé Disponible Uti% Monté sur
    udev 10240 0 10240 0% /dev
    tmpfs 616928 8520 608408 2% /run
    /dev/sda1 7736784 7019664 301072 96% /
    tmpfs 1542316 8 1542308 1% /dev/shm
    tmpfs 5120 0 5120 0% /run/lock
    tmpfs 1542316 0 1542316 0% /sys/fs/cgroup
    /dev/md127 3845310464 2009735792 1835558288 53% /media/b5da5c85-55df-40fd-aea7-a783e49c72d2



    root@omv:/dev# cat /etc/fstab
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    # / was on /dev/sda1 during installation
    UUID=28139d6c-3ffd-4335-bd25-291c64a6051f / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda5 during installation
    # UUID=b38db338-36a8-4085-b38d-c53b5f984295 none swap sw 0 0
    /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
    # >>> [openmediavault]
    UUID=b5da5c85-55df-40fd-aea7-a783e49c72d2 /media/b5da5c85-55df-40fd-aea7-a783e49c72d2 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
    # <<< [openmediavault]

    I think I found my trouble ...


    Code
    root@omv:~# df




    Sys. de fichiers blocs de 1K Utilisé Disponible Uti% Monté sur
    udev 10240 0 10240 0% /dev
    tmpfs 616928 8644 608284 2% /run
    /dev/sda1 7736784 7338824 0 100% /
    tmpfs 1542316 4 1542312 1% /dev/shm
    tmpfs 5120 0 5120 0% /run/lock
    tmpfs 1542316 0 1542316 0% /sys/fs/cgroup
    /dev/md127 3845310464 2009735792 1835558288 53% /media/b5da5c85-55df-40fd-aea7-a783e49c72d2
    root@omv:~#



    Code
    root@omv:~# fdisk /dev/sda -l


    Disk /dev/sda: 20 GiB, 21474836480 bytes, 41943040 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x000d326b



    Device Boot Start End Sectors Size Id Type
    /dev/sda1 * 2048 15988735 15986688 7,6G 83 Linux
    /dev/sda2 15990782 16775167 784386 383M 5 Extended
    /dev/sda5 15990784 16775167 784384 383M 82 Linux swap / Solaris



    I have 20Gb on /dev/sda ... so if I delete /dev/sda2 and /dev/sda5, I can extend my partition /dev/sda1 ?
    Is it correct ?


    I am not gonna loose all ?

    Hello,


    I lost my admin webgui password ... so I changed it by omv-firstaid but it didnt't work :(


    Before that, I had a power cut ... I am afraid that my omv broke.


    But my root access works well.


    Please help !

    Sorry, but I already expand the virtual partition.


    Code
    Disk /dev/sda: 20 GiB, 21474836480 bytes, 41943040 sectors


    Now I must expand sda1.

    Code
    /dev/sda1 * 2048 15988735 15986688 7,6G 83 Linux

    But SWAP prevents me from doing it.


    Code
    /dev/sda2 15990782 16775167 784386 383M 5 Extended
    /dev/sda5 15990784 16775167 784384 383M 82 Linux swap / Solaris


    So how to delete SWAP, to expand sda1 ?

    Hi,
    My partition is almost full. I wanted to increase it but the partition swap prevents me from doing it.


    In fact OMV is installed on Host ESX. It's a VM. So I increased to 20 Gb the virtual partition as you see above. But now to increase is blocked in VM because of SWAP.
    So I would like kill the SWAP without breaking anything.