Avatar
🏃
achat android animaux anticor apple arnaque association biot bluesky bricolage canoe canyoning ccesoir chateau choisir-velo cinema citation citroen-c8 commission configuration consomacteur course courses courses-dobstacles cuisine cv-pro dawarich debian dell depannage dev docker don dsi désinformation economie facebook fedora firewall football garmin gohugo gravel hebergement home-assistant hugo humhub inondation internets iphone-ipad jeux justice kali linux livre loisirs mac marathon mastodon mecanique misere momes-dazur musee-loisirs nice-matin non-classe oracle padel petition peugeot-206 peugeot-307 peugeot-406 photos php politique postgresql pro proxmox randonnee randonnée raspberry redhat redis republique-numerique reseaux-sociaux sante-internets sante-loisirs securite-internets self-hosted ski ski de randonnée sortir soutien spam sport-biot-2 sports stockage theatre trail twitter/x twitter/x ubuntu velo velo-biot velo-sur-biot via-ferrata ville villes visites voyage vtt windows wordpress wordpress-fr xbox élections municipales 0189xxxxxx 10-km 10-miles 10km 12-km 140 2014 2kv 307 406 406-hdi 920 920xt 930 935 abus acpi actif azur adb adhesion adsl agay age air aix-en-provence alcatel allianz allianz-riviera alpe-dhuez alpes-maritimes alpilles alternateur amap amazon amp anaconda analyse analytics android animaux anote anthea anthea-fr antibes anticor antutu apache2 apn apple applepi-baker april arcep arfi arnaque aroooo aseb-am asics association assurantprotection.fr asterisk asus asus-zenfone atos atsemtex audit auron authentique-fr autoroute avis awesome-note awk awox baignade balade balade-fr barcelonnette barnier base-de-donnee bash basket-ball belt benchmark bento bentomedia betrail biellette bigreen bilan bilan professionnel bilan sportif bilan-fr bio biot biot-fr biot-vernir bitdefender bkl-l09 blacklist blender blockchain-fr blog blogger-com bluesky bonifacio bormes-les-mimosas bot brague braun breil-sur-roya brew bricolage brm brm200 bruxelles bueil bug c cadolive cagnes-sur-mer caille caisse-depargne calanques calencon calendrier camargue cannes cannes-fr canoe cantabrie canyon canyoning cap-dantibes cardio carlit carnaval-de-nice carnaval-de-nice-fr carros carroz casa castellane castellar cat catamaran caussols ccbot ccc cdisplay ceinture cevennes chamonix chateau chaussures cheiron choisir velo cinema circuit cisco citation citrix classement claudebot clignotant cloud cloud-act cloud-personnel cnews codegouv col connecté col de greoliere col-connecte col-de-la-madone col-de-turini colmars competition compression configuration connect consomacteur conspiracy watch convergence-azureenne coreos coronarivus coronavirus corse courmes course course-a-pied course-dobstacle course-dobstacles course-dorientation course-fr coursegoules courses-2 covid covid-19 cozy-cloud cozytouch cpu critique cross cuda cuenod curl cursor dansup dark-web data dataforseo dawarich dawarich.app day-journal debian decathlon decodex deletefacebook dell dello-sciliar-catinaccio delphi demi-yasso derby-de-la-meije developpement developper-tools-access diag diario diaro diaspora digikam digiposte distribution docker docteur-gsm-com dolceacqua dolomites domolites domotique don dourgne dsi duranus débats désinformation ecologie economie education el-capitan elasticsearch elk elm327 email endurain enphase ensol entreprises entretien epidemie escape-game escarene escroquerie espagne estrosi europe eurovelo evasion-fiscale evolution-a-faire exiftool export eze f-f-a facebook facture facture-deau-fr fakenews falicon fan fayence fedora fenix 7 ffa ffmpeg filebeat fillion fillon film-bon film-moyen filtre-a-gazole filtre-pollen fire firewall fittrackee folder foodwatch footing for forerunner forerunner-935 forerunner-945 forerunner-955 forgejo framasoft framasphere france culture france-3 france-soir fraude fraude-fiscale free free-mobile freebox frejus funchal gafams gaillac garageband garmin garmin-connect gavarnie gcc gelas geodes gilette git github glance gmail goaccess gohugo google google-analytic google-analytics google-search-console gopro gorbio gotify goudurix gouffre gourdon gourdon-fr gptbot gpx grafana grasse gravel graxx greoliere greolieres greolieres-les-neiges grub gréolières gtest guillon hadopi haproxy hautpoul hebergement high-trail-vanoise hintertux hipay hipay-com historique-des-dons holdup home-assistant homeassistant hommage honeywell honor hop howto htv huawei hugo huile-direction-assiste humhub ia ibm iconservicesagent ie ign ilonse imagento imageoptim imagneto immich imovie import impots indent injecteur inondation insee insta360 installation internet intimidation ipad ipad-argus iphone iphoto iptables isola-2000 issue italie itra itunes j2s jaime-courir java javascript jeedom jenkins jetpack jeux jeux-de-sophia jeux-de-sophia-antipolis joplin joseph journey jpegoptim juns jupyter justice kali karer-pass kayak kernel kibana kies-app kilometre-vertical kisskissbankbank kiwix klaxon kodi kokopelli korben la-brague la-capelette la-grave-de-peille la-poste la-quadrature-du-net la-vie lac-de-vens langage lantosque lapeyre laquadrature latemar lateral lautrec lcd le-monde leon les-cammazes les-visiteurs-du-soir let's encrypt lets-encrypt levens libreoffice libvirt lightmd linux liste livebox livre logement logiciel logstash loi-numerique lombricomposteur luberon lulu mac mac-os macjournal macos macos-high-sierra madere malade malware mamp mandelieu maps marathon marche mariadb markdown marseille mastodon matomo matomo-analytics matosdon matrix mazamet mcafee mecanique mediapart meduses meije meltdown memo menuiserie mercantour merci-michel mermaid meta metricbeat microsoft-teams migration misere mkdocs module mogrify mojave monsanto montagne-noire montagne-noire-fr montauroux motionpro mougins moulinet mouton msf mud-day mud-day-fr munin mysql mytf1 mytf1-fr mywellness myzone naiad naiad2020 natation natation-libre nature nautipolis neige netamo netatmo nextcloud nginx nice nice-fr nice-matin notes nsinvalidargumentexception ntfs nuxit nvidia objective-see obsolescence-programmee obstacle occ occasion odbii ok-google ollama olvid onedrive oopad open open-data open-sky open-source open-source-experience opencv opendata opensky opensky-a-valbonne opio oracle-linux orange origine-cycles orsiere osm france osmc oss-paris osx osxp osxp2024 osxp2025 outlook owncloud pac paca padel panorama panoramique paradisdiscount-com parc-du-paradou parc-naturel-dello-sciliar-catinaccio paris pascal paul paypal pdf peillon peinture petition peugeot peugeot-307 phare photo photon photos photovoltaique php phpnet phpnet-org pichauris pigeon pinterest pip piscine planning play-store plongee plu plugin pluviometrie pneu politique pollution polylang postfix postgresql ppri prejuges preparation print prix programmation prom-classic prometheus provence proxmox pssh publicite purge pyrenees python python3 qnap quartier qwant raid rameur-dinterieur rancheros randonnee randonnee-2 randonnees randonnée raspberry recette recette-fr redbysfr redhat redis redmi reparartion reparation reseau-sociaux resideo rest-api resultat reunion revue-de-presse rgpd rimplas rock64 root roquebilliere roubion rouret row rsyslog rt-france rubitrack rue89 saint-amancet-fr saint-avit saint-fereol saint-jeannet saint-vallier-de-thiey saintetic salade-nicoise-fr salle-serveur salon samsung san-remo sante sauter scop sd-card securite security.txt sed selection self-hosted semaine-de-la-critique semi semi-marathon semi-marathon-fr sentier seranon server-git serveur service-public siagne sidobre sierra signal sip ski ski de randonnée ski-de-randonnee skred skype slack smart-home smartphone smsc snap sommets sondage sondage-en-ligne sophia-antipolis soreze soreze-fr sortie-en-famille sospel soual spam spartan spartan-race spartan-race-fr spartian spectre sport sql sqlite ssd stable-diffusion stade station-meteo statistique statistiques stockage strava suisse suivi summary surf svn swap swarm syslog systemd tanneron tapform tarif tarn tarn-fr taxes telerama television temp temperature template templier tende tennis tennis-de-table tensorflow test testeur tests textwrangler theatre theoule-sur-mer thorenc thunderbird thunderbirds tignes tor tour-des-sangliers tour-du-sanglier tourisme tourrettes-sur-loup trail trail-de-la-vesubie transposh transvesubienne trashbusters travail travaux trial trifecta turbie tux tuxedo tuxedo-computer tuya twitter tyrol ubaye ubuntu ufc-que-choisir ultra uniq unknown unroot update urbain urban-trail urbanbiker utcam utelle utmb vae valbonne valeo vallee-des-merveilles valloire vallon-des-horts valmasque var vaucluse vaultwarden vauplane vegay velo velotaf vence ventoux veolia verdon vesubie vidange video villeneuve-loubet vim virtual-box virtualbox virus vma vmware vol voyage vpn vps vtc vtt wanderer wannacry webalizer wget whatsapp wifi wikimedia-foundation wikipedia wiko windows wine woocommerce wordfence wordpress x xbmc xbox yahoo-mail yolo zenfone zenpad zigbee
  • J’ai trouvé un outil de test de llm : llm_benchmark ( installation via pip )

    Je suis en dernière position : https://llm.aidatatools.com/results-linux.php , avec “llama3.1:8b”: “1.12”.

     llm_benchmark run
    -------Linux----------
    {'id': '0', 'name': 'Quadro 4000', 'driver': '390.157', 'gpu_memory_total': '1985.0 MB',
    'gpu_memory_free': '1984.0 MB', 'gpu_memory_used': '1.0 MB', 'gpu_load': '0.0%', 
    'gpu_temperature': '60.0°C'}
    Only one GPU card
    Total memory size : 61.36 GB
    cpu_info: Intel(R) Xeon(R) CPU E5-2450 v2 @ 2.50GHz
    gpu_info: Quadro 4000
    os_version: Ubuntu 22.04.5 LTS
    ollama_version: 0.5.7
    ----------
    LLM models file path:/usr/local/lib/python3.10/dist-packages/llm_benchmark/data/benchmark_models_16gb_ram.yml
    Checking and pulling the following LLM models
    phi4:14b
    qwen2:7b
    gemma2:9b
    mistral:7b
    llama3.1:8b
    llava:7b
    llava:13b
    ----------
    ....
    ----------------------------------------
    Sending the following data to a remote server
    -------Linux----------
    {'id': '0', 'name': 'Quadro 4000', 'driver': '390.157', 'gpu_memory_total': '1985.0 MB',
     'gpu_memory_free': '1984.0 MB', 'gpu_memory_used': '1.0 MB', 'gpu_load': '0.0%', 
    'gpu_temperature': '61.0°C'}
    Only one GPU card
    -------Linux----------
    {'id': '0', 'name': 'Quadro 4000', 'driver': '390.157', 'gpu_memory_total': '1985.0 MB',
     'gpu_memory_free': '1984.0 MB', 'gpu_memory_used': '1.0 MB', 'gpu_load': '0.0%',
     'gpu_temperature': '61.0°C'}
    Only one GPU card
    {
        "mistral:7b": "1.40",
        "llama3.1:8b": "1.12",
        "phi4:14b": "0.76",
        "qwen2:7b": "1.31",
        "gemma2:9b": "1.03",
        "llava:7b": "1.84",
        "llava:13b": "0.73",
        "uuid": "",
        "ollama_version": "0.5.7"
    }
    ----------
    benchmark ia ollama proxmox Created Sat, 25 Jan 2025 00:00:00 +0000
  • Petit test d’installation de Ollama en version LXC via un script :

    bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/ollama.sh)"

    On va voir le résultat … actuellement m’a carte NVIDIA (ou Bios) de supporte pas le Proxmox Passthrough.

    root@balkany:~# dmesg | grep -e DMAR -e IOMMU | grep "enable"
    [    0.333769] DMAR: IOMMU enabled
    
    root@balkany:~# dmesg | grep 'remapping'
    [    0.821036] DMAR-IR: Enabled IRQ remapping in xapic mode
    [    0.821038] x2apic: IRQ remapping doesn't support X2APIC mode
    
    # lspci -nn | grep 'NVIDIA'
    0a:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF100GL [Quadro 4000] [10de:06dd] (rev a3)
    0a:00.1 Audio device [0403]: NVIDIA Corporation GF100 High Definition Audio Controller [10de:0be5] (rev a1)
    
    # cat /etc/default/grub | grep "GRUB_CMDLINE_LINUX_DEFAULT"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt video=vesafb:off video=efifb:off initcall_blacklist=sysfb_init
    
    # efibootmgr -v
    EFI variables are not supported on this system.
    
    # cat /etc/modules
    vfio
    vfio_iommu_type1
    vfio_pci
    vfio_virqfd
    
    # cat /etc/modprobe.d/pve-blacklist.conf | grep nvidia
    blacklist nvidiafb
    blacklist nvidia

    J’ai donc ajouter ceci :

    ollama proxmox Created Fri, 24 Jan 2025 00:00:00 +0000
  • Ma version d’OS est “Ubuntu 22.04.5 LTS”.

    Ma version de carte/drivers NVIDIA :

    # uname -a
    Linux 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
    
    # nvidia-smi -L
    GPU 0: Quadro 4000 (UUID: GPU-13797e5d-a72f-4c72-609f-686fa4a8c956)
    
    # nvidia-smi 
    Mon Jan 20 16:41:52 2025       
    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 390.157                Driver Version: 390.157                   |
    |-------------------------------+----------------------+----------------------+
    | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
    | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
    |===============================+======================+======================|
    |   0  Quadro 4000         Off  | 00000000:00:10.0 Off |                  N/A |
    | 36%   62C   P12    N/A /  N/A |      1MiB /  1985MiB |      0%      Default |
    +-------------------------------+----------------------+----------------------+
                                                                                   
    +-----------------------------------------------------------------------------+
    | Processes:                                                       GPU Memory |
    |  GPU       PID   Type   Process name                             Usage      |
    |=============================================================================|
    |  No running processes found                                                 |
    +-----------------------------------------------------------------------------+
    
    # cat /proc/driver/nvidia/version
    NVRM version: NVIDIA UNIX x86_64 Kernel Module  390.157  Wed Oct 12 09:19:07 UTC 2022
    GCC version:  gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
    
    # nvcc --version
    nvcc: NVIDIA (R) Cuda compiler driver
    Copyright (c) 2005-2024 NVIDIA Corporation
    Built on Tue_Oct_29_23:50:19_PDT_2024
    Cuda compilation tools, release 12.6, V12.6.85
    Build cuda_12.6.r12.6/compiler.35059454_0
    
    # ubuntu-drivers devices
    == /sys/devices/pci0000:00/0000:00:10.0 ==
    modalias : pci:v000010DEd000006DDsv000010DEsd00000780bc03sc00i00
    vendor   : NVIDIA Corporation
    model    : GF100GL [Quadro 4000]
    driver   : nvidia-driver-390 - distro non-free recommended
    driver   : xserver-xorg-video-nouveau - distro free builtin

    Journal de ollama :

    140 cuda nvidia ollama Created Mon, 20 Jan 2025 00:00:00 +0000
  • Passage de 98Go à 392G, sans aucun problème.

    La première étape se fait via l’IHM de Proxmox, ensuite il faut lancer ses commandes sur Ubuntu.

    # fdisk -l Disk /dev/sda: 400 GiB, 429496729600 bytes, 838860800 sectors Disk model: QEMU HARDDISK 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: gpt Disk identifier: 0588156E-1871-4A3D-900F-4C8C2758E02E Device Start End Sectors Size Type /dev/sda1 2048 4095 2048 1M BIOS boot /dev/sda2 4096 4198399 4194304 2G Linux filesystem /dev/sda3 4198400 838860766 834662367 398G Linux filesystem Disk /dev/mapper/ubuntu--vg-ubuntu--lv: 100 GiB, 107374182400 bytes, 209715200 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 # df -h Filesystem Size Used Avail Use% Mounted on tmpfs 6,2G 1,2M 6,2G 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv 98G 89G 4,2G 96% / tmpfs 31G 4,0K 31G 1% /dev/shm tmpfs 5,0M 0 5,0M 0% /run/lock # sudo pvdisplay --- Physical volume --- PV Name /dev/sda3 VG Name ubuntu-vg PV Size <398,00 GiB / not usable 16,50 KiB Allocatable yes PE Size 4,00 MiB Total PE 101887 Free PE 76287 Allocated PE 25600 PV UUID kJRjOE-1iPT-CVJQ-7QyB-c8I2-ndQQ-Uzi9VE # pvresize /dev/sda3 Physical volume "/dev/sda3" changed 1 physical volume(s) resized or updated / 0 physical volume(s) not resize # sudo lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv Size of logical volume ubuntu-vg/ubuntu-lv changed from 100,00 GiB (25600 extents) to <398,00 GiB (101887 extents). Logical volume ubuntu-vg/ubuntu-lv successfully resized. # sudo lvdisplay --- Logical volume --- LV Path /dev/ubuntu-vg/ubuntu-lv LV Name ubuntu-lv VG Name ubuntu-vg LV UUID l8Obv4-PXVy-VEsm-db9B-5yZ8-Ybmi-010JO9 LV Write Access read/write LV Creation host, time ubuntu-server, 2024-02-08 09:41:27 +0000 LV Status available # open 1 LV Size <398,00 GiB Current LE 101887 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0 # sudo resize2fs /dev/ubuntu-vg/ubuntu-lv resize2fs 1.46.5 (30-Dec-2021) Filesystem at /dev/ubuntu-vg/ubuntu-lv is mounted on /; on-line resizing required old_desc_blocks = 13, new_desc_blocks = 50 The filesystem on /dev/ubuntu-vg/ubuntu-lv is now 104332288 (4k) blocks long. # df -h Filesystem Size Used Avail Use% Mounted on tmpfs 6,2G 1,2M 6,2G 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv 392G 89G 286G 24% / tmpfs 31G 4,0K 31G 1% /dev/shm tmpfs 5,0M 0 5,0M 0% /run/lock

    proxmox Created Mon, 20 Jan 2025 00:00:00 +0000
  • Configuration :

    • Proxmox : 8.3.2
    • Proxmox kernel : 6.8.12-5-pve
    • VM : Ubuntu 22.04.5 LTS
    • VM kernel : 5.15.0-130-generic

    Installation :

    # sudo add-apt-repository ppa:graphics-drivers/ppa --yes
    # sudo apt update
    # sudo apt install nvidia-cuda-toolkit
    # sudo apt install nvidia-driver-390
    ...
    reboot
    ...
    # nvidia-smi       
    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 390.157                Driver Version: 390.157                   |
    |-------------------------------+----------------------+----------------------+
    | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
    | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
    |===============================+======================+======================|
    |   0  Quadro 4000         Off  | 00000000:00:10.0 Off |                  N/A |
    | 36%   61C   P12    N/A /  N/A |      1MiB /  1985MiB |      0%      Default |
    +-------------------------------+----------------------+----------------------+
                                                                                   
    +-----------------------------------------------------------------------------+
    | Processes:                                                       GPU Memory |
    |  GPU       PID   Type   Process name                             Usage      |
    |=============================================================================|
    |  No running processes found                                                 |
    +-----------------------------------------------------------------------------+

    Le driver 4xx ne fonctionne pas avec la “Quadro 4000” .

    nvidia proxmox Created Mon, 20 Jan 2025 00:00:00 +0000
  • J’ai voulu changer un disque du RAID : un SAS “DELL 900 GB ST900MM0006” par un SATA “KINGSTON SA400S37960G A To”

    Mais il n’y a pas de reconstruction …

    Information du RAID :

    # megacli -ldinfo -lALL -aALL
                                         
    Adapter 0 -- Virtual Drive Information:
    Virtual Drive: 0 (Target Id: 0)
    Name                :900GbRd5
    RAID Level          : Primary-5, Secondary-0, RAID Level Qualifier-3
    Size                : 4.089 TB
    Sector Size         : 512
    Parity Size         : 837.75 GB
    State               : Degraded
    Strip Size          : 64 KB
    Number Of Drives    : 6
    Span Depth          : 1
    Default Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU
    Current Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU
    Default Access Policy: Read/Write
    Current Access Policy: Read/Write
    Disk Cache Policy   : Disk's Default
    Encryption Type     : None
    Default Power Savings Policy: Controller Defined
    Current Power Savings Policy: None
    Can spin up in 1 minute: Yes
    LD has drives that support T10 power conditions: Yes
    LD's IO profile supports MAX power savings with cached writes: No
    Bad Blocks Exist: No
    Is VD Cached: Yes
    Cache Cade Type : Read Only
    
    Virtual Drive: 1 (Target Id: 1)
    Name                :2TbRd1iw
    RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0
    Size                : 1.818 TB
    Sector Size         : 512
    Mirror Data         : 1.818 TB
    State               : Optimal
    Strip Size          : 64 KB
    Number Of Drives    : 2
    Span Depth          : 1
    Default Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU
    Current Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU
    Default Access Policy: Read/Write
    Current Access Policy: Read/Write
    Disk Cache Policy   : Disk's Default
    Encryption Type     : None
    Default Power Savings Policy: Controller Defined
    Current Power Savings Policy: None
    Can spin up in 1 minute: Yes
    LD has drives that support T10 power conditions: No
    LD's IO profile supports MAX power savings with cached writes: No
    Bad Blocks Exist: No
    Is VD Cached: Yes
    Cache Cade Type : Read Only
    
    Exit Code: 0x00
    
    # perccli64 /c0 /eall /sall show
    CLI Version = 007.0529.0000.0000 Sep 18, 2018
    Operating system = Linux 6.8.12-5-pve
    Controller = 0
    Status = Success
    Description = Show Drive Information Succeeded.
    
    Drive Information :
    =================
    
    ----------------------------------------------------------------------------------
    EID:Slt DID State DG      Size Intf Med SED PI SeSz Model                 Sp Type 
    ----------------------------------------------------------------------------------
    32:0      0 Onln   0 837.75 GB SAS  HDD N   N  512B ST900MM0006           U  - 
    32:1      1 GHS    - 893.75 GB SATA SSD N   N  512B KINGSTON SA400S37960G U  - 
    32:2      2 Onln   0 837.75 GB SAS  HDD N   N  512B ST900MM0006           U  - 
    32:3      3 Onln   1  1.818 TB SATA HDD N   N  512B ST2000VN003-3CW102    U  - 
    32:4      4 Onln   0 837.75 GB SAS  HDD N   N  512B ST900MM0006           U  - 
    32:5      5 Onln   0 837.75 GB SAS  HDD N   N  512B ST900MM0006           U  - 
    32:6      6 Onln   0 837.75 GB SAS  HDD N   N  512B ST900MM0006           U  - 
    32:7      7 Onln   1  1.818 TB SATA HDD N   N  512B ST2000VN003-3CW102    U  - 
    ----------------------------------------------------------------------------------
    
    EID-Enclosure Device ID|Slt-Slot No.|DID-Device ID|DG-DriveGroup
    DHS-Dedicated Hot Spare|UGood-Unconfigured Good|GHS-Global Hotspare
    UBad-Unconfigured Bad|Onln-Online|Offln-Offline|Intf-Interface
    Med-Media Type|SED-Self Encrypting Drive|PI-Protection Info
    SeSz-Sector Size|Sp-Spun|U-Up|D-Down/PowerSave|T-Transition|F-Foreign
    UGUnsp-Unsupported|UGShld-UnConfigured shielded|HSPShld-Hotspare shielded
    CFShld-Configured shielded|Cpybck-CopyBack|CBShld-Copyback Shielded
    
    # megacli -PDList -aAll
                                         
    Adapter #0
    
    Enclosure Device ID: 32
    Slot Number: 0
    Drive's position: DiskGroup: 0, Span: 0, Arm: 0
    Enclosure position: 1
    Device Id: 0
    WWN: 5000C5007E266648
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 838.362 GB [0x68cb9e30 Sectors]
    Non Coerced Size: 837.862 GB [0x68bb9e30 Sectors]
    Coerced Size: 837.75 GB [0x68b80000 Sectors]
    Sector Size:  0
    Firmware state: Online, Spun Up
    Device Firmware Level: LS0C
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x5000c5007e266649
    SAS Address(1): 0x0
    Connected Port Number: 2(path0) 
    Inquiry Data: SEAGATE ST900MM0006     LS0CS0N2SHEW            
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 6.0Gb/s 
    Link Speed: 6.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :25C (77.00 F)
    PI Eligibility:  No 
    Drive is formatted for PI information:  No
    PI: No PI
    Port-0 :
    Port status: Active
    Port's Linkspeed: 6.0Gb/s 
    Port-1 :
    Port status: Active
    Port's Linkspeed: Unknown 
    Drive has flagged a S.M.A.R.T alert : No
    
    Enclosure Device ID: 32
    Slot Number: 1
    Enclosure position: 1
    Device Id: 1
    WWN: 50026b7785868c60
    Sequence Number: 10
    Media Error Count: 0
    Other Error Count: 150
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SATA
    Hotspare Information: 
    Type: Global, is revertible
    
    Raw Size: 894.252 GB [0x6fc81ab0 Sectors]
    Non Coerced Size: 893.752 GB [0x6fb81ab0 Sectors]
    Coerced Size: 893.75 GB [0x6fb80000 Sectors]
    Sector Size:  0
    Firmware state: Hotspare, Spun Up
    Device Firmware Level: 70.5
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x4433221106000000
    Connected Port Number: 1(path0) 
    Inquiry Data: 50026B7785868C60    KINGSTON SA400S37960G                   SHFK70.5
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 6.0Gb/s 
    Link Speed: 6.0Gb/s 
    Media Type: Solid State Device
    Drive:  Not Certified
    Drive Temperature : N/A
    PI Eligibility:  No 
    Drive is formatted for PI information:  No
    PI: No PI
    Drive's NCQ setting : N/A
    Port-0 :
    Port status: Active
    Port's Linkspeed: 6.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Enclosure Device ID: 32
    Slot Number: 2
    Drive's position: DiskGroup: 0, Span: 0, Arm: 2
    Enclosure position: 1
    Device Id: 2
    WWN: 5000C5007F6CEAE4
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 838.362 GB [0x68cb9e30 Sectors]
    Non Coerced Size: 837.862 GB [0x68bb9e30 Sectors]
    Coerced Size: 837.75 GB [0x68b80000 Sectors]
    Sector Size:  0
    Firmware state: Online, Spun Up
    Device Firmware Level: LS0C
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x5000c5007f6ceae5
    SAS Address(1): 0x0
    Connected Port Number: 3(path0) 
    Inquiry Data: SEAGATE ST900MM0006     LS0CS0N3AYB9            
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 6.0Gb/s 
    Link Speed: 6.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :24C (75.20 F)
    PI Eligibility:  No 
    Drive is formatted for PI information:  No
    PI: No PI
    Port-0 :
    Port status: Active
    Port's Linkspeed: 6.0Gb/s 
    Port-1 :
    Port status: Active
    Port's Linkspeed: Unknown 
    Drive has flagged a S.M.A.R.T alert : No
    
    Enclosure Device ID: 32
    Slot Number: 3
    Drive's position: DiskGroup: 1, Span: 0, Arm: 0
    Enclosure position: 1
    Device Id: 3
    WWN: 5000c500e76415ef
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SATA
    
    Raw Size: 1.819 TB [0xe8e088b0 Sectors]
    Non Coerced Size: 1.818 TB [0xe8d088b0 Sectors]
    Coerced Size: 1.818 TB [0xe8d00000 Sectors]
    Sector Size:  0
    Firmware state: Online, Spun Up
    Device Firmware Level: SC60
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x4433221104000000
    Connected Port Number: 4(path0) 
    Inquiry Data:             ZWD0FNZ4ST2000VN003-3CW102                      SC60    
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 6.0Gb/s 
    Link Speed: 6.0Gb/s 
    Media Type: Hard Disk Device
    Drive:  Not Certified
    Drive Temperature :22C (71.60 F)
    PI Eligibility:  No 
    Drive is formatted for PI information:  No
    PI: No PI
    Drive's NCQ setting : N/A
    Port-0 :
    Port status: Active
    Port's Linkspeed: 6.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Enclosure Device ID: 32
    Slot Number: 4
    Drive's position: DiskGroup: 0, Span: 0, Arm: 3
    Enclosure position: 1
    Device Id: 4
    WWN: 5000C5007F21B7B8
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 838.362 GB [0x68cb9e30 Sectors]
    Non Coerced Size: 837.862 GB [0x68bb9e30 Sectors]
    Coerced Size: 837.75 GB [0x68b80000 Sectors]
    Sector Size:  0
    Firmware state: Online, Spun Up
    Device Firmware Level: LS0C
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x5000c5007f21b7b9
    SAS Address(1): 0x0
    Connected Port Number: 7(path0) 
    Inquiry Data: SEAGATE ST900MM0006     LS0CS0N3553B            
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 6.0Gb/s 
    Link Speed: 6.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :26C (78.80 F)
    PI Eligibility:  No 
    Drive is formatted for PI information:  No
    PI: No PI
    Port-0 :
    Port status: Active
    Port's Linkspeed: 6.0Gb/s 
    Port-1 :
    Port status: Active
    Port's Linkspeed: Unknown 
    Drive has flagged a S.M.A.R.T alert : No
    
    Enclosure Device ID: 32
    Slot Number: 5
    Drive's position: DiskGroup: 0, Span: 0, Arm: 4
    Enclosure position: 1
    Device Id: 5
    WWN: 5000C5007F212928
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 838.362 GB [0x68cb9e30 Sectors]
    Non Coerced Size: 837.862 GB [0x68bb9e30 Sectors]
    Coerced Size: 837.75 GB [0x68b80000 Sectors]
    Sector Size:  0
    Firmware state: Online, Spun Up
    Device Firmware Level: LS0C
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x5000c5007f212929
    SAS Address(1): 0x0
    Connected Port Number: 6(path0) 
    Inquiry Data: SEAGATE ST900MM0006     LS0CS0N357QD            
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 6.0Gb/s 
    Link Speed: 6.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :24C (75.20 F)
    PI Eligibility:  No 
    Drive is formatted for PI information:  No
    PI: No PI
    Port-0 :
    Port status: Active
    Port's Linkspeed: 6.0Gb/s 
    Port-1 :
    Port status: Active
    Port's Linkspeed: Unknown 
    Drive has flagged a S.M.A.R.T alert : No
    
    Enclosure Device ID: 32
    Slot Number: 6
    Drive's position: DiskGroup: 0, Span: 0, Arm: 5
    Enclosure position: 1
    Device Id: 6
    WWN: 5000C5007F21A7A4
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 838.362 GB [0x68cb9e30 Sectors]
    Non Coerced Size: 837.862 GB [0x68bb9e30 Sectors]
    Coerced Size: 837.75 GB [0x68b80000 Sectors]
    Sector Size:  0
    Firmware state: Online, Spun Up
    Device Firmware Level: LS0C
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x5000c5007f21a7a5
    SAS Address(1): 0x0
    Connected Port Number: 5(path0) 
    Inquiry Data: SEAGATE ST900MM0006     LS0CS0N355D8            
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 6.0Gb/s 
    Link Speed: 6.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :24C (75.20 F)
    PI Eligibility:  No 
    Drive is formatted for PI information:  No
    PI: No PI
    Port-0 :
    Port status: Active
    Port's Linkspeed: 6.0Gb/s 
    Port-1 :
    Port status: Active
    Port's Linkspeed: Unknown 
    Drive has flagged a S.M.A.R.T alert : No
    
    Enclosure Device ID: 32
    Slot Number: 7
    Drive's position: DiskGroup: 1, Span: 0, Arm: 1
    Enclosure position: 1
    Device Id: 7
    WWN: 5000c500e7641717
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SATA
    
    Raw Size: 1.819 TB [0xe8e088b0 Sectors]
    Non Coerced Size: 1.818 TB [0xe8d088b0 Sectors]
    Coerced Size: 1.818 TB [0xe8d00000 Sectors]
    Sector Size:  0
    Firmware state: Online, Spun Up
    Device Firmware Level: SC60
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x4433221100000000
    Connected Port Number: 0(path0) 
    Inquiry Data:             ZWD0FP6VST2000VN003-3CW102                      SC60    
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 6.0Gb/s 
    Link Speed: 6.0Gb/s 
    Media Type: Hard Disk Device
    Drive:  Not Certified
    Drive Temperature :22C (71.60 F)
    PI Eligibility:  No 
    Drive is formatted for PI information:  No
    PI: No PI
    Drive's NCQ setting : N/A
    Port-0 :
    Port status: Active
    Port's Linkspeed: 6.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Exit Code: 0x00
    
    # megacli -PdGetMissing -a0   
                                         
        Adapter 0 - Missing Physical drives
    
        No.   Array   Row   Size Expected
        0     0       1     857856 MB
    
    Exit Code: 0x00

    J’ai mis le disque en HotSpare pour que le Rebuild se fasse :

    dell proxmox raid Created Sun, 19 Jan 2025 00:00:00 +0000
  • J’utilise Mariadb sous Debian pour Humhub.

    Modification dans /etc/sysctl.conf

    vm.swappiness=1

    Et changement en direct :

    /usr/sbin/sysctl -w vm.swappiness=1

    Modification dans /etc/mysql/mariadb.conf.d/50-server.cnf avec :

    innodb_buffer_pool_size = 4G

    Avant le restart :

    mysql
    Welcome to the MariaDB monitor.  Commands end with ; or \g.
    Your MariaDB connection id is 52245
    Server version: 10.5.26-MariaDB-0+deb11u2 Debian 11
    
    Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
    
    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
    
    MariaDB [(none)]> select @@innodb_buffer_pool_size;
    +---------------------------+
    | @@innodb_buffer_pool_size |
    +---------------------------+
    |                 134217728 |
    +---------------------------+
    1 row in set (0,001 sec)
    
    MariaDB [(none)]> select @@innodb_buffer_pool_size/1024/1024/1024;
    +------------------------------------------+
    | @@innodb_buffer_pool_size/1024/1024/1024 |
    +------------------------------------------+
    |                           0.125000000000 |
    +------------------------------------------+
    1 row in set (0,001 sec)
    
    MariaDB [(none)]> show variables like 'innodb_buffer_pool%';
    +-------------------------------------+----------------+
    | Variable_name                       | Value          |
    +-------------------------------------+----------------+
    | innodb_buffer_pool_chunk_size       | 134217728      |
    | innodb_buffer_pool_dump_at_shutdown | ON             |
    | innodb_buffer_pool_dump_now         | OFF            |
    | innodb_buffer_pool_dump_pct         | 25             |
    | innodb_buffer_pool_filename         | ib_buffer_pool |
    | innodb_buffer_pool_instances        | 1              |
    | innodb_buffer_pool_load_abort       | OFF            |
    | innodb_buffer_pool_load_at_startup  | ON             |
    | innodb_buffer_pool_load_now         | OFF            |
    | innodb_buffer_pool_size             | 134217728      |
    +-------------------------------------+----------------+
    10 rows in set (0,003 sec)

    Après :

    mariadb Created Sun, 19 Jan 2025 00:00:00 +0000
  • Pour tester manuellement j’ai fait :

    /usr/sbin/munin-run --debug mysql_
    /usr/sbin/munin-run --debug mysql_isam_space_

    j’ai pu voir qu’il me manquait des installations en Perl

    apt-get install -y libcache-cache-perl
    apt-get install libdbd-mysql-perl
    apt-get install libgd-gd2-perl
    apt-get install libgd-graph-perl
    munin Created Sun, 19 Jan 2025 00:00:00 +0000
  • Mon kernel : Linux 6.8.12-5-pve Ma version Proxmox : 8.3.2 Les commandes :

    # apt install libncurses5
    # wget https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zip
    unzip 8-07-14_MegaCLI.zip
    # alien MegaCli-8.07.14-1.noarch.rpm
    # dpkg -i megacli_8.07.14-2_all.deb
    # /opt/MegaRAID/MegaCli/MegaCli64 -h
    # ln -s /opt/MegaRAID/MegaCli/MegaCli64 /usr/sbin/megacli

    Commandes utiles

    # megacli -PDList -a0
    
    # megacli -AdpAllInfo -aAll
    
    # megacli -PDList -a0 | grep "status"
    
    # megacli -PDList -a0 | grep "state"

    proxmox raid Created Sat, 18 Jan 2025 00:00:00 +0000