Révision 39
bin/del-volume (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 | 4 |
GETINFO_ISCSI="/sbin/get-conf-iscsi-volume" |
4 | 5 |
DEL_ISCSI="/sbin/del-iscsi-volume" |
bin/check-coherence-zvol-dev (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 | 4 |
|
4 | 5 |
echo "*****************************************" |
bin/zfs-replica (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 | 4 |
#--- Define variables ---# |
4 | 5 |
DIR_CONF_REPLICA="/opt/gZFS/replicas/" |
bin/install.sh (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 | 4 |
dir_gzfs="/opt/gZFS" |
4 | 5 |
dir_bin="/opt/gZFS/bin" |
bin/get-conf-iscsi-volume (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
3 |
|
|
2 | 4 |
if [ "$1" == "" ] |
3 | 5 |
then |
4 | 6 |
echo "Syntax : $0 path_dev"1>&2 |
bin/get-conf-replica (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 | 4 |
function usage { |
4 | 5 |
echo "Syntax : $0 zfs_filesystem/volume_name" 1>&2 |
bin/disable-replica (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 | 4 |
DIR_CRON="/etc/cron.d/" |
4 | 5 |
DIR_CONF_REPLICA="/opt/gZFS/replicas/" |
bin/del-iscsi-volume (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 | 4 |
|
4 | 5 |
function usage { |
bin/uninstall.sh (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 |
|
|
4 | 4 |
#Del symbolic link |
5 | 5 |
for f in $(ls /opt/gZFS/bin) |
6 | 6 |
do |
bin/enable-snapshot (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 | 4 |
DIR_CRON="/etc/cron.d/" |
4 | 5 |
DIR_CONF_SNAPSHOT="/opt/gZFS/snapshots/" |
bin/show-infodisk-cache (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 | 4 |
#cat /opt/gZFS/infodisks.cache |
4 | 5 |
while read line |
bin/create-filesystem (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 | 4 |
function usage { |
4 | 5 |
echo "Syntax :" 1>&2 |
bin/del-filesystem (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 | 4 |
function usage { |
4 | 5 |
echo "Description : destroy a ZFS FileSystem." 1>&2 |
bin/zpool-get-state (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 |
|
|
4 | 4 |
function usage { |
5 | 5 |
|
6 | 6 |
echo "Syntax :" |
bin/zfs-snapshot (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 | 4 |
function check_env_volume { |
4 | 5 |
#*** CHECK DE L'ENVIRONNEMENT *** |
bin/update-iscsi-volume (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
3 |
|
|
2 | 4 |
cat /proc/net/iet/volume |
3 | 5 |
echo "*** Saisir TID a mettre a jour : ***" |
4 | 6 |
|
bin/get-conf-snapshot (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 | 4 |
function usage { |
4 | 5 |
echo "Syntax : $0 zfs_filesystem/volume_name" 1>&2 |
bin/get-disk-info (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
3 |
|
|
2 | 4 |
SMARTTOOL="/usr/sbin/smartctl" |
3 | 5 |
|
4 |
|
|
5 |
|
|
6 | 6 |
function usage { |
7 | 7 |
echo "Syntax :" |
8 | 8 |
echo "$0 -d device_name" |
bin/disable-snapshot (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 | 4 |
DIR_CRON="/etc/cron.d/" |
4 | 5 |
DIR_CONF_SNAPSHOT="/opt/gZFS/snapshots/" |
bin/zfs-clone (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 | 4 |
function usage { |
4 | 5 |
echo "Syntax :" |
bin/enable-replica (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 | 4 |
DIR_CONF_REPLICA="/opt/gZFS/replicas/" |
4 | 5 |
DIR_CRON="/etc/cron.d/" |
bin/get-provisioned-space (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 | 4 |
function usage { |
4 | 5 |
echo "Syntax: $0 zfs_volume_name"1>&2 |
bin/get-disk-zpool (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 | 4 |
function usage { |
4 | 5 |
|
bin/create-volume (revision 39) | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
# $Id$ |
|
2 | 3 |
|
3 | 4 |
function usage { |
4 | 5 |
echo "Syntax :" 1>&2 |
Formats disponibles : Unified diff