Date: Tue, 8 Aug 2000 14:07:58 -0700 From: "Kevin J. Menard, Jr." <kmenard@cisco.com> To: <freebsd-questions@freebsd.org> Subject: vinum and /usr Message-ID: <008901c0017c$bb3689e0$5acf45ab@cisco.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Sorry for the repost. But I figured that the topic in the last past really didn't represent the issue I'm having now, as this one is a new one, as opposed to my last post which was a Re: of my original issue :-P Oops. I fluffed up a little. I'm too young to be losing my memory. Oh well. I have / = 50M, /var = 20M, swap = 773M, and /usr takes up the remaing 8900M or so. I didn't arbitrarily pick these values -- I let /stand/sysinstall do that for me. I have a total of 6 IDE drives. All of which are 10GB in size. I want to have two striped plexes of 3 subdisks each. The second plex mirroring the first. Working well into the morning, I think I made some serious headway. I can create 5 of the 6 drives from my physical HDDs. The one that fails (vinum told me so) is the main HDD. I'm guessing I'm having trouble making /usr part of a plex because it is in use at the time. I persevered regardless, and built the volume, and then it segfaulted and FreeBSD restarted. I'm assuming this is because that first drive was never really initialized as a drive. Hope I provided sufficient information to get a useful answer :-) Thanks again, -Kevin Greg Lehey wrote: > On Monday, 7 August 2000 at 12:07:22 -0400, Kevin Menard wrote: > > Hi, > > > > I have thoroghly RTFM, but still have a question about vinum. I realize that / > > cannot be mirroredd. I would imagine I would not want to mirror swap space and > > /var, simply because they change so frequently and that would put unneeded > > stress on the CPU. > > If you lose swap, you can crash your system. > > > Plus it really just doesn't make all that much sense to mirror > > temporary data. > > That depends on how important it is while it's there. > > > My question is this though. If I have a 9770M drive, with a / = > > 20M, /var = 50M, swap = 777M, and /usr = the rest, how would I go > > about mirroring the rest of the drive? > > With 20 MB /, I don't think you'd get that far. Take at least 40 MB. > And I'd be interested to know how you know that you need exactly 50 MB > /var. > > > I mean, there's about 9 gigs of /usr data that could be mirrored. > > How many disks do you have? For mirroring you need at least 2. > Mirroring on the same drive doesn't buy you much, just the possibility > to recover from uncorrectable sector data errors. It does > *significantly* add to the I/O time. > > > And if I changed the fs type for /usr to vinum, will that mess up > > any other programs that might store data to /usr? > > The fs type relates to a partition, not a file system. > > Greg > -- > When replying to this message, please copy the original recipients. > For more information, see http://www.lemis.com/questions.html > Finger grog@lemis.com for PGP public key > See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message -------------------------------------------------------------------------------- www@FreeBSD.org [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type> <META content="MSHTML 5.00.2314.1000" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Sorry for the repost. But I figured that the topic in the last past really didn't represent the issue I'm having now, as this one is a new one, as opposed to my last post which was a Re: of my original issue :-P</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2><PRE>Oops. I fluffed up a little. I'm too young to be losing my memory. Oh well. I have / = 50M, /var = 20M, swap = 773M, and /usr takes up the remaing 8900M or so. I didn't arbitrarily pick these values -- I let /stand/sysinstall do that for me. I have a total of 6 IDE drives. All of which are 10GB in size. I want to have two striped plexes of 3 subdisks each. The second plex mirroring the first. Working well into the morning, I think I made some serious headway. I can create 5 of the 6 drives from my physical HDDs. The one that fails (vinum told me so) is the main HDD. I'm guessing I'm having trouble making /usr part of a plex because it is in use at the time. I persevered regardless, and built the volume, and then it segfaulted and FreeBSD restarted. I'm assuming this is because that first drive was never really initialized as a drive. Hope I provided sufficient information to get a useful answer :-) Thanks again, -Kevin Greg Lehey wrote: > On Monday, 7 August 2000 at 12:07:22 -0400, Kevin Menard wrote: > > Hi, > > > > I have thoroghly RTFM, but still have a question about vinum. I realize that / > > cannot be mirroredd. I would imagine I would not want to mirror swap space and > > /var, simply because they change so frequently and that would put unneeded > > stress on the CPU. > > If you lose swap, you can crash your system. > > > Plus it really just doesn't make all that much sense to mirror > > temporary data. > > That depends on how important it is while it's there. > > > My question is this though. If I have a 9770M drive, with a / = > > 20M, /var = 50M, swap = 777M, and /usr = the rest, how would I go > > about mirroring the rest of the drive? > > With 20 MB /, I don't think you'd get that far. Take at least 40 MB. > And I'd be interested to know how you know that you need exactly 50 MB > /var. > > > I mean, there's about 9 gigs of /usr data that could be mirrored. > > How many disks do you have? For mirroring you need at least 2. > Mirroring on the same drive doesn't buy you much, just the possibility > to recover from uncorrectable sector data errors. It does > *significantly* add to the I/O time. > > > And if I changed the fs type for /usr to vinum, will that mess up > > any other programs that might store data to /usr? > > The fs type relates to a partition, not a file system. > > Greg > -- > When replying to this message, please copy the original recipients. > For more information, see <A href="http://www.lemis.com/questions.html">http://www.lemis.com/questions.html</A> > Finger grog@lemis.com for PGP public key > See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message </PRE> <HR> <ADDRESS><A href="http://docs.freebsd.org/mailto.html">www@FreeBSD.org</A><BR></ADDRESS></FONT></DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008901c0017c$bb3689e0$5acf45ab>
