Red Hat LINUX VIRTUAL SERVER 4.6 - ADMINISTRATION Manuale di Installazione Pagina 230

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 296
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 229
210 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/disk/by-path/ccw-0.0.0100-part1 / ext4 defaults
1 1
/dev/mapper/system_vg-opt_lv /opt ext4 defaults 1 2
/dev/mapper/system_vg-tmp_lv /tmp ext4 defaults 1 2
/dev/mapper/system_vg-usr_lv /usr ext4 defaults 1 2
/dev/mapper/system_vg-var_lv /var ext4 defaults 1 2
/dev/disk/by-path/ccw-0.0.0300-part1 swap swap defaults
0 0
/dev/disk/by-path/ccw-0.0.0301-part1 swap swap defaults
0 0
/dev/disk/by-path/ccw-0.0.0100-part2 swap swap defaults
0 0
/dev/homevg/homelv /home ext4 defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
Before mounting over /home/, you may want to check that it is empty. If a non-root user exists
and a new file system is mounted over it, the contents of the directory will be
covered. In this
example there is no data in the file system.
# ls -a /home
. ..
Mount the /home/ file system with one argument. By using just one argument, you are testing
the change to /etc/fstab. Use the df -h command to verify that it is mounted:
# mount /home
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/dasda1 504M 148M 331M 31% /
tmpfs 121M 0 121M 0% /dev/shm
/dev/mapper/system_vg-opt_lv
372M 17M 337M 5% /opt
/dev/mapper/system_vg-tmp_lv
372M 17M 337M 5% /tmp
/dev/mapper/system_vg-usr_lv
1.5G 1.1G 366M 75% /usr
/dev/mapper/system_vg-var_lv
372M 93M 261M 27% /var
/dev/mapper/homevg-homelv
2.3G 68M 2.1G 4% /home
You may want to test a reboot to verify the new logical volume is successfully mounted over
/home/.
# reboot
Broadcast message from root (pts/0) (Thu Sep 2 15:08:07 2010):
The system is going down for reboot NOW!
Vedere la pagina 229
1 2 ... 225 226 227 228 229 230 231 232 233 234 235 ... 295 296

Commenti su questo manuale

Nessun commento