SATA, Raid 1, LVM and controller question.
by Robin Laing
Hello,
I have a question about peoples experience with SATA and RAID 1.
I have 4 SATA drives, 2 which are presently md0 in an initial LVM. I
am about to add the second two drives as md1 to the LVM. One
controller is onboard and the other is a PCI card.
Now with the present setup, I have the md0 drives on the same SATA
controller chip and I notice that when large files are written to the
array, there is a pause in the operation of the workstation. Anything
being done is affected.
I was wondering if moving the drives to different controllers would
benefit in throughput as putting IDE drives on different controllers?
I am thinking of doing it but I have not seen any information on
physically moving md drives from lets say sda to sdc.
As the LVM is looking at md0 and not the sd* devices, I don't think I
will have to do anything with LVM during this.
I will backup the data just to be safe.
18 years, 3 months
]OT] http-authorization:
by Don Russell
Please forgive the OT nature of this, but I've spent a lot of time
googling etc and have found nothing. Perhaps someone here knows the
answer, or can point me in the right direction.
I have a web appl that uses status code 401 (authorization required) to
challenge the user for an id/password. The client then responds with the
http-authorization header etc. All is well.
But, I want to make a more 'friendly' log on page:
So, my server sends a page with status 200 (OK) with a simple form with
two fields: userid/password. (The rest of the page content is the
friendly fluff, not relevant to my problem)
In that case, when the user presses the submit button, the client
doesn't build the http-authorization: header (because it doesn't know it
should)
Is there a way (using javascript?) to tell a web browser (client) to
build a specific header? This needs to work with MS IE6, and I'd LIKE
it to work with FireFox...
I need to have the client send the http-authorization: Basic
B64-encoded-uid:pwd header.
I can do the encoding "manually" in a script if there are no "built-in"
encoding methods... but how do I actually get the client to include a
specific request-header?
Thank you,
Don
18 years, 3 months
Re: Disk defragmenter in Linux
by David G. Miller (aka DaveAtFraud)
mike.mccarty(a)sbcglobal.net wrote:
> Jim Cornette wrote:
>
>> John Summerfied wrote:
>>
>>> Jeff Vian wrote:
>>>
>>>>
>>>> Exactly, and IIRC the filesystem knows that if it needs X amount of
>>>> space for a file, then Y number of inodes are marked for use for that
>>>> file at the beginning. Thus space allocated is as contiguous as is
>>>> efficient for read/write on the disk.
>>>
>>>
>>>
>>>
>>> If "the filesystem knows that if it needs X amount of space for a
>>> file," that implies there's a way of telling it that.
>>>
>>> How's that done? I don't recall any system call for *x (there is one
>>> for OS/2), and one could do it in JCL in IBM's OS in the 60s), but
>>> in the *x world I've never seen a way to do it.
>>
>>
>>
>>
>> Since the discussions regarding fragmentation on ext3 filesystems was
>> pretty long running. I decided to try
>> filefrag /usr/bin/* |sort |grep 'would be'
>> and the output showed a lot of fragmentation. One of the files was up
>> to 45.
>
>
> On my system I did this...
>
> # filefrag /usr/bin/* | sort -k2 -nr | grep 'would be'
>
> Here're the first few entries...
>
> /usr/bin/emacs: 248 extents found, perfection would be 1 extent
> /usr/bin/emacs-21.3: 248 extents found, perfection would be 1 extent
> /usr/bin/kermit: 80 extents found, perfection would be 1 extent
> /usr/bin/kbabel: 45 extents found, perfection would be 1 extent
> /usr/bin/ddd: 45 extents found, perfection would be 1 extent
> /usr/bin/gthumb: 41 extents found, perfection would be 1 extent
> /usr/bin/gdbtui: 36 extents found, perfection would be 1 extent
> /usr/bin/elinks: 30 extents found, perfection would be 1 extent
> /usr/bin/iniomega: 22 extents found, perfection would be 1 extent
> /usr/bin/kpersonalizer: 21 extents found, perfection would be 1 extent
> /usr/bin/artsd: 21 extents found, perfection would be 1 extent
> /usr/bin/artscat: 20 extents found, perfection would be 1 extent
> /usr/bin/kiconedit: 19 extents found, perfection would be 1 extent
> /usr/bin/glade-2: 19 extents found, perfection would be 1 extent
> /usr/bin/karm: 18 extents found, perfection would be 1 extent
> /usr/bin/dia: 18 extents found, perfection would be 1 extent
> /usr/bin/designer3: 18 extents found, perfection would be 1 extent
> /usr/bin/designer: 18 extents found, perfection would be 1 extent
> /usr/bin/kppplogview: 16 extents found, perfection would be 1 extent
> /usr/bin/kfontinst: 16 extents found, perfection would be 1 extent
> /usr/bin/civclient-xaw: 15 extents found, perfection would be 1 extent
> /usr/bin/cdrecord: 15 extents found, perfection would be 1 extent
> /usr/bin/knewstickerstub: 14 extents found, perfection would be 1 ext
>
> Surely those who argue that ext3 does not get fragmented
> during install don't think that 248 extents is "not
> significant fragmentation".
>
> I assure you that I have done nothing on my system to try to
> fragment emacs.
>
> Mike
> --
> p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
> This message made from 100% recycled bits.
> You have found the bank of Larn.
> I can explain it for you, but I can't understand it for you.
> I speak only for myself, and I am unanimous in that!
>
>
Yes, but...
[root@bend ~]# filefrag /bin/* | sort -k2 -nr | grep 'would be'
/bin/netstat: 2 extents found, perfection would be 1 extent
/bin/login: 2 extents found, perfection would be 1 extent
Files that are frequently updated will often have some level of
fragmentation. Files that are relatively unchanged tend to be in a
single extent. Also, the stuff in /bin will generally be small, tight,
command line programs. A quick perusal of those listed in your example
shows a number of graphical interface programs that are anything but
small and don't even get me started about the size of emacs (the
probability of change to a program is very directly related to the size
of the program).
Cheers,
Dave
18 years, 3 months
Access Old Home Directory
by Robert L Cochran
Hi,
I recently upgraded my desktop system with a much larger hard drive. The
old hard drive is now in an external hard drive enclosure (the kind
made by Metal Gear Box) and is plugged in to a USB port. The old drive
has these partitions
Microsoft Windows XP -- 30 Gb
Fedora Core 4 -- 30 Gb
My problem is, I can see the /boot partition on the drive, but I cannot
see the / (root) partition, and I'm want to get at my former home
directory because I have some files there I forgot to back up. I'm
wondering if that partition was named something like:
'/dev/VolGroup00/LogVol00' and mounted on /.
Thanks for any help!
Bob Cochran
18 years, 3 months
Why questions don't get answered, or "No, I've already RTFM, tell me the answer!"
by Charles Howse
I'd like to start a calm, respectful, reasonable discussion of the reasons
that we tell people to RTFM, or reasons that people don't get their
questions answered on mailing lists and usenet groups.
I'm not complaining about anything or anybody, just wanting to start some
discussion which might lead to more answers and less 'noise'.
No one has been disrespectful to me, don't get the wrong idea.
I personally am a former Microsoft Certified Professional in NT Server 4.0,
have used operating systems including, PC DOS, MS DOS, OS/2 Warp, all
flavors of Windows through XP Pro (except ME, which sucked sooo bad), Linux,
FreeBSD, and currently, Mac OS X Tiger.
I've administered networks consisting of hundreds of workstations and dozens
of servers, installed lans and wans from scratch, taught Windows operating
systems, software and networking.
I feel that might just barely qualify me as knowing a little about
computers, and I say that seriously...'a little'.
There are a lot of things I don't know, and when I run out of research
options, or get frustrated when all the troubleshooting solutions don't
work, I'm heading for usenet or a mailing list, because time after time,
that has been the resource that provided the solution. A wise man once told
me, "Someone out there has solved that problem, you just have to find them."
I don't really know where to start, so here are some random thoughts...
Maybe I got told to RTFM because I missed something in it? Well, could you
just politely point me to the section I missed, please? Or give me a link
to a howto or some html page where it is explained?
Maybe the question has been answered in the FAQ for the list? Just point me
to it, you don't have to say anything else.
I've seen lots of posts to this list and others with no subject or a subject
that has nothing to do with the question, but the question was answered
respectfully. So, when I post with a good subject, one that will show up in
a Google search, help me out.
Many lists and groups regularly autopost the guidelines for posting, FAQ,
and relevant howto pages, point me to those when necessary.
Someone used the phrase 'spoon feed' recently. I don't remember who, nor is
it important, but what's wrong with a spoon full of sugar now and then?
And why would you ignore a reasonable question unless you don't know the
answer?
I think the members of this list are mostly doing things the way I would
like to see them done, but I also think we could all do better, eh?
I don't mean to step on any toes, just want to start some discussion.
Does anyone else have any thoughts on why questions don't get the respectful
treatment they deserve?
--
Thanks,
Charles
18 years, 3 months
confused when burning the iso disc...
by Michael Wright
I've very confused when it comes to burning dvd's and software. really need help here ? I have extract the file using winrar:
The files i have is Fedora Images isolinux whats the software to use to burn the disc with ? and what file do i bring in when burning
18 years, 3 months
Re: Max usable disk space
by Jason Ragsdale
I wonder if that would affect me as i am planning on doing 1 raid
device at first, (the 4 300GB's) and making a LVM out of it. Then
adding another device later with the 4 500's and adding in the new LVM
drives into the current group. So i would have >2tb but it would be
spread across 2 raid devices and 8 disks.
-jason
Quoting Mark Haney <mhaney(a)ercbroadband.org>:
> Jason Ragsdale wrote:
>
>> All,
>> I am looking to build a NSF server starting with:
>> 4 x 300GB drives RAID5, and adding 4 more 500GB RAID5 drives later.
>> Is there a max filesystem size limit with fedora core 4? Or are
>> there any other options that may cause me issues later down the
>> road? Thanks in advance.
>> -Jason
>>
> I just found out that fdisk doesn't like raw devices > 2TB. Don't know
> of a way around that limitation, but that's the only one I can think of.
>
>
> --
> Interdum feror cupidine partium magnarum Europae vincendarum
>
> Mark Haney
> Sr. Systems Administrator
> ERC Broadband
> (828) 350-2415
>
> --
> fedora-list mailing list
> fedora-list(a)redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
18 years, 3 months
Eclipse & Oracle10g-EE
by Ali Helmy
Hey,
I need to develop a software for a small company, but I really feel that I
want to make it all based on free-software... The software will include some
code (Duh) which I will write in Java, along with a DBMS...
So, I was thinking of using Eclipse for developing the software, and using
the new free Oracle 10g-Express
Edition<http://www.oracle.com/technology/products/database/xe/index.html>as
the DBMS...
Have any of you tried this combination before? I think I'm settled about
using Eclipse to develop the software, but how about the DBMS? Suggestions?
--
A. Helmy
18 years, 3 months
Memory requirements for graphical install
by Alan
I think the numbers need to change on the amount of memory required to
install Fedora Core 4.
Doing an "install everything" in graphical mode on a 256meg machine fails
with out of memory errors. (It seems to ignore the swap space at that
point, thinking it has enough memory.)
Text install of "everything" works fine on the same machine.
--
"George W. Bush -- Bringing back the Sixties one Nixon at a time."
18 years, 3 months