Eine zweite Festplatte im Server aktivieren
Die zweite Platte wird vermutlich als "sdb" benannt sein. Bitte einfach mal df eingeben und schauen ob die erste Platte sda heißt, dann ist es definitiv sdb...
[root]# cfdisk /dev/sdb
In der Maske die sich öffnet dann eine neue (primäre) Partition sdb1 anlegen und speichern. Dann die Maske mit Quit schließen.
Anschließend muß die neue Partition noch formatiert werden:
[root]# mkfs -t ext3 /dev/sdb1
mke2fs 1.27 (8-Mar-2002)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
2508352 inodes, 5016052 blocks
250802 blocks (5.00%) reserved for the super user
First data block=0
154 block groups
32768 blocks per group, 32768 fragments per group
16288 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
[root]# mkdir /hallo
"hallo" ist hier nur ein Beispiel, der Mountpoint kann natürlich auch anders benannt sein.
[root]# mount -t ext3 /dev/sdb1 /hallo
Dann musst du die Platte noch ins /etc/fstab eintragen:
proc /proc proc defaults 0 0
/dev/sda2 / ext3 defaults 0 0
/dev/sda1 none swap sw 0 0
/dev/sdb1 /hallo ext3 defaults 0 0
