[mdlug] Export Mounted ISOs
Wojtak, Greg
GregWojtak at quickenloans.com
Fri May 30 16:42:15 EDT 2008
This is part of the security structure of nfs4. You set up a directory
to be your export 'root' (usually /export as you mentioned), and clients
will mount relative to that. So if you set up /export/isos, and in
/etc/exports you have /export marked as 'fsid=0', then on the client you
would just:
mount -t nfs4 nfsserver:/isos /mnt
Of course, this is only if you are using nfs4.
Greg Wojtak
The Linux Fix
http://www.thelinuxfix.com/
-----Original Message-----
From: mdlug-bounces at mdlug.org [mailto:mdlug-bounces at mdlug.org] On Behalf
Of Jeff Hanson
Sent: Friday, May 30, 2008 4:39 PM
To: MDLUG's Main discussion list
Subject: Re: [mdlug] Export Mounted ISOs
On Fri, May 30, 2008 at 12:19 PM, Ein Bielaczyc <ebielaczyc at gmail.com>
wrote:
> Would I then mount the ISO via loop and then re-mount it using the
rbind
> option to an alternate location?
On Ubuntu (or maybe it's just a Webmin behavior) when you make an
NFSv4 export it creates a /export directory to be the root of all
epxorts and bind mounts everything through there. If the target has
sub-mounts then it doesn't work and they have to be changed in fstab.
You're not using Ubuntu so I'm not sure how it is set up.
On Ubuntu the file /var/lib/nfs/etab lists all current exports with
all settings active (default, implied, and explicit). It might reveal
more about what exactly is being exported and how.
_______________________________________________
mdlug mailing list
mdlug at mdlug.org
http://mdlug.org/mailman/listinfo/mdlug
More information about the mdlug
mailing list