Red Hat LINUX VIRTUAL SERVER 4.6 - ADMINISTRATION Installationshandbuch Seite 236

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 296
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 235
216 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
16.Create a partition with the fdisk command:
# fdisk /dev/sda
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-8192, default 1):
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-8192, default 8192):
Using default value 8192
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
17.Create an ext4 file system with the
mkfs.ext4 command:
# mkfs.ext4 /dev/sda1
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
...
18.You should now be able to mount it and see the size:
# mount /dev/sda1 /mnt
# df -h /mnt
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 7.9G 146M 7.4G 2% /mnt
19.Create a test file:
# echo “this is the file foo” > /mnt/foo
# umount /mnt
13.4.2 Configuring multipathing
It is a best practice to set up multipathing for better availability. Perform the following steps:
1. Create a second WWPN:
# cd /sys/bus/ccw/drivers/zfcp/0.0.010a
# ls
availability cutype driver online subsystem
cmb_enable devtype modalias power uevent
# echo 1 > online
2. Note the second WWPN. In this example, it is 0x500507630503c73d:
# ls
0x500507630503c73d devtype in_recovery peer_wwnn status
Seitenansicht 235
1 2 ... 231 232 233 234 235 236 237 238 239 240 241 ... 295 296

Kommentare zu diesen Handbüchern

Keine Kommentare