Re: nfs mount by label not working.

From: Philipp Matthias Hahn (pmhahn@titan.lahn.de)
Date: Thu May 24 2001 - 02:31:49 EST


On Wed, 23 May 2001, Dave Mielke wrote:

> Using kernel 2.2.17-14 as supplied by RedHat, and using mount from
> mount-2.9u-4, mounting by label using the -L option does not work.
>
> mount -L backup1 /a
Do you realy mean what you wrote in the Subject line:

Subject : Re: *nfs* mount by label not working.
              ^^^^^

That would be something like:
   ask every server in the known universe if it has a nfs-export by
   name backup1, choose one of them and mount it locally on /a.

If you use nfs you have to specify the server and the volume old
fashioned. Mounting by lable or uuid is supported by very few filesystems,
mainly by ext2 only.

What the kernel does is to read /proc/partitions and check if any
partition found there has the label or uuid you search for.

BYtE
Philipp

-- 
  / /  (_)__  __ ____  __ Philipp Hahn
 / /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ pmhahn@titan.lahn.de

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 31 2001 - 21:00:20 EST