View previous topic :: View next topic |
Author |
Message |
Tony Clifton l33t
Joined: 07 Jul 2004 Posts: 686 Location: Rennes
|
Posted: Mon Jan 03, 2005 12:46 pm Post subject: [NFS] Partager plusieurs partitions (résolu) |
|
|
Est-il possible de partager un répertoire (/home) dans lequel une autre partition est montée sans avoir à créer un nouveau partage ?
J'ai essayé avec l'option nohide mais ça ne fonctionne pas.
Voici la conf de mon serveur
Code: | # cat /etc/fstab
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1 / reiserfs noauto,noatime,notail 1 1
/dev/sda2 none swap sw 0 0
/dev/sdb1 /home reiserfs noatime,notail 0 2
/dev/sda3 /home/videos reiserfs noatime,notail 0 3
#/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0
|
Code: | # cat /etc/exports
# /etc/exports: NFS file systems being exported. See exports(5).
/home limon(nohide,rw,no_root_squash,sync) lumia(nohide,rw,sync)
/usr/portage *.citrus(rw,no_root_squash,sync)
|
Mais je n'arrive pas à voir le répertoire /home/videos sur les clients
Last edited by Tony Clifton on Mon Jan 03, 2005 6:05 pm; edited 1 time in total |
|
Back to top |
|
|
Tony Clifton l33t
Joined: 07 Jul 2004 Posts: 686 Location: Rennes
|
Posted: Mon Jan 03, 2005 6:04 pm Post subject: |
|
|
C'est bon j'ai réussi, fallait juste que la partition /home/videos soit dans /etc/exports
Code: | # cat /etc/exports
# /etc/exports: NFS file systems being exported. See exports(5).
/home limon(rw,no_root_squash,sync) lumia(rw,sync)
/home/videos limon(nohide,rw,no_root_squash,sync) lumia(nohide,rw,sync)
/usr/portage *.citrus(rw,no_root_squash,sync)
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|