Apple Mac OS X Server (version 10.2.3 or later) Uživatelský manuál Strana 613

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 690
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 612
Tools for Advanced Administrators 613
5 To disable journaling, select the Information tab, then click Remove Journaling.
Enabling Journaling Using diskutil or newfs_hfs
You can use diskutil or newfs_hfs from the command line to enable journaling.
To enable journaling using command-line tools:
1 Log in to the server whose disk you want to set up for journaling as an administrator.
2 Make sure the server is in a quiescent state.
3 Open the Terminal application.
4 Run fsck_hfs with the -f and -n options to make sure the disk is free from errors.
For example, to verify /dev/disk0s11, type “fsck_hfs -f -n /dev/disk0s11”.
5 To convert a disk to a journaled volume without erasing it, conduct step 6. To erase a volume,
then format it with journaling, conduct step 7.
6 To convert a disk to a journaled volume, run diskutil using the enableJournal option and
identify the volume you want to convert.
For example, to enable journaling for the root volume, type “sudo /usr/sbin/diskutil
enableJournal /”.
To enable journaling for a volume called MyDisk, type “sudo /usr/sbin/diskutil enableJournal
/Volumes/MyDisk”.
7 To format a new volume with journaling enabled, first make sure that you have saved any
data on the volume you do not want to be erased. Then use the -J option of newfs_hfs.
For example, to make a journaled volume named Foo on device /dev/disk0s11, type
“newfs_hfs -J -v Foo /dev/disk0s11”.
Disabling Journaling Using diskutil
You can disable journaling from the Terminal application by using diskutil.
To disable journaling using diskutil:
1 Log in to the server with the journaling disk as an administrator.
2 Make sure the server is in a quiescent state.
3 Open the Terminal application.
4 Type the diskutil command, using the disableJournal option, and identify the volume for
which you want journaling disabled.
For example, to disable journaling for the root volume, type “sudo /usr/sbin/diskutil
disableJournal /”.
LL0395.Book Page 613 Wednesday, November 20, 2002 11:44 AM
Zobrazit stránku 612
1 2 ... 608 609 610 611 612 613 614 615 616 617 618 ... 689 690

Komentáře k této Příručce

Žádné komentáře