NFS puzzle - need help exporting a machines root file system

ramb at sonic.net ramb at sonic.net
Thu Sep 15 14:14:39 UTC 2005


This is not the normal NFS root file system question.

I want to export the root file system from machine A and import it
on machine B. On B I would like the file system to be mounted
as /mnt/A_root.

There are some additional bits that make things more complicated: On A there
are several filesystems (not root) that are mounted from B. But I don't need
those file systems to be reexported (and I think thats not even possible).

In my specific case A's root file system comes from LVM: /dev/VG/root --> /

I tried putting this in A's /etc/exports file:

/ B(rw,sync)

on B when I tried to mount this filesystem I got this error (after a rather
long delay):

mount: A:/: can't read superblock


---------------------------------------

My goal is really this: I have several linux machines, from one
machine I would like to be able to see all files on all machines.

Maybe I could use samba to export the root file system from all
machines - but I would like a more unix-ish solution if there is one.

Thanks for any help.

-Ram





More information about the users mailing list