diff options
author | adv <adv@uma.es> | 2011-05-10 14:53:54 +0000 |
---|---|---|
committer | adv <adv@uma.es> | 2011-05-10 14:53:54 +0000 |
commit | 2e6acd9c918374a1a003b84bbeb0ce059b9ad143 (patch) | |
tree | 778996cacdfeededb8d87b49d0a3a2e40fc0841a /client/shared/scripts/cloneRemoteFromMaster | |
parent | 14ca521d42101cadd46e7fc6e96ab203efc4263e (diff) |
version 1.0.1 #392 cloneRemoteFromMaster => si el sistema de archivos de la particion destino está corrupto; formatear y volver a calcular tamaño
git-svn-id: https://opengnsys.es/svn/branches/version1.0@1954 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/scripts/cloneRemoteFromMaster')
-rwxr-xr-x | client/shared/scripts/cloneRemoteFromMaster | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/shared/scripts/cloneRemoteFromMaster b/client/shared/scripts/cloneRemoteFromMaster index 0fa21b5e..62632f8e 100755 --- a/client/shared/scripts/cloneRemoteFromMaster +++ b/client/shared/scripts/cloneRemoteFromMaster @@ -210,6 +210,7 @@ case $MASTERIP in if [ -z $SIZEPARTTARGET ]; then echo "[5] TODO Formateando particion destino si no es accesible por parted" ogFormat $DISKTARGET $PARTTARGET + SIZEPARTTARGET=$(parted `ogDiskToDev $DISKTARGET $PARTTARGET` unit kB print | awk '{y=x; x=$4};END{print y}' | tr -d kB) fi echo "[29] comprobando que el tamaño de la imagen $SIZEIMAGE es menor que el de la particion destino $SIZEPARTTARGET" # comprobamos que el tamaño de a imagen es menor que la del cliente. |