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
[-- Attachment #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) [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2652.35"> <TITLE>Bug found when mounting MFS overlaying Readonly partition</TITLE> </HEAD> <BODY> <P><FONT SIZE=2>Hi there,</FONT> </P> <P> <FONT SIZE=2>I am running 3-STABLE on a 8 MB 486 acting</FONT> <BR> <FONT SIZE=2>as a firewall. I think I found a bug, but</FONT> <BR> <FONT SIZE=2>I just want to run thru' you guys first. And, </FONT> <BR> <FONT SIZE=2>unless 4-STABLE runs in 8 MB, I can't really </FONT> <BR> <FONT SIZE=2>upgrade.</FONT> </P> <P> <FONT SIZE=2>I have the following in /etc/fstab:</FONT> <BR> <FONT SIZE=2># Device Mountpoint FStype Options ...</FONT> <BR> <FONT SIZE=2>/dev/wd0s2a / ufs ro ...</FONT> <BR> <FONT SIZE=2>/dev/wd0s2f /usr ufs ro ...</FONT> <BR> <FONT SIZE=2>Please note the readonly options. Partition </FONT> <BR> <FONT SIZE=2>/var is created on the fly during initialization.</FONT> <BR> <BR> <FONT SIZE=2>Then I execuate the following as part of</FONT> <BR> <FONT SIZE=2>the initialization. Basically, I am trying</FONT> <BR> <FONT SIZE=2>to get a read-write /etc on top of the </FONT> <BR> <FONT SIZE=2>readonly / partitition.</FONT> <BR> <FONT SIZE=2> tar cf /var/tmp/etcfile /etc 2>/dev/null</FONT> <BR> <FONT SIZE=2> mount_mfs -s 1536 -T minimum dummy /etc</FONT> <BR> <FONT SIZE=2> (cd /; tar xf /var/tmp/etcfile)</FONT> </P> <P> <FONT SIZE=2>This works most of the time. However, once</FONT> <BR> <FONT SIZE=2>in a while, tar will come back and complain</FONT> <BR> <FONT SIZE=2>about trying to write a few (around 5) files </FONT> <BR> <FONT SIZE=2>to a read-only file system.</FONT> </P> <P> <FONT SIZE=2>It seems under certain conditions, the system</FONT> <BR> <FONT SIZE=2>cannot see the MFS and write directly on</FONT> <BR> <FONT SIZE=2>the readonly / partition. Any ideas?</FONT> </P> <P><FONT SIZE=2>---</FONT> <BR><FONT SIZE=2>Samuel Chow</FONT> </P> <P><FONT SIZE=2>This message is displayed using recycled electrons.</FONT> <BR><FONT SIZE=2>Segmentation Fault (core dumped)</FONT> </P> </BODY> </HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EB3F8E62A1E7D21180E80000F80836F6014040E2>
