source: client/nfsexport/etc/preinit/metadevs.sh @ 893e63fe

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change on this file since 893e63fe was 13ccdf5, checked in by ramon <ramongomez@…>, 15 years ago

Solucionado fallo con NFS; detección de metadispositivos en arranque de cliente.

git-svn-id: https://opengnsys.es/svn/trunk@530 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100755
File size: 693 bytes
Line 
1#!/bin/bash
2#/**
3#@file    metadevs.sh
4#@brief   Script de inicio para detectar metadispositivos LVM y RAID.
5#@todo    Pendiente detección de RAID.
6#@note    Desglose del script "loadenviron.sh".
7#@warning License: GNU GPLv3+
8#@version 0.9
9#@author  Ramon Gomez, ETSII Universidad de Sevilla
10#@date    2009-10-10
11#*/
12
13
14# Si está configurado OpenGNSys ...
15if [ -n "$OPENGNSYS" ]; then
16    echo "$MSG_DETECTLVMRAID"
17    # Detectar metadispositivos LVM.
18    vgchange -ay >/dev/null 2>&1
19    # FIXME Detectar metadispositivos RAID.
20else
21    # FIXME Error: entorno de OpenGNSys no configurado.
22    echo "Error: OpenGNSys environment is not configured."   # FIXME: definir mensaje.
23    exit 1
24fi
25
Note: See TracBrowser for help on using the repository browser.