Red Hat SATELLITE 5.1.0 RELEASE NOTES Instrukcja Instalacji Strona 203

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 268
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 202
Chapter 13. Miscellaneous recipes 185
In this example, there is only one subdirectory. You can move the contents from the root file
system to the new logical volume a number of different ways. Following is one method:
# cd /home
# mkdir /tmp/home
# mv * /tmp/home
# cd ..
# mount /home
# cd /home
# mv /tmp/home/* .
# ls -F
ldapuser1/ lost+found/
Even though you tested mounting the file system using reading the /etc/fstab file, you may
want to test a reboot to verify that the logical volume is successfully mounted.
13.2 Extending an existing logical volume
This section describes the process of adding a new minidisk to an existing LVM. This is useful
when your logical volume has run out of space. In this example, the vgdisplay command
shows that the existing volume group is full.
# vgdisplay
--- Volume group ---
VG Name homevg
...
Total PE 2346
Alloc PE / Size 2346 / 9.16 GB
Free PE / Size 0 / 0
VG UUID IHAq2g-ME3w-b6LY-E3hA-raNk-bF0G-Poprma
First, repeat the steps at the beginning of this section to add a new minidisk. In this example,
a minidisk at virtual address 105 is added that is 3338 cylinders in size.
Create a new RAMdisk to enable the new minidisk
Edit the /etc/modprobe.conf file and add the new minidisk at address 105 to the existing
range:
# vi /etc/modprobe.conf
alias eth0 qeth
options dasd_mod dasd=100-105
Use the mkinitrd command to rebuild the initial RAMdisk, then use the zipl command to
rewrite the boot sector on the root partition:
# mkinitrd -v -f /boot/initrd-$(uname -r).img $(uname -r)
...
# zipl
...
Reboot the system to test the changes:
# reboot
...
When your system comes back, verify that the new minidisk is available using the lsdasd
command:
# lsdasd
...
Przeglądanie stron 202
1 2 ... 198 199 200 201 202 203 204 205 206 207 208 ... 267 268

Komentarze do niniejszej Instrukcji

Brak uwag