[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
NOVELLMANIA.COM • Consulter le sujet - [TODO] QTREE QUOTA

[TODO] QTREE QUOTA

[TODO] QTREE QUOTA

Messagepar admin-forum » 26 Oct 2011, 15:51

Pourquoi créer des Qtree

o L'architecture NAS IBM nSerie incorpore une fonction de réplication, celle ci a une limitation de 16 relations snapmirror.

o La gestion des vfiler's est consommatrice de relations snapmirror, de plus il faut rajouter les relations snapmirror de chaque volume root de chaque vfiler.



Dans cette optique de changement / rationalisation / optimisation de la plate-forme NAS IBM nSerie, nous avons créée ce TODO.

o Dans cet exemple nous créerons la Qtree toto dans le vfiler23 et nous lui affecterons un quota de 7500M, une Qtree n'est rien d'autre qu'un répertoire spécifique.



Les commandes a saisir ont cette convention commande argument 1 argumentx, le niveau détail donné est élevé.

Creation Qtree (NTFS / UNIX)



Dans cet exemple nous créerons la Qtree toto dans le vfiler23

PARSSNSGW02> vfiler context parssvfiler23
Tue Jul 5 16:47:04 CEST [parssvfiler23@PARSSNSGW02: cmds.vfiler.console.switch:notice]: Console context was switched to a vFiler(tm) unit parssvfiler23.
parssvfiler23@PARSSNSGW02>



parssvfiler23@PARSSNSGW02> qtree create /vol/parssvfiler23_testqtree/toto

parssvfiler23@PARSSNSGW02> qtree status

Volume Tree Style Oplocks Status
-------- -------- ----- -------- ---------
parssvfiler23_volroot unix enabled normal
parssvfiler23_testperf ntfs enabled normal
parssvfiler23_testqtree ntfs enabled normal
parssvfiler23_testqtree toto ntfs enabled normal
parssvfiler23@PARSSNSGW02>

La Qtree toto a été crée

Changement de sécutiré d'une Qtree

parssvfiler23@PARSSNSGW02> qtree security /vol/parssvfiler23_testqtree/toto ntfs

Volume Tree Style Oplocks Status
-------- -------- ----- -------- ---------
parssvfiler23_volroot unix enabled normal
parssvfiler23_testperf ntfs enabled normal
parssvfiler23_testqtree ntfs enabled normal
parssvfiler23_testqtree toto ntfs enabled normal
parssvfiler23@PARSSNSGW02>

Qtree Quota vFiler

A adapter en fonction du contexte

parssvfiler23@PARSSNSGW02> quota report
quota: quotas are off.

parssvfiler23@PARSSNSGW02> quota status
parssvfiler23_volroot: quotas are off.
parssvfiler23_testqtree: quotas are off.
o Activation du quota sur le volume étape 1

parssvfiler23@PARSSNSGW02> quota on parssvfiler23_testqtree
quota: Starting quota initialization.
(Execute 'quota status' or 'quota status parssvfiler23_testqtree' for status.)
parssvfiler23@PARSSNSGW02> quota: /etc/quotas contains no entries for volume parssvfiler23_testqtree
o Edition du fichier de quota

Édition du fichier /etc/quotas via la partage administratif (sous windows \\parssvfiler23\etc$)


Si vous avez une demande d'authentification, l'utilisateur est administrator le mot de passe est le même pour toute la plateforme NAS IBM nSeries.
o Contenu du fichier quota du vFiler

#Auto-generated by setup Fri Jan 7 12:45:39 CET 2011
/vol/parssvfiler23_testqtree/toto tree 7500M



Sauvegarder le fichier modifié
o Activation du quota sur le volume étape 2

parssvfiler23@PARSSNSGW02> quota on parssvfiler23_testqtree

parssvfiler23@PARSSNSGW02> Thu Jul 7 13:36:18 CEST [PARSSNSGW02: wafl.scan.start:info]: Starting quota initialization on volume parssvfiler23_testqtree.

parssvfiler23@PARSSNSGW02>
o Vérification de l'activation du quota sur le volume

parssvfiler23@PARSSNSGW02> quota status

parssvfiler23_volroot: quotas are off.
parssvfiler23_testperf: quotas are off.
parssvfiler23_testqtree: quotas are on.
parssvfiler23@PARSSNSGW02>
o Vérification du quota sur la Qtree

parssvfiler23@PARSSNSGW02> quota report
K-Bytes Files
Type ID Volume Tree Used Limit Used Limit Quota Specifier
----- -------- -------- -------- --------- --------- ------- ------- ---------------
tree 1 parssvfiler23_testqtree toto 12147000 7680000 4 - /vol/parssvfiler23_testqtree/toto
o Rajout ou modification d'une valeur de quota

Après une modification du fichier quota il faut obligatoirement relancer les commandes suivantes, adapté a votre cas.

parbvfiler14@PARBNSGW01> quota off POOL_CIFS_2
parbvfiler14@PARBNSGW01> quota on POOL_CIFS_2

Important: La déactivation du quota peut provoquer un dépassement du quota appliqué à la Qtree, donc, lors de la réactivation de ce quota, une interruption de service est possible. vous devez donc suivre la réactivation 'quota status' à 100% immédiatement passer la commande quota report et verifier les valeurs limites.

Le systemes est programmer pour generé une alerte par heure en cas de depassement. (cf quota logmsg)
Avatar de l’utilisateur
admin-forum
Administrateur
Administrateur
 
Message(s) : 325
Inscription : 27 Oct 2004, 17:47
Localisation : Ile de France

Retour vers NetApp

Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit et 1 invité

cron