Sun: Disk Suite, Plattentausch mit geändertem Layout
Montag, 31. August 2009 | Autor: Michael Zimmer
Hi,
wir habe hier eine paar alte Installationen mit Solstice DiskSuite. Plattenlayout mit root 4GB und var 6GB wird deutlich zu eng. Die root Platten mit 72GB werden durch 146GB Platten ersetzt. Dabei soll das Layout bzw die Größen der Filesysteme vergrößert werden.
Folgende Vorgehensweise ist geplant:
1. 2. Platte herauskonfigurieren.
2. 2. Platte tauschen
3. 2. Platte auf neues Layout slicen
4. 1. Platte auf 2. Platte spiegeln
5. Bootsektor auf 2. Platte
6. 1. Platte herauskonfigurieren.
7. 1. Platte tauschen
8. 1. Platte auf neues Layout slicen
9. 2. Platte auf 1. Platte spiegeln
10. Bootsektor auf 1. Platte
11. Filesysteme vergrößern
12. Reboot
Wobei folgende Befehle zum Einsatz kommen:
Alte Platten raus konfigurieren:
medadetach <mirror> <submirror>
metaclear <metadevice>
metadb -d <slice>
Neue Platte rein:
metadb -a -f -c 3 <slice>
metainit <contact/stripe> 1 1 <slice>
metattach <mirror> <metadevice>
Neue Platte bootbar machen:
installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk <raw-device>
Filesystem vergrößern (nachdem die zweite Platte auch getauscht ist)
growfs -M <mountpoint> <raw-devicw>
Schaun wir mal ob’s was wird
Thema: Solaris | Beitrag kommentieren




