Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   Combining two NFS mounts with mhddfs (http://www.linux-archive.org/debian-user/708997-combining-two-nfs-mounts-mhddfs.html)

Malte Forkel 10-02-2012 11:14 AM

Combining two NFS mounts with mhddfs
 
Hi,

I'm trying to use mhddfs to combine two directories mounted via NFS.
With the proper line in /etc/fstab, this works fine when I issue the
mhddfs command manually. It does not work during boot, seemingly because
mhddfs is run before NFS is up. What am I doing wrong?

>From /var/log/boot:
Mon Oct 1 20:40:32 2012: Mounting local filesystems...mhddfs: directory
'/var/lib/video.00-spiro' added to list
Mon Oct 1 20:40:33 2012: mhddfs: directory '/var/lib/video.00-gyro'
added to list
Mon Oct 1 20:40:33 2012: mhddfs: mount to: /var/lib/video.00
Mon Oct 1 20:40:33 2012: mhddfs: move size limit 0%
Mon Oct 1 20:40:33 2012: fuse: device not found, try 'modprobe fuse' first
Mon Oct 1 20:40:33 2012: failed.
Mon Oct 1 20:40:33 2012: Activating swapfile swap...done.
Mon Oct 1 20:40:33 2012: Cleaning up temporary files....
Mon Oct 1 20:40:34 2012: Setting kernel variables ...
/etc/sysctl.conf...done.
Mon Oct 1 20:40:34 2012: Configuring network interfaces...done.
Mon Oct 1 20:40:35 2012: Setting up X server socket directory
/tmp/.X11-unix....
Mon Oct 1 20:40:35 2012: Setting up ICE socket directory /tmp/.ICE-unix....
Mon Oct 1 20:40:35 2012: Starting portmap daemon....
Mon Oct 1 20:40:35 2012: Starting NFS common utilities: statd.

Environment: Debian Squeeze, kernel 2.6.32-5-686 2.6.32-46, mhddfs
0.1.37, fuse-utils 2.8.4-1.1.

Thanks, Malte


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/k4eiau$l3f$1@ger.gmane.org

Stefan Swerk 10-02-2012 08:05 PM

Combining two NFS mounts with mhddfs
 
Am 02.10.2012 13:14, schrieb Malte Forkel:

Hi,

I'm trying to use mhddfs to combine two directories mounted via NFS.
With the proper line in /etc/fstab, this works fine when I issue the
mhddfs command manually. It does not work during boot, seemingly because
mhddfs is run before NFS is up. What am I doing wrong?

>From /var/log/boot:
Mon Oct 1 20:40:32 2012: Mounting local filesystems...mhddfs: directory
'/var/lib/video.00-spiro' added to list
Mon Oct 1 20:40:33 2012: mhddfs: directory '/var/lib/video.00-gyro'
added to list
Mon Oct 1 20:40:33 2012: mhddfs: mount to: /var/lib/video.00
Mon Oct 1 20:40:33 2012: mhddfs: move size limit 0%
Mon Oct 1 20:40:33 2012: fuse: device not found, try 'modprobe fuse' first
Mon Oct 1 20:40:33 2012: failed.
Mon Oct 1 20:40:33 2012: Activating swapfile swap...done.
Mon Oct 1 20:40:33 2012: Cleaning up temporary files....
Mon Oct 1 20:40:34 2012: Setting kernel variables ...
/etc/sysctl.conf...done.
Mon Oct 1 20:40:34 2012: Configuring network interfaces...done.
Mon Oct 1 20:40:35 2012: Setting up X server socket directory
/tmp/.X11-unix....
Mon Oct 1 20:40:35 2012: Setting up ICE socket directory /tmp/.ICE-unix....
Mon Oct 1 20:40:35 2012: Starting portmap daemon....
Mon Oct 1 20:40:35 2012: Starting NFS common utilities: statd.

Environment: Debian Squeeze, kernel 2.6.32-5-686 2.6.32-46, mhddfs
0.1.37, fuse-utils 2.8.4-1.1.

Thanks, Malte

Hi Malte,

I am not able to help you with the NFS problem, however, one reason
mhddfs is complaining during the boot sequence is because the 'fuse'
kernel module is not loaded automatically during startup.


To fix it, edit the file '/etc/modules', add a line 'fuse' (without
quotes) and reboot.


Stefan


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 506B4908.6000906@gmail.com">http://lists.debian.org/506B4908.6000906@gmail.com

Malte Forkel 10-04-2012 03:32 PM

Combining two NFS mounts with mhddfs
 
Am 02.10.2012 22:05, schrieb Stefan Swerk:
> Hi Malte,
>
> I am not able to help you with the NFS problem, however, one reason
> mhddfs is complaining during the boot sequence is because the 'fuse'
> kernel module is not loaded automatically during startup.
>
> To fix it, edit the file '/etc/modules', add a line 'fuse' (without
> quotes) and reboot.
>
> Stefan
>

Hello Stefan,

adding 'fuse' to '/etc/modules' actually was the the solution! mhddfs
does not seem to mind that the NFS mount happens later.

Thanks,
Malte




--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 506DABF0.4060301@berlin.de">http://lists.debian.org/506DABF0.4060301@berlin.de


All times are GMT. The time now is 08:57 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.