From: Anh K. H. <ky...@vi...> - 2010-12-22 02:53:57
|
On Tue, 21 Dec 2010 16:54:02 -0700 Jun Cheol Park <jun...@gm...> wrote: > ... > Now let me describe what I want in detail. For example, suppose > that I have the following mfs-mount point using "mfsmount -H > 10.1.2.22 -o suid -o dev -o rw -o exec /mnt/mfs." > > # cat /etc/mfs/mfshdd.cfg > /home/mfs-rdvol1 > /home/mfs-rdvol2 So "/home/mfs-rdvol{1,2}/" will be used by mfsmaster/chunk server (to store data) and they are *transparent* to end users (to clients). You can write data directory to /home/mfs-rdvol{1,2}. > ... > However, I want to let /mnt/mfs points out only to /home/mfs-rdvol1 > while /mnt/mfs2 uses /home/mfs-rdvol2, illustrated below as an > example. > > # df -h | grep mfs > mfs#10.1.2.22:9421 24T 399G 24T 2% /mnt/mfs > mfs#10.1.2.22:?? 10T 1T 10T 10% /mnt/mfs2 > > However, I got the following error when I tried to add a separate > mount point: > > # mfsmount /mnt/mfs2 -H 10.1.2.22 -S /home/mfs-rdvol2 -o suid -o dev > -o rw -o exec > mfsmaster register error: No such file or directory Because "/home/mfs-rdvol2" isn't a exported directory. If you want to mount "/foo/bar/" from the mfsmaster, that directory should be mentioned in "mfsexports.cfg". > How can I get a separate mfs-mount point (/mnt/mfs2) that sits on a > different set of hdd drives? I have no idea why you need that. You can remove the second disk (/home/mfs-rdvol2) from the current master, and install another mfsmaster/mfschunk servers that use "/home/mfs-rdvol2" -- but this way is too complex. I mean you would have two different setup of MooseFS. Regards, -- Anh Ky Huynh at UTC+7 |