Apple Xsan Uživatelský manuál Strana 142

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 165
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 141
142
You can use Xsan shell commands and conguration les to
work with a SAN from the command line.
You can use the shell commands and conguration les described here to access, set
up, and manage Xsan SANs, LUNs, storage pools, and volumes from the command line.
The Terminal app is the Mac OS X gateway to the BSD command-line interface (UNIX
shell command prompt). Each window in Terminal contains a complete command-line
execution context, called a shell, that is separate from all other execution contexts.
Although you can use any shell of your choice, the examples in this book assume that
youre using bash, the standard Mac OS X shell.
Use shell commands
The Xsan command-line utilities are located in /System/Library/Filesystems/acfs.fs/
Contents/bin/.
Many commands used to manage Xsan must be executed by the root user (also
known as the superuser). If you get a message such as “permission denied,” the
command probably requires root user privileges.
To execute a single command with root user privileges, begin the command with sudo
(short for superuser do). For example:
$ sudo cvfsck -n MyVolume
If you haven’t used sudo recently, youre prompted for the password for your
administrator account.
Send commands to remote computers
To use commands on a remote computer, rst use SSH to log in to the other computer:
$ ssh user@computer
Replace user with the name of a user account on the remote computer and computer
with its IP address or DNS name.
Appendix
C
Use command-line tools
Zobrazit stránku 141
1 2 ... 137 138 139 140 141 142 143 144 145 146 147 ... 164 165

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

Žádné komentáře