mount.ceph

Langue: en

Autres versions - même langue

Version: 385470 (fedora - 01/12/10)

Section: 8 (Commandes administrateur)

NAME

mount.ceph - mount a ceph file system

SYNOPSIS

mount.ceph monaddr1[,monaddr2,...]:/[subdir] dir [ -o options ]

DESCRIPTION

mount.ceph is a simple helper for mounting the Ceph file system on a Linux host. The only real purpose it serves is to resolve monitor hostname(s) into IP addresses; the Linux kernel client component does most of the real work. In fact, it is possible to mount a Ceph file system without mount.ceph by specifying monitor address(es) by IP:
mount -t ceph 1.2.3.4:/ mountpoint

Each monitor address monaddr takes the form host[:port]. If the port is not specified, the Ceph default of 6789 is assumed.

Multiple monitor addresses can be separated by commas. Only one responsible monitor is needed to successfully mount; the client will learn about all monitors from any responsive monitor. However, it is a good idea to specify more than one in case one happens to be down at the time of mount.

A subdirectory subdir may be specified if a subset of the file system is to be mounted.

EXAMPLES

Mount the full file system:
mount.ceph monhost:/ /mnt/foo

If there are multiple monitors:

mount.ceph monhost1,monhost2,monhost3:/ /mnt/foo

If cmon(8) is running on a non-standard port:

mount.ceph monhost1:7000,monhost2:7000,monhost3:7000:/ /mnt/foo

To mount only part of the namespace:

mount.ceph monhost1:/some/small/thing /mnt/thing

Assuming mount.ceph(8) is installed properly, it should be automatically invoked by mount(8) like so:

mount -t ceph monhost:/ /mnt/foo

AVAILABILITY

mount.ceph is part of the Ceph distributed file system. Please refer to the Ceph wiki at http://ceph.newdream.net/wiki for more information.

SEE ALSO

cfuse(8), ceph(8)