Beiträge von mife90

    Hello


    You are right the data are mounted in /media and the OS is less than 2GB
    So I will use CloneZilla so as to backup the system before to upgrade
    thks a lot for your solution,


    bruno


    df -h


    /dev/mapper/omv-root 322M 163M 143M 54% /
    tmpfs 3,8G 12K 3,8G 1% /lib/init/rw
    udev 3,8G 172K 3,8G 1% /dev
    tmpfs 3,8G 0 3,8G 0% /dev/shm
    /dev/mapper/omv-tmp 349M 11M 321M 4% /tmp
    /dev/mapper/omv-usr 7,4G 1,1G 6,0G 15% /usr
    /dev/mapper/omv-var 2,8G 544M 2,1G 21% /var
    /dev/sda2 237M 18M 207M 8% /boot
    /dev/mapper/omv-nebula
    1,5T 488G 952G 34% /media/f2ded637-9026-439a-8ddf-3e4a2cff0cbb
    /dev/mapper/omv-mife 497G 117G 381G 24% /media/d797e57d-6b34-4032-9b41-3cccc5375f03


    mount
    /dev/mapper/omv-root on / type ext4 (rw,errors=remount-ro)
    tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
    proc on /proc type proc (rw,noexec,nosuid,nodev)
    sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
    udev on /dev type tmpfs (rw,mode=0755)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
    devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
    /dev/mapper/omv-tmp on /tmp type ext4 (rw)
    /dev/mapper/omv-usr on /usr type ext4 (rw)
    /dev/mapper/omv-var on /var type ext4 (rw)
    /dev/sda2 on /boot type ext2 (rw)
    /dev/mapper/omv-nebula on /media/f2ded637-9026-439a-8ddf-3e4a2cff0cbb type ext4 (rw,noexec,_netdev,acl,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0)
    /dev/mapper/omv-mife on /media/d797e57d-6b34-4032-9b41-3cccc5375f03 type xfs (rw,noexec,_netdev,usrquota,grpquota)
    /media/f2ded637-9026-439a-8ddf-3e4a2cff0cbb/nebula on /export/nebula type none (rw,bind)
    rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
    nfsd on /proc/fs/nfsd type nfsd (rw)

    I got 1 TB of data on one nfs share: OpenNebula is using omv to store its VMs.
    So I tested on a VM the upgrade from 0.5 to 1.12 without pb.
    I want now to upgrade the real omv.
    But because I do not know the future I would like to be sure to restore the previous omv version in case of big issue.
    So is there any possibility to do that?


    Bruno

    thks for replying to me so quickly


    unfortunately impossible: 1TB of data and I have no drive of this capacity ;(


    I had no problem with the update:
    --------------------------------------------------------
    apt-get update && apt-get dist-upgrade && omv-update


    omv-release-upgrade


    apt-get purge apache2 (because of nginx)


    apt-get --reinstall install openmediavault
    --------------------------------------------------------


    But I wish to keep the possibility to return to the initial state


    any idea?

    Hi


    I want to migrate my 0.5 version to the 1.12 version.
    Before to proceed I would like to save the omv conf files, in case of crash.
    How can I do that?
    thanks in adavance,
    Bruno

    here is the OS we are using:


    Distributor ID: Debian
    Description: Debian GNU/Linux 6.0.8 (squeeze)
    Release: 6.0.8
    Codename: squeeze


    Can we continue and upgrade without hesitation?

    I did not installed OMV myself in fact


    I guess OMV is installed on the raid array


    How can I quickly check on which support has been installed OMV?


    I did not run memtest from live-cd or anything else


    just:


    memtester 7500 1 # test 7500MB in one iteration


    from Linux shell


    I got no error but it is true that memtester does not test all sectors


    difficult for me to stop OMV which is already used by open nebula


    Do you think I must repeat the control with memtest?

    TERRA SERVER 4530 G1 1100724
    CPU Xeon SP E3-1225v2 / LGA 1155 quad core
    1 adaptec RAID 6405 SAS/STAT-600 512MB PCIe x 8 Sgl RAID
    RAM 8GB DDR3
    4 x HD 3.5" SATA2-RAID 1TB HGST HUA722010CLA330/7200


    What kind of pb / bug is it?


    What is the best way to solve the issue?


    thks in advance,


    Bruno

    Hi,
    OMV server crashes from time to time because of out of memory.


    in the /var/log/syslog:


    Dec 12 11:43:48 omv kernel: [51832.264261] Node 0 Normal: 5787*4kB 10494*8kB 8603*16kB 4*32kB 1*64kB 1*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 245324kB
    Dec 12 11:43:48 omv kernel: [51832.264271] 724 total pagecache pages
    Dec 12 11:43:48 omv kernel: [51832.264272] 31 pages in swap cache
    Dec 12 11:43:48 omv kernel: [51832.264274] Swap cache stats: add 12147, delete 12116, find 307/833
    Dec 12 11:43:48 omv kernel: [51832.264276] Free swap = 7777524kB
    Dec 12 11:43:48 omv kernel: [51832.264278] Total swap = 7811064kB
    Dec 12 11:43:48 omv kernel: [51832.294030] 2064384 pages RAM
    Dec 12 11:43:48 omv kernel: [51832.294032] 88871 pages reserved
    Dec 12 11:43:48 omv kernel: [51832.294034] 5770 pages shared
    Dec 12 11:43:48 omv kernel: [51832.294035] 1901793 pages non-shared
    Dec 12 11:43:48 omv kernel: [51832.294038] Out of memory: kill process 2134 (apache2) score 17912 or a child
    Dec 12 11:43:48 omv kernel: [51832.294125] Killed process 2134 (apache2)
    Dec 12 11:43:48 omv monit[2018]: 'localhost' mem usage of 96.3% matches resource limit [mem usage>90.0%]
    Dec 12 11:43:48 omv monit[2018]: 'localhost' loadavg(5min) of 4.9 matches resource limit [loadavg(5min)>4.0]


    top sorted by %mem:


    top - 11:29:28 up 2:52, 1 user, load average: 2.22, 2.30, 2.00
    Tasks: 203 total, 1 running, 202 sleeping, 0 stopped, 0 zombie
    Cpu(s): 0.0%us, 0.7%sy, 0.0%ni, 78.7%id, 20.3%wa, 0.0%hi, 0.2%si, 0.0%st
    Mem: 7902052k total, 7848568k used, 53484k free, 18248k buffers
    Swap: 7811064k total, 0k used, 7811064k free, 7549552k cached


    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    2245 root 20 0 88676 13m 2108 S 0 0.2 0:00.28 omv-engined
    2083 root 20 0 137m 11m 6972 S 0 0.2 0:00.12 apache2
    3695 www-data 20 0 140m 6132 1140 S 0 0.1 0:00.00 apache2
    3696 www-data 20 0 140m 6132 1140 S 0 0.1 0:00.00 apache2
    3697 www-data 20 0 140m 6132 1140 S 0 0.1 0:00.00 apache2
    3698 www-data 20 0 140m 6132 1140 S 0 0.1 0:00.00 apache2
    3699 www-data 20 0 140m 6132 1140 S 0 0.1 0:00.00 apache2
    3694 www-data 20 0 128m 5368 936 S 0 0.1 0:00.03 apache2
    2051 root 20 0 99.4m 4812 3696 S 0 0.1 0:00.02 smbd
    2287 root 20 0 76316 4516 3428 S 0 0.1 0:00.03 winbindd
    2745 root 20 0 99.8m 4340 3204 S 0 0.1 0:00.03 smbd
    2278 root 20 0 76248 4092 3064 S 0 0.1 0:00.13 winbindd
    2708 root 20 0 21220 4092 1652 S 0 0.1 0:00.21 bash
    2303 root 20 0 82804 4016 2948 S 0 0.1 0:00.01 winbindd
    2702 root 20 0 82604 3836 2976 S 0 0.0 0:00.29 sshd


    I did also a memtester: everything ok


    root@omv:~# dpkg -l | grep openmediavault
    ii openmediavault 0.5.17 Open network attached storage solution
    ii openmediavault-iscsitarget 0.5.5 OpenMediaVault iSCSI Enterprise Target plugin
    ii openmediavault-keyring 0.2 GnuPG archive keys of the OpenMediaVault archive
    ii openmediavault-lvm2 0.5.2 OpenMediaVault Logical Volume Manager (LVM2) plugin
    ii openmediavault-nut 0.5.4 OpenMediaVault Network UPS Tools (NUT) plugin


    driver issue? backports kernel? OMV extras?


    Any idea?


    thanks in advance


    bruno