Dear Everybody, Is that normal, I cannot mount a ldiskfs formatted partition read-only? If yes, why? $ mount /dev/drbd0 /2 -t ldiskfs -o ro mount: /dev/drbd0 already mounted or /2 busy mount: according to mtab, /dev/drbd0 is mounted on /mnt/mdt-mgs $ mount /dev/drbd0 /2 -t ldiskfs $ mount |grep \/2 /dev/drbd0 on /2 type ldiskfs (rw) $ This is CentOS 4.5, 2.6.9-42, Lustre 1.6.1 and drbd 0.7.24 . Thank you. Regards, tamas
Hi Papp: On 8/2/07, Papp Tamas <tompos@martos.bme.hu> wrote:> Dear Everybody, > > Is that normal, I cannot mount a ldiskfs formatted partition > read-only? If yes, why?Indeed it is normal. Please see FAQ entry below. http://wiki.linux-ha.org/DRBD/FAQ#head-2cad8caa095cfb6e2935261cb595390c742ebd86 Note: I am assuming here that the drbd partition is secondary when you try this mount operation. DRBD 0.8 may be what you''re looking for here -- with caution... Regards, -- Mustafa A. Hashmi mahashmi@gmail.com
On Fri, Aug 03, 2007 at 10:36:05AM +0500, Mustafa A. Hashmi wrote:> Hi Papp: > > On 8/2/07, Papp Tamas <tompos@martos.bme.hu> wrote: > > Dear Everybody, > > > > Is that normal, I cannot mount a ldiskfs formatted partition > > read-only? If yes, why? > > Indeed it is normal. Please see FAQ entry below. > > http://wiki.linux-ha.org/DRBD/FAQ#head-2cad8caa095cfb6e2935261cb595390c742ebd86 > > Note: I am assuming here that the drbd partition is secondary when you > try this mount operation. DRBD 0.8 may be what you''re looking for here > -- with caution...Dear Mustafa, No, you can see, I can mount it rw. By the way the device is already mounted (as mds) and of course primary. tamas