[lustre-discuss] lustre file system mounted as (ro), is that right?
Dilger, Andreas
andreas.dilger at intel.com
Tue Jun 28 14:47:05 PDT 2016
This is just the status of the local MDT mountpoint, which does not allow any local modification, only statfs (df) and such.
You need to mount a Lustre client to get a read-write mountpoint.
Cheers, Andreas
On Jun 28, 2016, at 12:59, Yu Chen <chenyu at umbc.edu<mailto:chenyu at umbc.edu>> wrote:
Hello,
I have finally installed lustre 2.8.0 following Christopher's suggestion (although it didn't compile on the latest kernel, 327.22). But it mounted as read-only (ro) on mds, is that right?
Here are the steps/info:
installed kernel:
kernel-devel-3.10.0-327.18.2.el7.x86_64
kernel-3.10.0-327.18.2.el7.x86_64
kernel-headers-3.10.0-327.18.2.el7.x86_64
* installed zfs-release, and edited zfs.repo to use kmod.
* yum clean metadata
* yum install zfs spl kmod-zfs kmod-spl kmod-zfs-devel kmod-spl-devel
* Then rpmbuild --rebuild --with zfs --without ldiskfs ./lustre...rpm
* Then installed all the lustre rpms
* loaded zfs spl lustre lnet modules
*
* mkfs.lustre --reformat --fsname=lustre01 --mgs --mdt --backfstype=zfs --index=0 --mgsnode=10.1.12.1 at o2ib --servicenode=10.1.12.1 at o2ib mdt01-pool/mgsmdt01
* echo "mds1 - lustre01-MDT0000 zfs:mdt01-pool/mgsmdt01" > /etc/ldev.conf
* echo "options lnet networks=o2ib(ib0)" > /etc/modprobe.d/lustre.conf
* systemctl start lustre.service didn't work, had to use service lustre start
* then "mount" shows the following:
mdt01-pool/mgsmdt01 on /mnt/lustre/local/lustre01-MDT0000 type lustre (ro)
Is this right?
If I try to ls /mnt/lustre/local/lustre01-MDT000, it will say:
ls: cannot access /mnt/lustre/local/lustre01-MDT0000/: Not a directory
Thanks a lot for your time and help! First time doing lustre, a lot to learn.
Chen
_______________________________________________
lustre-discuss mailing list
lustre-discuss at lists.lustre.org<mailto:lustre-discuss at lists.lustre.org>
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20160628/dd9bc91f/attachment.htm>
More information about the lustre-discuss
mailing list