J'ai beaucoup de mal a trouver une doc pour un neofit de metainit c'est pour
cela que je me tourne vers ce newsgroup.
alors je vous explique ce que je dois faire.
Le systeme est un sun solaris8 sparc, et malheureusement la personne qui a
partitionné les durs a créé une partition root ( / ) de seulement 120Mo, ce
qui est tres embetant dans mon cas. J'ai decouvers que metainit etait
l'outil magique qui allait pouvoir m'aider.
En effet, metainit offre la possibilité de concatenaner deux partitions (et
meme plus) et ainsi augmenter la taille de ma partoche root sans
repartitionner..(je suis clair??).
Dans mon cas, il a heureusement été oublié un dur qui n'a pas été monté et
je dois imperativement pour bcp de raison (surtout software) augmenter la
taille de la partition root.
Seulement, j'ai du mal a comprendre la doc, en theorie voila ce que j'ai
compris :
je dois partitionner le nouveau dur d'une certaine facon avec metainit pour
qu'il creer 2 partitions (une pour la config metainit et une qui sera
normal). Puis je dois configurer metainit pour lui dire d'utiliser ce dur et
de creer un dique virtuel. Apres je dois lui dire de concatener la partition
root avec le disque virtuel.
Bon , mais j'ai peur d'avoir quelques soucis, en effet dans le cas où la
partition root n'est pas un disque virtuel, Comment faire alors ? et dans le
cas où c'est un disque virtuel comment faire ?
Voila, je pense avoir en gros (meme peut etre en tres gros ) avoir compris
le principe de metainit, mais dans la pratique j'ai rien compris. ;-P
Quelqu'un connaitrait-il un site bien expliqué, un bon tutorial pour neuneu,
un truc quoi qui peut m'aider ?
D'un autre cote, si tu as un disque dispo, monter des partitions est parfois une bonne solution.
pc
Stawen Dronek
oki merci bien
"Philippe Chevalier" a écrit dans le message de news:
On Sat, 8 Jan 2005 16:18:53 +0100, Stawen Dronek wrote:
Voila, je pense avoir en gros (meme peut etre en tres gros ) avoir compris le principe de metainit, mais dans la pratique j'ai rien compris. ;-P
Euh... ouais.
Ce dont tu parles, c'est de SDS, alias Solstice Disk Suite. metainit n'est que l'un des outils de l'ensemble.
La commande que tu voudrais, c'est "growfs" qui permet, normalement, de concaténer des metadevices a d'autre filesystem, en les convertissant en metadevices.
Malheureusement, il doit, pour ca, locker le filesystem et celui-ci doit etre démonté. Donc ca n'est pas possible pour / ni pour /usr.
Il est peut etre possible de bidouiller en bootant sur un CD, et en montant / sur /mnt en rw et tenter l'expansion, mais ca demande des tests, parce que je ne suis pas sur que ca fonctionne. ^^
Extrait du manuel de growfs, concernant l'operations que tu veux réaliser. C'est théoriquement possible, mais ils excluent / et /usr :
The following example expands a nonmetadevice slice for the /export file system. In this example, the existing slice, /dev/dsk/c1t0d0s3, is converted to a metadevice so addi- tional slices can be concatenated.
(Edit the /etc/vfstab file to change the entry for /export to the newly defined metadevice, d8.)
# mount /export # growfs -M /export /dev/md/rdsk/d8
This example starts by running the metainit command with the -f option to force the creation of a new concatenated meta- device d8 which consists of the existing slice /dev/dsk/c1t0d0s3 and a new slice /dev/dsk/c2t0d0s3. Next, the file system on /export must be unmounted. The /etc/vfstab file is edited to change the entry for /export to the newly defined metadevice name, rather than the slice name. After the file system is remounted, the growfs com- mand is run to expand the file system.
The file system will span the entire metadevice when growfs completes. The -M option enables the growfs command to expand a mounted file system. During the expansion, write access for /export is suspended until growfs unlocks the file system. Read access is not affected, though access times are not kept when the lock is in effect.
Et à la fin :
The following conditions prevent you from expanding file systems: When acct is activated and the accounting file is on the target device. When C2 security is activated and the logging file is on the target file system. When there is a local swap file in the target file sys- tem. When the file system is root (/), /usr, or swap.
, concernant l'operations que tu veux réaliser. C'est théoriquement possible, mais pas pour /, désolé :
The following example expands a nonmetadevice slice for the /export file system. In this example, the existing slice, /dev/dsk/c1t0d0s3, is converted to a metadevice so addi- tional slices can be concatenated.
(Edit the /etc/vfstab file to change the entry for /export to the newly defined metadevice, d8.)
# mount /export # growfs -M /export /dev/md/rdsk/d8
This example starts by running the metainit command with the -f option to force the creation of a new concatenated meta- device d8 which consists of the existing slice /dev/dsk/c1t0d0s3 and a new slice /dev/dsk/c2t0d0s3. Next, the file system on /export must be unmounted. The /etc/vfstab file is edited to change the entry for /export to the newly defined metadevice name, rather than the slice name. After the file system is remounted, the growfs com- mand is run to expand the file system.
The file system will span the entire metadevice when growfs completes. The -M option enables the growfs command to expand a mounted file system. During the expansion, write access for /export is suspended until growfs unlocks the file system. Read access is not affected, though access times are not kept when the lock is in effect.
Et à la fin :
The following conditions prevent you from expanding file systems: When acct is activated and the accounting file is on the target device. When C2 security is activated and the logging file is on the target file system. When there is a local swap file in the target file sys- tem. When the file system is root (/), /usr, or swap.
K. -- Kyoko Otonashi's shrine / Le temple de Kyoko Otonashi My tribute to Maison Ikkoku / Mon hommage a Maison Ikkoku Visit http://www.kyoko.org/
oki merci bien
"Philippe Chevalier" <news@kyoko.org> a écrit dans le message de news:
slrncu56p8.24a8.news@dspnet.fr.eu.org...
On Sat, 8 Jan 2005 16:18:53 +0100, Stawen Dronek
<stawen.dronek@wanadoo.fr> wrote:
Voila, je pense avoir en gros (meme peut etre en tres gros ) avoir
compris
le principe de metainit, mais dans la pratique j'ai rien compris. ;-P
Euh... ouais.
Ce dont tu parles, c'est de SDS, alias Solstice Disk Suite. metainit
n'est que l'un des outils de l'ensemble.
La commande que tu voudrais, c'est "growfs" qui permet, normalement, de
concaténer des metadevices a d'autre filesystem, en les convertissant en
metadevices.
Malheureusement, il doit, pour ca, locker le filesystem et celui-ci doit
etre démonté. Donc ca n'est pas possible pour / ni pour /usr.
Il est peut etre possible de bidouiller en bootant sur un CD, et en
montant / sur /mnt en rw et tenter l'expansion, mais ca demande des
tests, parce que je ne suis pas sur que ca fonctionne. ^^
Extrait du manuel de growfs, concernant l'operations que tu veux
réaliser. C'est théoriquement possible, mais ils excluent / et /usr :
The following example expands a nonmetadevice slice for the
/export file system. In this example, the existing slice,
/dev/dsk/c1t0d0s3, is converted to a metadevice so addi-
tional slices can be concatenated.
(Edit the /etc/vfstab file to change the entry for /export
to the newly defined metadevice, d8.)
# mount /export
# growfs -M /export /dev/md/rdsk/d8
This example starts by running the metainit command with the
-f option to force the creation of a new concatenated meta-
device d8 which consists of the existing slice
/dev/dsk/c1t0d0s3 and a new slice /dev/dsk/c2t0d0s3. Next,
the file system on /export must be unmounted. The
/etc/vfstab file is edited to change the entry for /export
to the newly defined metadevice name, rather than the slice
name. After the file system is remounted, the growfs com-
mand is run to expand the file system.
The file system will span the entire metadevice when growfs
completes. The -M option enables the growfs command to
expand a mounted file system. During the expansion, write
access for /export is suspended until growfs unlocks the
file system. Read access is not affected, though access
times are not kept when the lock is in effect.
Et à la fin :
The following conditions prevent you from expanding file
systems:
When acct is activated and the accounting file is on
the target device.
When C2 security is activated and the logging file is
on the target file system.
When there is a local swap file in the target file sys-
tem.
When the file system is root (/), /usr, or swap.
, concernant l'operations que tu veux réaliser. C'est théoriquement
possible, mais pas pour /, désolé :
The following example expands a nonmetadevice slice for the
/export file system. In this example, the existing slice,
/dev/dsk/c1t0d0s3, is converted to a metadevice so addi-
tional slices can be concatenated.
(Edit the /etc/vfstab file to change the entry for /export
to the newly defined metadevice, d8.)
# mount /export
# growfs -M /export /dev/md/rdsk/d8
This example starts by running the metainit command with the
-f option to force the creation of a new concatenated meta-
device d8 which consists of the existing slice
/dev/dsk/c1t0d0s3 and a new slice /dev/dsk/c2t0d0s3. Next,
the file system on /export must be unmounted. The
/etc/vfstab file is edited to change the entry for /export
to the newly defined metadevice name, rather than the slice
name. After the file system is remounted, the growfs com-
mand is run to expand the file system.
The file system will span the entire metadevice when growfs
completes. The -M option enables the growfs command to
expand a mounted file system. During the expansion, write
access for /export is suspended until growfs unlocks the
file system. Read access is not affected, though access
times are not kept when the lock is in effect.
Et à la fin :
The following conditions prevent you from expanding file
systems:
When acct is activated and the accounting file is on
the target device.
When C2 security is activated and the logging file is
on the target file system.
When there is a local swap file in the target file sys-
tem.
When the file system is root (/), /usr, or swap.
K.
--
Kyoko Otonashi's shrine / Le temple de Kyoko Otonashi
My tribute to Maison Ikkoku / Mon hommage a Maison Ikkoku
Visit http://www.kyoko.org/
"Philippe Chevalier" a écrit dans le message de news:
On Sat, 8 Jan 2005 16:18:53 +0100, Stawen Dronek wrote:
Voila, je pense avoir en gros (meme peut etre en tres gros ) avoir compris le principe de metainit, mais dans la pratique j'ai rien compris. ;-P
Euh... ouais.
Ce dont tu parles, c'est de SDS, alias Solstice Disk Suite. metainit n'est que l'un des outils de l'ensemble.
La commande que tu voudrais, c'est "growfs" qui permet, normalement, de concaténer des metadevices a d'autre filesystem, en les convertissant en metadevices.
Malheureusement, il doit, pour ca, locker le filesystem et celui-ci doit etre démonté. Donc ca n'est pas possible pour / ni pour /usr.
Il est peut etre possible de bidouiller en bootant sur un CD, et en montant / sur /mnt en rw et tenter l'expansion, mais ca demande des tests, parce que je ne suis pas sur que ca fonctionne. ^^
Extrait du manuel de growfs, concernant l'operations que tu veux réaliser. C'est théoriquement possible, mais ils excluent / et /usr :
The following example expands a nonmetadevice slice for the /export file system. In this example, the existing slice, /dev/dsk/c1t0d0s3, is converted to a metadevice so addi- tional slices can be concatenated.
(Edit the /etc/vfstab file to change the entry for /export to the newly defined metadevice, d8.)
# mount /export # growfs -M /export /dev/md/rdsk/d8
This example starts by running the metainit command with the -f option to force the creation of a new concatenated meta- device d8 which consists of the existing slice /dev/dsk/c1t0d0s3 and a new slice /dev/dsk/c2t0d0s3. Next, the file system on /export must be unmounted. The /etc/vfstab file is edited to change the entry for /export to the newly defined metadevice name, rather than the slice name. After the file system is remounted, the growfs com- mand is run to expand the file system.
The file system will span the entire metadevice when growfs completes. The -M option enables the growfs command to expand a mounted file system. During the expansion, write access for /export is suspended until growfs unlocks the file system. Read access is not affected, though access times are not kept when the lock is in effect.
Et à la fin :
The following conditions prevent you from expanding file systems: When acct is activated and the accounting file is on the target device. When C2 security is activated and the logging file is on the target file system. When there is a local swap file in the target file sys- tem. When the file system is root (/), /usr, or swap.
, concernant l'operations que tu veux réaliser. C'est théoriquement possible, mais pas pour /, désolé :
The following example expands a nonmetadevice slice for the /export file system. In this example, the existing slice, /dev/dsk/c1t0d0s3, is converted to a metadevice so addi- tional slices can be concatenated.
(Edit the /etc/vfstab file to change the entry for /export to the newly defined metadevice, d8.)
# mount /export # growfs -M /export /dev/md/rdsk/d8
This example starts by running the metainit command with the -f option to force the creation of a new concatenated meta- device d8 which consists of the existing slice /dev/dsk/c1t0d0s3 and a new slice /dev/dsk/c2t0d0s3. Next, the file system on /export must be unmounted. The /etc/vfstab file is edited to change the entry for /export to the newly defined metadevice name, rather than the slice name. After the file system is remounted, the growfs com- mand is run to expand the file system.
The file system will span the entire metadevice when growfs completes. The -M option enables the growfs command to expand a mounted file system. During the expansion, write access for /export is suspended until growfs unlocks the file system. Read access is not affected, though access times are not kept when the lock is in effect.
Et à la fin :
The following conditions prevent you from expanding file systems: When acct is activated and the accounting file is on the target device. When C2 security is activated and the logging file is on the target file system. When there is a local swap file in the target file sys- tem. When the file system is root (/), /usr, or swap.
K. -- Kyoko Otonashi's shrine / Le temple de Kyoko Otonashi My tribute to Maison Ikkoku / Mon hommage a Maison Ikkoku Visit http://www.kyoko.org/