Date: Fri, 1 Dec 2000 13:55:54 -0500 From: "Samuel Chow" <samchow@nortelnetworks.com> To: "'questions@freebsd.org'" <questions@freebsd.org> Subject: Bug found when mounting MFS overlaying Readonly partition Message-ID: <EB3F8E62A1E7D21180E80000F80836F6014040E2@zwnwb060.ca.nortel.com>
next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C05BC8.5516AC70 Content-Type: text/plain; charset="iso-8859-1" Hi there, I am running 3-STABLE on a 8 MB 486 acting as a firewall. I think I found a bug, but I just want to run thru' you guys first. And, unless 4-STABLE runs in 8 MB, I can't really upgrade. I have the following in /etc/fstab: # Device Mountpoint FStype Options ... /dev/wd0s2a / ufs ro ... /dev/wd0s2f /usr ufs ro ... Please note the readonly options. Partition /var is created on the fly during initialization. Then I execuate the following as part of the initialization. Basically, I am trying to get a read-write /etc on top of the readonly / partitition. tar cf /var/tmp/etcfile /etc 2>/dev/null mount_mfs -s 1536 -T minimum dummy /etc (cd /; tar xf /var/tmp/etcfile) This works most of the time. However, once in a while, tar will come back and complain about trying to write a few (around 5) files to a read-only file system. It seems under certain conditions, the system cannot see the MFS and write directly on the readonly / partition. Any ideas? --- Samuel Chow This message is displayed using recycled electrons. Segmentation Fault (core dumped) ------_=_NextPart_001_01C05BC8.5516AC70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2652.35"> <TITLE>Bug found when mounting MFS overlaying Readonly = partition</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2>Hi there,</FONT> </P> <P> <FONT SIZE=3D2>I am = running 3-STABLE on a 8 MB 486 acting</FONT> <BR> <FONT SIZE=3D2>as a = firewall. I think I found a bug, but</FONT> <BR> <FONT SIZE=3D2>I just = want to run thru' you guys first. And, </FONT> <BR> <FONT SIZE=3D2>unless = 4-STABLE runs in 8 MB, I can't really </FONT> <BR> <FONT = SIZE=3D2>upgrade.</FONT> </P> <P> <FONT SIZE=3D2>I have the = following in /etc/fstab:</FONT> <BR> <FONT SIZE=3D2># = Device Mountpoint FStype Options = ...</FONT> <BR> <FONT = SIZE=3D2>/dev/wd0s2a = / = ufs ro ...</FONT> <BR> <FONT = SIZE=3D2>/dev/wd0s2f = /usr = ufs ro ...</FONT> <BR> <FONT SIZE=3D2>Please = note the readonly options. Partition </FONT> <BR> <FONT SIZE=3D2>/var is = created on the fly during initialization.</FONT> <BR> = =20 <BR> <FONT SIZE=3D2>Then I = execuate the following as part of</FONT> <BR> <FONT SIZE=3D2>the = initialization. Basically, I am trying</FONT> <BR> <FONT SIZE=3D2>to get a = read-write /etc on top of the </FONT> <BR> <FONT SIZE=3D2>readonly = / partitition.</FONT> <BR> <FONT SIZE=3D2> tar = cf /var/tmp/etcfile /etc 2>/dev/null</FONT> <BR> <FONT SIZE=3D2> = mount_mfs -s 1536 -T minimum dummy /etc</FONT> <BR> <FONT SIZE=3D2> (cd = /; tar xf /var/tmp/etcfile)</FONT> </P> <P> <FONT SIZE=3D2>This works = most of the time. However, once</FONT> <BR> <FONT SIZE=3D2>in a = while, tar will come back and complain</FONT> <BR> <FONT SIZE=3D2>about = trying to write a few (around 5) files </FONT> <BR> <FONT SIZE=3D2>to a = read-only file system.</FONT> </P> <P> <FONT SIZE=3D2>It seems = under certain conditions, the system</FONT> <BR> <FONT SIZE=3D2>cannot = see the MFS and write directly on</FONT> <BR> <FONT SIZE=3D2>the = readonly / partition. Any ideas?</FONT> </P> <P><FONT SIZE=3D2>---</FONT> <BR><FONT SIZE=3D2>Samuel Chow</FONT> </P> <P><FONT SIZE=3D2>This message is displayed using recycled = electrons.</FONT> <BR><FONT SIZE=3D2>Segmentation Fault (core dumped)</FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C05BC8.5516AC70-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EB3F8E62A1E7D21180E80000F80836F6014040E2>